at 02.01.2002 20:12 Uhr, Matt Wells wrote:

> Val = 123
> if val = string then
> Put "Its a string"
> else
> Put "its a value"
> end if 

HI MATT,

why not:

if stringP(val) then
  put "Wow - a string"
end if

or the other way round:

if integerP(val) then
  put "cool - an integer"
end if


-- Andy Fuchs
-- silent movie media
-- mailto:[EMAIL PROTECTED]
-- http://www.silent-movie-media.com


[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!]

Reply via email to