Please enable JavaScript to view this site.

A-Shell Consolidated Reference

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.

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$
Introduction to Dynamic Structures

History

2022 February, A-Shell 6.5.1711:  Function added to A-Shell