I’ve been scripting for years and I still see surprising code. For instance (from the post Applescripting Finder Windows):
if numItems * 7 then-- minimum size
set size2variable to {size2}else
if numItems * 24 then-- maximum size
set size2variable to ((24 * 18) + 72)else
set size2variable to ((numItems * 18) + 72)
end if
end if
It compiles with AS 1.4.3 on OS 9, but it won’t run because numitem*7 does not evaluate to a boolean. Yet the poster claims the script runs, except for a different flaw. So: how many versions of applescript are there?
This is probably a non-ASCII incompatability problem - a case of what looks like one of the comparison operators in the poster’s software being interpreted as an asterisk either by the server our by our own software.