Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LcSpace
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01261857
Message ID:
01262369
Views:
43
This message has been marked as the solution to the initial question of the thread.
You should be looking at script that handles specific abbreviation. For IFELSE/DOCASE and some others it's '{stmthandler}'. Below is relevant piece of code from the script. As you can see 'lcSpace' holds whatever whitespace was in the line before abbreviataion you entered so replacemend code start at the same position.
lnPos = ATC(ALLTRIM(oFoxcode.Abbrev),lcLine)
lcSpace = SUBSTR(lcLine,1,lnPos-1)
>Who knows what lcSpace does in an Intellisense Script? And are there any other variables that can be used? I couldn't find it in the Intellisense documentation.
>
>
IF ~
>
><<lcSpace>>ELSE
>
><<lcSpace>>ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform