Re: Strings and the like.
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Dec 08, 1999
- 539 views
Hello, Lucius L. Hilley III wrote: > What if something like these were built-in? > >----------------------------------- >type whole_number_set(sequence s) > for A = 1 to length(s) do > if (s[A] = floor(s[A])) then > return 0 > end if > end for > > return 1 >end type >----------------------------------- dont you mean: if (s[A] != floor(s[A])) then -- or ^ if not (s[A] = floor(s[A])) then ^ Correct me if I'm wrong, but dont you only want to return zero if the char is NOT equal to the char floored? later, Lewis Townsend ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com