DragonDOS Basic Example to get file size

Color BASIC, Extended Color BASIC, CoCo 3 BASIC, and Disk Extended Color BASIC call all be discussed here.

DragonDOS Basic Example to get file size

Postby PacoOtaktay » Fri Jul 06, 2018 1:17 pm

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
PacoOtaktay
 
Posts: 18
Joined: Mon Sep 18, 2017 11:36 pm

Return to CoCo BASIC

Who is online

Users browsing this forum: No registered users and 0 guests

cron