Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error : Not an array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00526286
Message ID:
00526317
Views:
22
It should be:

local array myArray[1]

or it could be:
local myArray
dimension myArray[1]

>Try this:
>
>LOCAL MyArray(1)
>
>>I have a command: lnresult=Adir(MyArray,"ABC*.*")
>>If I have Local MyArray declared, it comes up with an error..MyArray is not an array, but if I exclude this Local command, it works ok.
>>
>>How do I make My array Local ?
>>
>>Thanks in advance,
>>
>>Gerard
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform