Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Issues - Syntax Error
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Setting Issues - Syntax Error
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01028212
Message ID:
01028212
Vues:
59
Hi Gurus...

Ok... before I waste anymore time on this......

I am getting a syntax error down below......

What I am doing is this....

I have a Class with the following in the INIT


SAFETYSETTING = ""

PROCEDURE Init

*-- Set the HorizonFolder property to m0sysdr (private variable from outside the class)
STORE SET("SAFETY") TO THIS.SafetySetting
SET SAFETY OFF

This.HorizonFolder = m0sysdr
*-- Set the SettingsFolder to be (HorizonFolder)\settings
This.SettingsFolder = This.PathAppend(m0sysdr,"\settings")
ENDPROC
<\PRE>

I am saving the SAFETY setting to a SESSION class property

When I call the DESTROY later, I get a SYNTAX error


PROCEDURE Destroy
LOCAL lcMySafetySetting
lcMySafetySetting = THIS.SafetySetting
SET SAFETY &MySafetySetting
ENDPROC
<\pre>

What am I doing wrong today? Senility sucks.

Thanks!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform