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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Grumpy
Beginner


Joined: 24 May 2004
Posts: 10

PostPosted: Wed Jul 26, 2006 11:38 am   

Problem accessing alias in subdirectory
 
Why does this work:
#VAR dbitemrs @Conn.Execute( "SELECT * FROM Items WHERE Name = '%0'")
#ECHO dbitemrs.GetString

while the two sets below do not?
1.
#VAR FL/dbitemrs @Conn.Execute( "SELECT * FROM Items WHERE Name = '%0'")
#ECHO @FL/dbitemrs.GetString

2.
#VAR FL/dbitemrs @Conn.Execute( "SELECT * FROM Items WHERE Name = '%0'")
#ECHO @dbitemrs.GetString

Differences are highlighted in red.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Jul 26, 2006 11:05 pm   
 
Very likely when the class character was added no one tested it with COM calls and it may be a bug. You may have just found a rather old bug, use the full #VARIABLE syntax to define the class.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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