BSL:Functions: Difference between revisions

Line 39: Line 39:
** If you call a second function from inside another function, the second function will be executed til its end and then the rest of the first function gets executed.
** If you call a second function from inside another function, the second function will be executed til its end and then the rest of the first function gets executed.
** You can call a function recursively, but only up to about four times, then the script execution stucks for some reason (maybe intentional to prevent endless loops?).
** You can call a function recursively, but only up to about four times, then the script execution stucks for some reason (maybe intentional to prevent endless loops?).
** BSL doesn't allow function name overriding even if the parameters are different (in java you can for example).
==Multithreading==
==Multithreading==
Put usage of <tt>fork</tt> here.
Put usage of <tt>fork</tt> here.
489

edits