Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What would take precedence?
Message
 
 
To
23/04/2009 12:34:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01396091
Message ID:
01396097
Views:
58
Hi Craig,

I checked the line of code in Call Stack and it says do co_item with ....

So, it it supposed to call prg but it calls SPR instead.

Any ideas of how to fix it (of course, we can add do Co_item.prg, I guess)?

>It's been a while since I worked with 2.6, but if I remember correctly, you had to specify .spr or .mpr to run them, so DO MyProg will will the .prg. To run the .spr, you use DO MyProg.spr or for the menu DO MyProg.mpr.
>
>
>>Hi everybody,
>>
>>I'm helping with the old-style project (converted from FoxPro 2.6). It has many files named the same (.prg and .spr, .prg and .mpr). Once in a while during testing in IDE the SPR or MPR seem to execute instead of PRG. Is there any way to control what is executed first? Also the project has both included into it, but this problem only seems to be in IDE testing.
>>
>>What do you think?
>>
>>Thanks in advance.
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