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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Tech
GURU


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

PostPosted: Sat Nov 22, 2008 6:05 am   

[2.37] Weird Bug
 
Here's backlogged bug I had to report. I would have just sent it in, but all my attempts are failing. Oddly enough my firewall logs say they are sending the packets... at any rate

I had the following code
Code:
#LOCAL list
$list="Hello Zugg"
#echo $list


Nothing displayed. When I changed it to proper syntax

Code:
#LOCAL $list
$list="Hello Zugg"
#echo $list


It displayed as expected. Either the first #LOCAL should be treated as a syntax error or the variable should display.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Sat Nov 22, 2008 4:46 pm   
 
Added to bug list.
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Sun Nov 23, 2008 7:21 pm   
 
Of course, I find first coding more natural. To me #LOCAL $list seems redundant.
_________________
Sic itur ad astra.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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