Re: Phix wiki 3
- Posted by petelomax Jan 27, 2021
- 864 views
sequence x = "hello" x[4..3] = { "###" } -- creating a nested sequence ? x // {104,101,108,"###",108,111} pp(x,{pp_IntCh,-1}) // {'h','e','l', `###`, 'l','o'}
And, at least grammatically,
argument are passing by-value
should be
arguments are passed by value
if not
arguments are passed by value (actually copy-on-write references: the efficiency of pass-by-reference but with the behaviour of pass-by-value)