val = Pm.FileReadVariable(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.
Value = Pm.FileReadVariable("#data:Value1.dat")
If Pm.IsValid(Value) Then
'.. on success
'.. on error