Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a function in FOR... ??
Message
From
26/01/2000 20:27:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Using a function in FOR... ??
Miscellaneous
Thread ID:
00323304
Message ID:
00323304
Views:
45
I have a function in the following code that Fox interprets as an array and throws the error "invalid subscript":

Set Proc to Sysproc
Append from table.dbf for ctod2k(paydate) > dPay

Ctod2k is a function in sysproc.prg .

adte = ctod2k(paydate) works OK.

Is there a way to get Fox to recognize ctod2k as a function and not an array? Seems to only happen in a filter or a FOR... clause.
TIA
Next
Reply
Map
View

Click here to load this message in the networking platform