Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stored procedures information.
Message
From
10/06/2005 10:31:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01022128
Message ID:
01022151
Views:
13
>Here is an example...
>
>IF _triggerlevel=1
>   DO riend WITH .F.
>ENDIF at the end of the highest trigger level
>
>
>There is some text after the ENDIF, I made the change you suggested, and no error was detected... and there are neither #DEFINE nor #INCLUDE in the stored procedures..

First of all, that is standard RI-code. The previous developer didn't write it - it was generated automatically by the RI-builder (the previous developer must have defined some referential integrity).

Second, while this is not exactly standard, it is legal: any text after ENDIF is ignored, so you can put your comments there, with or without "&&".

I would recommend using "&&" for your own code - for a start, you will get correct syntax highlighting. But it isn't worth-while to do any changes to the RI-code; next time you generate the referential integrity, it will be overwritten anyway.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform