Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
101 VFP7 THings, Part 13 - AProcInfo()
Message
From
20/12/2000 21:24:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00455019
Message ID:
00455735
Views:
38
>That was really quick :) I could not expect :)

I surprised myself as well, i.e. I haven't expected that either, but since I've been writing parsers and generators for years, I thought this one would be easy to do, and so it was.

>1) What is tcPrefix?

Well, you'd want to have a new class with a name different from the old one, right? Some people (namely, framework authors) usually have their classes prefixed by the level, like aClass being the grandparent level, bClass at the parent level, cClass the regular, dClass in the basement etc. tcPrefix is just the new character (or several characters) which get replaced, so if tcPrefix='x' and you're subclassing something called tClass, you get a line like
define class xClass as tClass
>2) Would Inlist work, if I don't stortcut the reserved words (e.g. I usually use the whole word, like: lparameters, define, createobject - this is just a habit) Does it depend on SET EXACT ? (In our environment we have set exact on).

That would work as long as you strictly stick to your habits, but then you may want to run this on someone else's code. Easiest fix would be to
lcSetExact=set('exact')
set exact off
[my code here]
set exact &lcSetExact
[the spurious repeat of a message before this is due to a suddenly slow connection, which got me waiting to return from the preview of the first version of this one... like the actor said, "confuse the curtain, I was pulled down"]

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform