View previous topic :: View next topic |
Author |
Message |
danilda KiXforms Follower

Joined: 20 Jul 2007 Posts: 16
|
Posted: Wed Aug 01, 2007 2:54 pm Post subject: Undefined variable |
|
|
I keep getting the error undefined variable where I am attempting to set up an array list. I thought it might be because of the characters in the array, but it runs fine when I take this piece of the code out and run it by itself. Can someone please let me know what I am doing wrong. Have attached the file with the entire script. Any suggestions on finetuning the script are welcome also. Thanks -- Dee
Description: |
|
 Download |
Filename: |
help.kix |
Filesize: |
9.59 KB |
Downloaded: |
1555 Time(s) |
|
|
Back to top |
|
 |
Shawn KiXforms Developer


Joined: 22 Feb 2003 Posts: 1983 Location: Canada
|
Posted: Wed Aug 01, 2007 3:42 pm Post subject: |
|
|
You have a line-number for the undefined variable ?
|
|
Back to top |
|
 |
danilda KiXforms Follower

Joined: 20 Jul 2007 Posts: 16
|
Posted: Wed Aug 01, 2007 4:21 pm Post subject: |
|
|
Shawn:
It is line 256, but I think I figured out what the problem was. I had to add the variables using dim. It worked before without doing that, but once I did, then everything appears to be fine. Thanks for the quick response. If you still want to look at the script and suggest any fine-tuning, that would be appreciated.
thanks -- dee
|
|
Back to top |
|
 |
Sealeopard KiXforms Aficionado


Joined: 05 Mar 2003 Posts: 436 Location: Boston, MA
|
Posted: Sat Aug 04, 2007 11:47 am Post subject: |
|
|
See the KiXtart Manual under SETOPTION('Explicit','ON')
_________________ Jens
'There are two kinds of vessels, submarines and targets.' |
|
Back to top |
|
 |
|