Ok, trying to write a decent scripting system with blitzmax (so far so good), however when the arguments are evaluated in a function call (any type of function be it user defined or language specific), are the arguments evaluated from right to left? Can that be counted on?
I know one shouldn't rely on that sort of thing, however I would like to have user refferenced functions between the script and the actual program, and to make things simple I want to do something like:
Where the GetInt,GetString,GetFloat are merely tie-in functions for the (x86 style) push/pop stack...
Can one assume that this will always getfloat first, then getstring, then getint and THEN pass them all to the function?
Thanks,
I know one shouldn't rely on that sort of thing, however I would like to have user refferenced functions between the script and the actual program, and to make things simple I want to do something like:
select functype case 1 myfunc(Getint(),GetString(),GetFloat)) end select
Where the GetInt,GetString,GetFloat are merely tie-in functions for the (x86 style) push/pop stack...
Can one assume that this will always getfloat first, then getstring, then getint and THEN pass them all to the function?
Thanks,