Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining Method Call Level within a Class
Message
From
15/06/2002 05:17:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00668375
Message ID:
00668856
Views:
17
>Thanks - Program(-1) gives the Program depth Level (numeric), so I can get the name of the calling method with Program(Program(-1) - 1) which is Character. Strange, but it works.

Not strange :) Current level was a need and fox team added -1 as an enhancement. Formerly I was looping till I hit an empty value.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform