CALL JJFILESIZE
This page was last modified 19:16, 7 August 2021 by Mars2000you.

Contents

Effect

Returns the size of a file available on the drive of the connected PC in a variable.

Note: This instruction is experimental, its working needs to be checked.

Syntax

CALL JJFILESIZE ("<Filename>",<Variable>)

Parameters

<Filename> is the name of file whose you want to know the size. The format is 8 characters followed by a point and an extension with 3 characters. (Not case sensitive)

<Variable> must be a numerical integer variable that will return the file size.

Example

CALL JJFILESIZE ("TEST.TXT",A%): PRINT A%

Compatibility

JJFS BASIC