Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax error - Urgent!
Message
From
12/02/2001 16:50:53
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00475084
Message ID:
00475093
Views:
40
Hi!

I guess no, but you're calling app that might have differences. To be sure try to put .F. on that place (skipped parameters will contain .F. anyway in the called procedure).

In addition, inside '[]' brackets include file constant definitions are processed, so strings there might be replaced by something. For example, when you have somewhere in the code following definition

#define curState 1

you will probably get error even when command looks correct. Try to use '""' instead of square brackets.

HTH.

>Hi everyone,
>
>I have "Syntax error" on this line of code (not my application):
>&cmd.
>
>cmd=[do stats.app with 'run', '2YearsRpt', 'vAllConfigs','\redp\dbc\'+oJC.curState+'\'+oJC.curState+'Stats',ojc.outtable,oJC.CalYear, , oJC.ccode, oJC.CalPeriod]
>All oJC properties have thier values:
>oJC.outTable="redp\Putput\Stats\Harford"
>oJC.curState="CT"
>oJC.CalPeriod="12"
>oJC.CalYear="2000"
>oJC.ccode="31"
>
>Could it be a problem, what one parameter is skipped?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform