Re: Strings
- Posted by Kat <KSMiTH at PELL.NET> Dec 10, 1999
- 683 views
There is a war over strings? ----- Original Message ----- From: Michael Nelson <mike-nelson-ODAAT at WORLDNET.ATT.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, December 10, 1999 1:04 AM Subject: Strings I really want to stay out of the war over strings, but I thought I'd share the string type I use--easier to read than the others I've seen in these posts, but should be comparably efficient: global type string(object theObject) object temp if not sequence(theObject) return 0 end if for i=1 to length(theObject) do temp=theObject[i] if not integer(temp) or temp<0 or temp>255 then return 0 end if end for return 1 end type --Mike Nelson