n = Pm.FileGetLength(sFile)
|sFile||(String) The file name with the path. If a full path is not entered, then it is completed relatively according to the application file folder. |
It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.
FileSize = Pm.FileGetLength("#data:file.txt")