a couple of curios
Martin Baxter
mblivecode at harbourhosting.co.uk
Wed Jan 22 15:52:02 EST 2014
While reviewing some old scripts that have been in regular use but not
actually edited for some time I came across:
put ".js" after in jsfname
And was surprised it compiled but it does, it even works
on mouseUp
local tmp
put "do " into tmp
put "what?" after in tmp
put tmp
end mouseUp
## Output = "do what?"
Maybe "in" is being ignored by the compiler as a bit of "superfluous
cosmetic english"
############
And also the construct:
put "string" onto var
Not totally surprised that it compiles, but it surprised me to find that
it actually works:
on mouseUp
local tmp
put "safe" into tmp
put "woops" onto tmp
put tmp
end mouseUp
>> Produces "woops"
Martin
More information about the use-livecode
mailing list