[phix] about 'string' design?

new topic     » topic index » view thread      » older message » newer message
string str1 = "hello" 
string str2 = { 'h','e','l','l','o' } 
string str3 = {104,101,108,108,111} 

str2 and str3 give a type-check error

but

? str1 =  { 'h','e','l','l','o' }  // true 
? str1 = {104,101,108,108,111}     // true 

What is the language design choice behind this behavior?

be well
_tom

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

Search



Quick Links

User menu

Not signed in.

Misc Menu