I'm having trouble understanding what the application object Idle function is expecting as an input parameter.
The documentation doesn't really say what the data type is and the only examples show using a literal.
Does it have to be a literal?
I want to pass a variable instead of a hard coded literal but I don't know if it's expecting an integer or a long.
I've tried both and both seem to work although not consistently.
Sometimes the first call fails but if I call it a second time it works.
I would like to use a long and cap the max time but not sure what's happening because some values fail.
It seems it might be related to the size of the actual value being used.
There also seems to be issues with integer overflow if the value exceeds what an integer can hold.
Does anyone have any insights into this function?
Using PowerBuilder 2022 Build 1892.