DragonDOS File Size Example

Here I will give you a Basic example of getting the size of a file on a Dragon 32, 64, & Tano running DragonDOS.

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