 |
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: Fri Jun 11, 2010 2:19 am
[3.19] BUG: Access violation with #var |
I get an 'Error parsing command: Access violation' error with the following script:
Code: |
testvar = %null
#2 {
#VARIABLE {testvar} %additem( "blah", @testvar)
#VARIABLE {testvar.test} %additem( "blah", @{testvar.test})
} |
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Fri Jun 11, 2010 3:48 pm |
Confirmed.
|
|
_________________ Asati di tempari! |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Jun 11, 2010 5:42 pm |
Btw, it doesn't effect the bug, but you don't need to put the variable name within {}. Also, the #2 is not needed to reproduce the crash. I get the crash with just:
Code: |
testvar = %null
#VARIABLE testvar %additem( "blah", @testvar)
#VARIABLE testvar.test "blah" |
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Jun 11, 2010 5:55 pm |
This was related to the issue about converting a string list into a database variable. The last line is adding a key to a string list, which causes the list to be converted to a keyed table. So it was related to the bug talked about in the other thread with #SHOWDB.
|
|
|
 |
|
|