Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Issues - Syntax Error
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Setting Issues - Syntax Error
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01028212
Message ID:
01028212
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform