You are not logged in.
I'm in the process of writing a library of scripts that utilize any and all GM syntax quirks.
For example, one quick I found was that you could leave semi-colons out of the for loop, which let me to create a very-close-to foreach loop in GML. It ended up looking like this:
for(each(list) as key_value())
It works for files, too
for(each("hi.txt") as key_value())
Now I need to know ANY quirks with the language, even if you think they're useless. For example, being able to set/get any variable name with variable_local_set/get, even symbols... Or being able to use _ as a variable/resource name..
FYI, this is for gQuery.
Offline
Whoa! That's a pretty powerful set of scripts.
I have to admit I'm a little baffled by your "for" construct. That's GML? With the "as" keyword?
I'd look over the GM Bugs and GML References forums here for any topics about GM quirks.
Abusing forum power since 1986.
Offline
Yes it's standard GML taking advantage of some little GM quirks. I need MORE quirks to take advantage of!
I looked through those forums, and I'm still scouring for some quirks.
Thanks btw.
Offline