Blockland Forums > Modification Help
Iban Explains it All
<< < (2/39) > >>
Iban:

--- Quote from: Space Guy on February 27, 2011, 04:14:10 PM ---Very well made. I'll make sure to link random people to these whenever it's relevant.

For "operators and variables", one interesting thing non-existant arrays can do that you can't do normally is use variables with spaces or accented letters:

$foo["two words"] = "hello";
==> echo($foo["two words"]);
hello
==> echo($footwo words);
Syntax error in input

This does mess up if you try to export it, though.

--- End quote ---

That is the quirkiest thing I have ever seen in the engine, and Torque has some serious quirks.

$X["1 2"] = 3;
export("$X*", "config/$X.txt");

The contents of $X.txt are:


--- Code: ---$X1 2 = "3";
--- End code ---

Which, as you said, if executed causes a syntax error. That's an untouched script generated by the engine causing a syntax error within itself. Amazing. Torque makes me giggle sometimes.
Iban:
Guide on Packaging added.
otto-san:
Very nice. Keep it up. C:
-Jetz-:
I thought the datablock limit got raised to 4096 somewhere along the way.
Iban:

--- Quote from: -Jetz- on February 28, 2011, 08:44:08 AM ---I thought the datablock limit got raised to 4096 somewhere along the way.

--- End quote ---
If you can find a reliable source that says that I will gladly raise the limit.

Edit: Manty found the changelog. It is indeed 4096.
Navigation
Message Index
Next page
Previous page

Go to full version