General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>There are times it may exist, and it may not. Most locations in the app referencing the array only run code if it exists as an array. The problem is only during the build of the app or exe. It runs fine with the check for type() in the runtime. Using external array should work, but for some reason it bombs when building the app still. I don't want to dimension it because if it doesn't exist, then I don't want to run the code IF TYPE('alen(gaarray,1)')="N"
In old FPW times you could fool the PJM
if .f.
dimension gaArray[1]
endif
IF TYPE('alen(gaArray,1)') <> "N"
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only