 |
Virus Wanderer
Joined: 29 Jun 2002 Posts: 69 Location: USA
|
Posted: Mon Jul 01, 2002 10:32 pm
Default() |
Is there a function in ZMud similar to the function Default on mux? I.E.
default( @DI, 0)
Meaning if DI has no value or there is no variable DI, a 0 is returned instead? Having nothing return kinda hurts code work.
Richard Powell
Mux Alias: Virus
2796 Wizard Staff
64.89.10.1 port 2796
Rich@gigdev.com |
|
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Mon Jul 01, 2002 11:14 pm |
No, but you can do the same thing with:
%if(@DI, @DI, 0)
Kjata |
|
|
|
 |
|
|
|
|
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
|
|