Author Topic: SizeOf  (Read 1855 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
SizeOf
« on: October 03, 2011, 03:01:45 PM »
Deleted....
« Last Edit: May 05, 2015, 12:22:08 PM by Peter »

Charles Pegge

  • Guest
Re: SizeOf
« Reply #1 on: October 03, 2011, 04:18:09 PM »

To get the number of elements declared in a static array use spanof

To get the length of a static array: spanof x * sizeof x

Note: when passing whole arrays to a function the spanof info is not included so this has to be passed explicitly.

Charles