Re: Small Problem
- Posted by Sabal.Mike at notations.com Jun 27, 2002
- 365 views
Use: if atom(temp) then ... the gets() function returns a sequence for data, and an atom for no data. Alternately, you can also do this to avoid the type-check errors in the first place: if sequence(temp) then doodah = temp[1..n] end if HTH, Michael J. Sabal >>> president at insight-concepts.com 06/25/02 05:09PM >>> If I use: if temp=-1 then .ect..ect.... I get an error: true/false condition must be an ATOM Any suggestions from preventing the type_check error? Thanks, Chris