You might try testing this with a simpler program to see what is going
on. You should also try Execute and ExecuteGlobal, which have different
(and poorly documented) scoping rules.
>Hi All,
>
>I'm creating arrays based on my form names on the fly using NSExecute.
>Form names are read from a text
If you're doing repeated updates to an existing program on the device,
use the "Update App on device" option (F6). It's faster.
Also, Start (F5) does not auto start the app.
I'm not sure what the memory usage issue is. I believe that the Window
Mobile OS may wait till garbage collection is needed
Have a look at the TCPClient and TCPServer samples which come with NS Basic.
You could modify the TCPServer sample to send the requests from
TCPClient to MySQL, then return the results.
>Need help how to connect/access MySQL Server from NS-Basic (using WM5)?
>Thanks
>
>
>
>---
Hi George,
I made this simpler program this morning. It repeats the same functionality,
but without all the background stuff going on, with the same result. Just
attach it to a form with a single command button. If I change the NSExecute in
_Load to an executeglobal, the redim in the _Click
Hey George,
I think I might have just found the issue. Being the inital dim is setting an
array of fixed size, the redim apparently can't resize that. If I initialize
the variable as a non-array, then the redims work fine and can happen as many
times as needed.
Shaun
--- In nsbasic...@yahoo
Sounds good!
>Hey George,
>
>I think I might have just found the issue. Being the inital dim is
>setting an array of fixed size, the redim apparently can't resize that.
>If I initialize the variable as a non-array, then the redims work fine
>and can happen as many times as needed.
>
>Shaun
>
>--