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
Illusion25
Newbie


Joined: 29 May 2018
Posts: 4

PostPosted: Sun May 19, 2019 12:21 am   

SQLDB - zScript command line parsing problem
 
I have a simple sqlite 3 database with table Players and column Name

The problem I have if i paste this alias to command line:

#ALIAS {test} {
row=%sql(GroupDB, "SELECT * FROM Players")
#WHILE (!@row.Eof()) {#SHOW Name: @row.Item("Name");#CALL @row.Next}
}

In Package Editor the test alias show like this:

row=%sql(GroupDB, "SELECT * FROM Players")
#WHILE (!@row.Eof(85)) {#SHOW Name: @row.Item(85);#CALL @row.Next}

Note the value 85 in Eof and row.Item (sometimes i got a value of 100)

Any solution for this ?

Thank you in advance
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