Swe-DivX Posted October 3, 2021 Posted October 3, 2021 PageFileValuesFloat = GetFloatValue(path, PageFileValuesString) returns 0 even if the value don't exist in the file. I want it to be -1 if the float value don't exist.
alex77r4 Posted October 3, 2021 Posted October 3, 2021 1 hour ago, Swe-DivX said: PageFileValuesFloat = GetFloatValue(path, PageFileValuesString) returns 0 even if the value don't exist in the file. I want it to be -1 if the float value don't exist. From StorageUtil.psc float function GetFloatValue(Form ObjKey, string KeyName, float missing = 0.0) global native PageFileValuesFloat = GetFloatValue(path, PageFileValuesString, missing = -1)
Swe-DivX Posted October 3, 2021 Author Posted October 3, 2021 3 hours ago, alex77r4 said: From StorageUtil.psc float function GetFloatValue(Form ObjKey, string KeyName, float missing = 0.0) global native PageFileValuesFloat = GetFloatValue(path, PageFileValuesString, missing = -1) Tanks !
Recommended Posts
Archived
This topic is now archived and is closed to further replies.