Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LcSpace
Message
 
 
À
18/10/2007 11:06:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01261857
Message ID:
01262369
Vues:
44
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform