Author Topic: BlockDoc - A Blockland coding wiki  (Read 6263 times)

"Fields work like words except that they are seperated by TAB characters instead of spaces. This is often much more useful for the purpose of separating data that will be used by code but not viewed by anyone."
[citation needed]

I've been adding some more functions to the wiki too

oh wow i never knew simobject::save was ever a thing
this is super useful

also i have no clue how you're going to doc consolelogger. that thing is the torque script enigma
« Last Edit: July 02, 2015, 07:47:28 PM by Gytyyhgfffff »

"Fields work like words except that they are seperated by TAB characters instead of spaces. This is often much more useful for the purpose of separating data that will be used by code but not viewed by anyone."
[citation needed]

I've been adding some more functions to the wiki too
fields can also be separated by \n or NL iirc

working on a better layout for function pages
http://pecon.us/wiki/BlockDoc/index.php?title=User:TheBlackParrot

pls add anything that might need to be considered

fields can also be separated by \n or NL iirc
nope, fields are just \t (\n is the same as NL)

I noticed that a lot of functions were missing their type signatures so I made a list of all default blockland functions defined in torquescript. The only thing missing are return types but those can be figured out pretty easily. Obviously this doesn't include default engine functions, but it's easier to find out their arguments. This is basically just the result of regular expressions on the decompiled result of all the dsos, so if there's mistakes just ignore them.
« Last Edit: July 05, 2015, 09:42:56 PM by Val »

nope, fields are just \t (\n is the same as NL)
na (also ya that's what the intention of the 'or' was supposed to be but it was ambiguous oops)

http://docs.garagegames.com/tge/official/content/documentation/Reference/Console%20Functions/TorqueScript_Console_Functions_3.html#getField.28_sourceString_.2C_index_.29

Code: [Select]
==>$str = "some" NL "kind" TAB "of" SPC "string";
==>echo(getField($str, 1));
kind

Here's DC4F's: http://bldocs.nullable.se/html/

You can probably pull from there or whatever.


I'm so terrified someone's going to come through and mess everything up lol

I'm so terrified someone's going to come through and mess everything up lol
Can't you just delete changes made by a specific user?

Can't you just delete changes made by a specific user?
true

Would miscellaneous non-default functions count as something that can be added, if we provide the source for the function?

That should be fine if you make a specific page dedicated to only non-default functions.

Would miscellaneous non-default functions count as something that can be added, if we provide the source for the function?

Maybe you can have a section for example code snippets/resources?

On a roll. Written 5 so far.