Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programs PROC-ENDPROC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Divers
Thread ID:
01488669
Message ID:
01488670
Vues:
62
This seems to compile and run just fine:

* Test code *
x = 1
? x
ENDPROC

...although I think it's sort of a bad practice to do that.

>Is it possible to have a program in which there is an ENDPROC, but no beginning PROC statement? In the program which I decompiled this morning, using ReFox XII (yes, a shameless Plug here! Thanks Jan Brebera!), I noticed that there are several programs with no PROC statement at the beginning of each of these program files. Could it be that they never existed or that the reverse engineering process cut off the PROC statements?
>
>Is this kosher? I mean, will a program file work without a beginning PROC statement if it has an ending ENDPROC statement? I know that a prg file does not need the PROC and ENDPROC unless you write several procedure files inside the prg file.
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform