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
makena
Apprentice


Joined: 11 Aug 2006
Posts: 100

PostPosted: Thu Oct 19, 2006 7:54 am   

Stack frame corruption with focus char in #if
 
#alias TestDo {#if (%numParam() = 0) {TestChar:} {:TestChar:%params}}


alias works fine, incept then i add "Testchar:" into the true part.

if I change it to anything else, no stack frame corruption.

focus char problem?

I tried other expressions too...
(%len(%1)=0) etc, no change, works if i don't try using the focus char in that way
Reply with quote
makena
Apprentice


Joined: 11 Aug 2006
Posts: 100

PostPosted: Thu Oct 19, 2006 8:14 am   
 
works if i replace it with the following:

#if (%numParam() = 0) {TestChar:%null} {:TestChar:%params}
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Oct 19, 2006 4:45 pm   
 
What are you trying to do with the {TestChar:} command? If you are just trying to switch to that window, use the "#WINDOW TestChar" command. Otherwise it doesn't make much sense to use the "Windowname:Text" syntax when Text is null (although it probably shouldn't give this kind of error)
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