Oxygen Basic
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest OxygenBasic.zip at GitHub
(Click on the Wizard)
Home
Help
Search
Login
Register
Oxygen Basic
»
Programming
»
Problems & Solutions
»
SizeOf
« previous
next »
Print
Pages: [
1
]
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
»
Logged
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
Logged
Print
Pages: [
1
]
« previous
next »
Oxygen Basic
»
Programming
»
Problems & Solutions
»
SizeOf