 |
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sat Nov 25, 2006 7:24 pm
[1.16] User Defined functions still broken |
I've already sent feedback on this but. The user defined functions still are not working properly. They do not work in the value of buttons, do not work inside other pre-defined functions, and they work, but not properly inside If statements.
#if @staget(bal) {Do this} {Do That}
Compiles
#if @staget(bal)) {Do this} {Do That}
Compiles
#if (@staget(bal) and (1=1)) {}
Syntax Error
#if (@staget(bal)) {Do this} {Do That}
Does not compile, syntax error
#show %num(@staget(bal))
Parse Error Unmatched parenthesis.
#show %eval(@staget(bal))
Parse Error Syntax Error
Ect ect with the pre defined functions.
I was unable to get them to work in the Value of buttons. Or of gauges as well. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Nov 25, 2006 7:31 pm |
Confirmed and added to bug list.
Although I should mention that %num isn't a valid function, and the error message from the parser is still screwed up (says unmatched paren instead of invalid function name).
Anyway, looks like something got screwed up in the release. I had gotten user functions working, but some other bug fix must have caused them to break again. |
|
|
|
 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|