Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quick Question on Proc Returns
Message
De
26/01/2009 16:29:45
 
 
À
26/01/2009 16:27:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01377136
Message ID:
01377137
Vues:
17
>Hey Guys
>
>Trying to track a flag variable through and, as best as I can tell, the only place it is getting set is in a line
>
> lSessionYOpen=SessionOKCP()
>where SessionOKCP() is
>
>PROC SessionOKCP
>if not m.viewonly
>	SHOW GET m.leavehere, 1 PROMPT 'OK'
>else
>	SHOW GET m.leavehere, 1 PROMPT 'EXIT'
>endi
>RETURN
>
>
>Now, procedures always return True, yes? And if that is so, why does it appear that lSessionYOpen never gets changed from it's initialization of False?
>
>Speak in small words please, as I've got a raging headache.

Put an f at the end of endif
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform