Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to programmatically get the Computer Name
Message
From
14/12/2007 15:20:15
 
 
To
14/12/2007 14:48:43
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01275848
Message ID:
01275977
Views:
14
Or even simpler, since getwordnum() in fact does the alltrim for you

Really? My testing does not show this to be the case.

On my machine:

?LEN( GETWORDNUM( ID(), 1, [#] ) )

gives me 12

?LEN( ALLTRIM( GETWORDNUM( ID(), 1, [#] ) ) )

gives me 11
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform