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
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Feb 01, 2008 3:35 pm   

Odd difference between triggers and events
 
I'm not sure whether to call this a scoping bug or not. But there is definitely an interesting difference between triggers and events.

I have some functions defined in a global module. I am able use those functions in aliases and triggers in other modules. But apparently I can't use the functions in events in other modules. In the package editor, the functions show up in blue. When the event actually fires, the functions get null results.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Feb 04, 2008 8:28 pm   
 
Please provide an specific example that we can test to try and reproduce the problem.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Feb 06, 2008 6:08 pm   
 
Hm. I've tried to reproduce it in a blank session, and functions seem to work fine in events. In my regular session, it is failing with several different functions. I will take a closer look at the session to see what else could be affecting it.
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