Re: Standard Lib Func for string type?

new topic     » goto parent     » topic index » view thread      » older message » newer message
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 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu