06-04-2010, 06:02 AM
I want to keep exe small and therefore don't add many functions.
push and pop are really useful but can be easily replaced using code like this
Macro Macro1405
The others are rarely used. They don't require low-level programming (explicit memory allocation etc), therefore you can create user-defined functions to do it.
push and pop are really useful but can be easily replaced using code like this
Macro Macro1405
ARRAY(int) a
int x=5
a[]=x ;;a.push(x)
x=a[a.ubound]; a.redim(a.ubound) ;;x=a.pop()
out x
out a.len
The others are rarely used. They don't require low-level programming (explicit memory allocation etc), therefore you can create user-defined functions to do it.