Re: [Phix] ? operator; string behavior

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

The automagic is in the Phix 'print'

print(1, "cat") 
--> "cat" 
puts(1,"ΕίČ░☼□" ) 
--> "ΕίČ░☼□"  
print(1, "ΕίČ░☼□" ) 
--> {195,133,195,159,196,140,226,150,145,226,152,188,226,150,161} 

This makes Phix 'print' fundamentally different from OE 'print'.

Maybe Phix 'print' should have been named 'write' (because it is automagic).

_tom

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

Search



Quick Links

User menu

Not signed in.

Misc Menu