Futurebasic/Language/Reference/fbgetsystemname$

= FBGetSystemNames$ function =

Revised
April, 2003 (Release 8)

Description
This function returns the computer name or the user name according to the  parameter. is one of the following constants:,   or.

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);&quot;&quot;&quot;&quot; Print &quot;Long  User Name: &quot;&quot;&quot;;¬ Fn FBGetSystemName$ (_FBLongUserName);&quot;&quot;&quot;&quot; Print &quot;Short User Name: &quot;&quot;&quot;;¬ Fn FBGetSystemName$ (_FBShortUserName);&quot;&quot;&quot;&quot;

Do HandleEvents Until 0