Re: [Phix] ? operator; string behavior
- Posted by _tom (admin) Nov 07, 2017
- 1164 views
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