To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
HTBasic User Guide
Files
PRINT LABEL and READ LABEL
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
PRINT LABEL and READ LABEL
PRINT LABEL and READ LABEL are used to set and read the volume label of a disk drive. HTBasic does not support PRINT LABEL; you must use the Windows "LABEL" command or the File Manager. This example shows the use of READ LABEL:
10 MASS STORAGE IS "C:"
20 READ LABEL A$
30 IF A$="No Label" THEN
40 PRINT "The volume in drive C has no label"
50 ELSE
60 PRINT "The volume in drive C is ";A$
70 END IF
80 END