Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
The Raven
Magician


Joined: 13 Oct 2000
Posts: 463

PostPosted: Wed Nov 15, 2006 11:25 pm   

[1.15] #ECHOing an undefined $var Crashes
 
Reproduce:

Create an alias called TestCrash. Put this in the contents:

#IF (1) {$undefined=Test}
#ECHO $undefined

If you execute this alias, CMud crashes. Now, the alias is wrong ($undefined is created inside the #IF, and so is not visible from out in the main alias block), but CMud should not crash if it is executed. It should popup the 'bad script' window or something.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu Nov 16, 2006 12:05 am   
 
Confirmed.

One thing to note however if you go to the Compiled Code tab, it shows the script does not compile because of an undefined local variable.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Nov 20, 2006 3:09 pm   
 
Added to bug list.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net