Re: Standard Lib Func for string type?

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

Ok, the v4 standard library (std/types.e) now also has the types ...

  • ascii_string
  • string
  • sequence_array
-- examples 
ascii_string AS 
AS = "abc" -- ok 
AS = {65, 89, 201} -- fails as 201 is not an ASCII character. 
AS = 'a' -- fails (not a sequence) 
AS = {65, 89, 100.2} -- fails as 100.2 is not a character. 
AS = {"abc"} -- fails 
 
string STR 
STR = "abc" -- ok 
STR = {65, 89, 201} -- ok 
STR = 'a' -- fails (not a sequence) 
STR = {65, 89, 100.2} -- fails as 100.2 is not a character. 
STR = {"abc"} -- fails 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu