Re: Standard Lib Func for string type?
- Posted by DerekParnell (admin) Apr 20, 2009
- 860 views
euphoric said...
Is there a function or type definition in the standard library for a string type?
In the V4 standard library (std/types.e) there are currently the types ...
- t_ascii - All elements must be integers in the range 0-127 inclusive.
- t_bytearray - All elements must be integers in the range 0-255 inclusive.
I will add a couple more later today ...
- t_intarray - All elements must be integers.
- t_atomarray - All elements must be atoms.
- t_seqarray - All elements must be sequences.
-- example include std/types.e t_bytearray myString myString = "abc def" -- ok myString = {"abc def"} -- fails