Restored from previous forum. Originally posted by tinman.
Like SizeOf() but gives you the offset of a field in a structure.
e.g. offset.l = OffsetOf(mystruct\myfield)
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)
[Implemented] OffsetOf()
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm