Re: Strings

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu