Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compilation problems
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00529517
Message ID:
00529522
Views:
9
Add EXTERNAL ARRAY command to your procedure as shown below. If it wouldn't help than replace EXTERNAL ARRAY taSource,taDestin with
IF .F.
    DIMENSION taSource[1], taDestin[1]
ENDIF
>This function below is in a procedure file in a project. When I build the exe, I get 2 warnings saying it can't locate "taSource" and "taDestin". It still compiles correctly, but is there a way to avoid this?
>
>*****************************
>FUNCTION CreateFileDateArray
>*****************************
>PARAM taSource,taDestin
EXTERNAL ARRAY taSource,taDestin
>LOCAL i,lcString
>FOR i = 1 TO ALEN(taSource,1)
> taDestin[i,2] = taSource[i,1]
> lcString = SUBSTR(taSource[i,1],AT("_",taSource[i,1]) + 1,8)
> taDestin[i,1] = ParseArrayDate(lcString,"99/99/9999",.F.)
>ENDFOR
>ASORT(taDestin)
>RETURN .T.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform