fileSize

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with SIL Engine™ 2.6.7.

Syntax

fileSize(file)

Description

Returns the size for a given file.

Parameters

Parameter name

Type

Required

Description

file

string

Yes

Path depicting a file.

Return type

number

Example

number len = fileSize("C:/file1.txt");

Notes

It is recommended that you use forward slashes ( / ) for file paths.

See also