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
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Sun Mar 30, 2008 4:35 pm   

Problem with #LOOPVIEW
 
As a test I ran the following script:
Code:

#LOOPVIEW Portals|ax {#ECHO eploc = &PortalEntryPoint}


The result was:

Portals |ax
Portals |ax
Portals |ax
Portals |ax
Portals |ax
Portals |ax
Portals |ax
Portals |ax

It so happens that there are 8 records in that view. However, changing the view to All made no difference. #LOOPVIEW evidently understands which view I want because if I close the database, the script returns blanks. The output then is not echoing the requested view, but doing something else. Notice the blank between the viewname and the "|" in the output. I modified the script to use %viewrec and it displayed the data as requested.
It is my experince that specifying viewname|dbid does not always work as stated in the help files, but this is going somewhat beyond the pale.

EDIT:
I re-ran the test with no commands, i.e:
Code:

#LOOPVIEW Portals|ax {}


With no variation in the result.
_________________
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