Integer functions return values in the eax register. This code makes no sense:
Function f() as Int
{
Dim Int result At @f
'...
result = 42
}
The standard string type is 'string' which contains a garbage-collected bstring. But you can use bstrings directly if you do your own garbage collection.
inlimits macro function accepting all types:
macro inlimits int(r, a,min,max) ================================= r=-1 if a<min then r=0 if a>max then r=0 end macro
PS: abs(..) requires brackets
Bookmarks