Peter Gibbs wrote:
Leopold Toetsch wrote:
string_set is currently only used in string_substr, but, when people are
ok with this, can be used everywhere in core.ops, where a string
register is globbered.
The behaviour of the following program has changed, is this correct?
set S0, "test"
set S1, S0
set S2, "another"
substr S0, S2, 1, 3
print S1
print "\n"
end
Yes you are right.
Before:
test
now:
not
The questions are (and this is IMHO the same problem with PMCs):
- set vs assign
- what should this program do
leo