 |
atpeace Novice
Joined: 26 Jan 2009 Posts: 32
|
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Mon Jan 26, 2009 11:25 pm |
That syntax is extremely obscure. After a quick racking of my brain I can't even recall where it is documented, but I know there was 1 reference to it in zMud's help, and should still work in CMud as that part of the zScript language hasn't changed.
It of course only applies when you are using the database module, and have retrieved a record into the %rec predefined variable using using #DBGET. As long as that is how you are actually trying to use it then it should work; and you can also do #ADDKEY {%rec} {key} {value}. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Jan 27, 2009 2:56 am |
That syntax is not supported in CMUD. Vijilante is correct about the work around, although I think the syntax is actually:
#ADDKEY %rec {key} {value}
(no {} around the %rec part)
I think you can also do:
#VAR %rec.key {value}
and possibly
%rec.key = value
but I haven't tried it to be sure. But the &Key=Value syntax definitely won't work, sorry. |
|
|
 |
|
|