Hi you could try integerP(yourVariable) : returns TRUE or FALSE, you've also stringP(youVariable)
other way is to use #ilk: if (ilk(val) = #string) then -- blah blah is the same then if stringP(val) then -- ... > I need to get, an if statement to determine > if the variable is a string or a value, any quick answer to this one. > > Thank you, > Matt Wells > > Val = 123 > if val = string then > Put "Its a string" > else > Put "its a value" > end if hth, .s�b [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
