Page 1 of 1
GetType(val) returns me values instead of #TABLE...
Posted: Sun Dec 02, 2012 6:20 pm
by Bugala
Code: Select all
Function p_HighlightPackage(key, info)
singlepackage = key
type = GetType(singlepackage)
DebugPrint(type)
this piece of code in my code keeps returning me values of 2 and 3.
Is this supposed to work this way or is this a bug? For as far as i read from documentation about getval command, i understood that i should be getting values like #TABLE, #STRING from this.
I used Hollywood 5.2 Windows for this.
Re: GetType(val) returns me values instead of #TABLE...
Posted: Mon Dec 03, 2012 3:14 pm
by airsoftsoftwair
Um, you do know that #TABLE, #STRING, etc. are just constants? Try:
Re: GetType(val) returns me values instead of #TABLE...
Posted: Mon Dec 03, 2012 3:39 pm
by Bugala
ah. okay. That explains it. I Understood wrong from the documentation. Thought it would give them as #TABLE etc. instead of numbers.