Post Reply 
REPLACE Doesn't.
04-01-2017, 12:25 AM
Post: #9
RE: REPLACE Doesn't.
(03-31-2017 05:25 PM)Dieter Wrote:  
(03-31-2017 02:15 PM)toml_12953 Wrote:  Ah! I didn't realize that even parameters in predefined functions are passed by value.

Does this mean that this...

Code:
x:="apple pie";
x:=replace(x, "apple", "orange");
print(x);

...actually works on the Prime?
And what about your original example and x:=replace(x, " ", "0") then?

Dieter,
just curious. ;-)

Yes! I can now have my orange pie. and I get 00009 with that replace.

Tom L

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
REPLACE Doesn't. - toml_12953 - 03-31-2017, 01:40 PM
RE: REPLACE Doesn't. - Dieter - 03-31-2017, 01:48 PM
RE: REPLACE Doesn't. - toml_12953 - 03-31-2017, 02:06 PM
RE: REPLACE Doesn't. - Han - 03-31-2017, 02:10 PM
RE: REPLACE Doesn't. - toml_12953 - 03-31-2017, 02:15 PM
RE: REPLACE Doesn't. - Tim Wessman - 03-31-2017, 03:59 PM
RE: REPLACE Doesn't. - Dieter - 03-31-2017, 05:25 PM
RE: REPLACE Doesn't. - toml_12953 - 04-01-2017 12:25 AM
RE: REPLACE Doesn't. - eried - 03-31-2017, 01:53 PM



User(s) browsing this thread: 1 Guest(s)