Page 1 of 1

DragonDOS Basic Example to get file size

PostPosted: Fri Jul 06, 2018 1:17 pm
by PacoOtaktay
Here I will give you a Basic example of getting the size of a file on a Dragon 32, 64, & Tano running DragonDOS.

Code: Select all
10 CLS
20 PRINT "FILE NAME";
30 INPUT NAME$
40 IF NAME$="" THEN 10
50 FILESIZE=LOF NAME$
60 PRINT "FILE SIZE IS ";FILESIZE
70 END