Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored procedures information.
Message
De
10/06/2005 10:31:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01022128
Message ID:
01022151
Vues:
15
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform