|
cypren Wanderer
Joined: 03 Nov 2000 Posts: 59
|
Posted: Sat Feb 10, 2007 7:17 pm
[1.24] Local variables cannot be direct params to %query |
The topic pretty much says it all.
Code: |
%query((&id=$myLocalVar),MyDB) |
will return blank, but
Code: |
#VAR @myRealVar $myLocalVar
%query((&id=@myRealVar),MyDB) |
works just fine.
So does:
Code: |
#FUNCTION myFunction {%query((&id=%1),MyDB)}
@myFunction($myLocalVar) |
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sat Feb 10, 2007 10:03 pm |
Confirmed.
|
|
_________________ Asati di tempari! |
|
|
|
|
|
|
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
|
|