411 REFERENCE · Wikibooks
Futurebasic/Language/Reference/fbgetsystemname$
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
FBGetSystemNames$ function
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td>
FBGetSystemNames$
Function
✔ Appearance ✔ Standard ✔ Console
Syntax
name$ = Fn FBGetSystemName$(nameType)
Revised
April, 2003 (Release 8)
Description
This function returns the computer name or the user name according to the nameType parameter. nameType is one of the following constants: _FBComputerName, _FBLongUserName or _FBShortUserName.
To make this routine available to your program, you must include the header file "Util_ComputerNames.Incl".
Example
Include "Util_ComputerNames.Incl"
Print "Computer Name:";;¬
Fn FBGetSystemName$ (_FBComputerName);""""
Print "Long User Name: """;¬
Fn FBGetSystemName$ (_FBLongUserName);""""
Print "Short User Name: """;¬
Fn FBGetSystemName$ (_FBShortUserName);""""
Do
HandleEvents
Until 0</td></table>