GetFileSize

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns the size of specified file (relative to Fallout root folder)

Syntax

[help]
(fValue:float) GetFileSize filepath:string

Example

set fValue to GetFileSize "nvac.log"

Will return the size of specified file in bytes.

Notes

  • To convert returned value to megabytes - multiply it by * 0.000001. You may use RoundAlt to get rid of float noise.

See Also