Page 1 of 1

OffsetOf() should work on all structures.

Posted: Thu Jun 26, 2025 7:28 am
by pjay
Currently OffsetOf() only works on flat structures, please extend to work with all defined structures, thanks. (or adjust the documentation to specify flat structures only?)

Code: Select all

Structure sPerson
  Name.s
  ForeName.s 
  Age.w 
  Statistics.point ; width / height (cm)
EndStructure

Debug OffsetOf(sPerson\Statistics\x)