home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
QBAS
/
PBC22B.ZIP
/
PBC$BAS.ZIP
/
GETLABL2.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-01-01
|
672b
|
18 lines
' +----------------------------------------------------------------------+
' | |
' | PBClone Copyright (c) 1990-1993 Thomas G. Hanlin III |
' | |
' +----------------------------------------------------------------------+
DECLARE SUB GetLabel (Drive$, Label$, LabelLen%, ErrCode%)
FUNCTION GetLabel2$ (Drive$)
Label$ = SPACE$(11)
GetLabel Drive$, Label$, LLen%, ErrCode%
IF ErrCode% THEN
GetLabel2$ = ""
ELSE
GetLabel2$ = LEFT$(Label$, LLen%)
END IF
END FUNCTION