![]() |
2 functions ?
Is ok to set a function within a function?
NPC Code: |
Yes. It helps clean up code a lot that way.
|
See what I am gonna have it do is have it add each token indivually to the string.
|
I did that once, and I got a bunch of nasty commas. =( Since my tokens were one character long, I just wrote something that took out every other character...
|
i thing the formating of a script is better to use some function in function for menues or other big scripts because itz better to a add a function to hide some images as u add the part 20times in a script or so :)
|
hmmm Kaimetsu said something about rekursion not working in the next version of gscript O_o
but at the moment it perfectly works ^.^ |
Quote:
hmmm no you are right no recursion inside this script... need to watch stuff longer... |
Recursion is basic calling a fuction withing a function, if you don't have some sort of end to it, or a sleep timeout, you could be a very very sad person...
However, all that happens is Graal dies after a certain amount of runs, Kaimetsu, do you know how many? |
Quote:
|
Recursion...
NPC Code: |
| All times are GMT +2. The time now is 02:17 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.