# .DYNOFFSIZ()
> [HTML Version](dynoffsize().htm)
_Added February 2022_
**.DYNOFFSIZ\$(ds.member)**
**.DYNOFFSIZ\$(ds.@member\$)**
.DYNOFFSIZ() is equivalent to .OFFSIZ\$() except that it operates at run time instead of compile time and works exclusively for DYNSTRUCT members.
In both variations, ds should be either an mapped instance of a structure, or the structure definition name from the defstruct. The difference between the two variations is that in the first case, _member_ must be an actual reference to a member of the specified structure, whereas in the second case _member\$_ should be a string variable whose value matches a member of the structure. See [Dynamic Structure Reference / Usage](referenceusagedynamic.htm.md) for more details.
The return value is a string of the form "x~y" where x is the offset from the based of the ds DYNSTRUCT to the specified member (base 1), and y is the size of the member in bytes. As with .OFFSIZ\$(), the function is mainly useful in conjunction with XTREE.
**See Also**
• [.OFFSIZ\$()](offsiz$().htm.md)
• Introduction to Dynamic Structures
• [MX\_DYNSTRUCT](mx_dynstruct.htm.md)
**History**
2022 February, A-Shell 6.5.1711: Function added to A-Shell