Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Folder Name
Message
De
04/02/2005 05:10:07
 
 
À
03/02/2005 14:15:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00983436
Message ID:
00983771
Vues:
16
Hi Tore

Neat! I'll have to remember that. It's well worth visiting the UT every day, just to pick up a few tips and tricks, i'n'it?

Cheers

Terry

>Hi Terry,
>
>many of the old foxtools.fll functions, most of which now are built into VFP, can be used for many other things than they really are intended for, because most of them in reality are nothing but string handling functions. One good example that comes to my mind, is the easiest way to get the decimal value of a numeric value in a string.
>cText='123.456'
>JUSTEXT(cText) = '456'
>And of course
>JUSTSTEM(cText)= '123'
>>Tore
>>
>>I wouldn't have thought of that because JUSTSTEM should, according to Help, work with a File Name (expecting an extension and not "\"). So is this undocumented extended use of a function?
>>
>>Terry
>>
>>>Easiest solution
JUSTSTEM(JUSTPATH(cdir))
>>>>Hi all,
>>>>
>>>>I have cdir = "c:\Myapp\mydata\Bo\" and i want "bo".
>>>>
>>>>How can i do it ?
>>>>
>>>>thank in advance
>>>>
>>>>Bernhart
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform