Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alarming WithThis behavior
Message
From
23/12/2002 12:22:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Alarming WithThis behavior
Miscellaneous
Thread ID:
00735422
Message ID:
00735422
Views:
40
I just discovered something that disturbs me.
Object.method1()
  with this
    .method2()
  endwith

Object.method2()
  local lc
  lc = .Name  && note - no "With clause"
No crash. I assume that because method2 is called from within "With This" of method1 that the "With This" carries down, like a private variable would be carried down into sub procedures.

Is this the way it's supposed to be?

TIA
Bill Morris
Next
Reply
Map
View

Click here to load this message in the networking platform