![]() |
Editing params
Would it be possible for this feature to be added:
PHP Code:
PHP Code:
|
Would be nice. And useful in some cases.
|
You could produce those outputs in the function itself...
|
Quote:
|
PHP Code:
Put it this way: You can't act on the variables themselves because they do not have a name (yet). If anything, the result of that would be the variable name being the outcome of the function itself. |
Quote:
|
Sometimes it is better to use more script lines when it improves the readibility of the script. So it would be better to write moneyValue = int(moneyValue); in the next line instead of adding some hacky way of manipulating it directly in the function header. In some programming languages you can define conditions for the input variables, although it is probably more easy to write those checks at the beginnig of the function.
|
| All times are GMT +2. The time now is 09:52 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.