|
NowhereMan Beginner
Joined: 09 Dec 2004 Posts: 10
|
Posted: Thu Dec 09, 2004 9:42 pm
#ShowDB not working (no output) |
i have 7.05 on windows xp (no sp2)
#showdb has no output
e.g.
#VAR Tmp %addkey(%addkey("",one,1),two,2)
#showdb @Tmp
nothing happens!
is this something i messed up by fiddling with preferences, etc?
anybody know how to fix it? |
|
|
|
Vorax Apprentice
Joined: 29 Jun 2001 Posts: 198 Location: USA
|
Posted: Fri Dec 10, 2004 12:22 am |
I've had that kind of problem myself. Using %expanddb usually produced some output even though #SHOWDB didn't.
|
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Fri Dec 10, 2004 3:41 pm |
I can't see a problem. #showdb works perfectly fine for me on 7.05, using that example you provided. Quite probably, when you are using the line:
#VAR Tmp %addkey(%addkey("",one,1),two,2)
It is putting the Tmp variable into a class folder, so when you use #showdb @Tmp it can't find the @Tmp variable outside of the folder, so it shows nothing.
Try it this way:
#VAR Tmp {%addkey(%addkey("",one,1),two,2)} "" ""
#showdb @Tmp
And it'll probably work. |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Mon Dec 13, 2004 4:11 pm |
If you disable "Echo messages" in your Script Parser preferences, the #SHOWDB command has no output. To get around this, you can use #LOOPDB and provide your own formatted output commands with #SHOW or some similar command.
|
|
|
|
|
|
|
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
|
|