C0145 Compiler Error
Message text
A READONLY argument cannot be assigned into or passed to a function
or event as a reference argument.
Explanation
The function f2 takes an integer argument by reference. The
following function, f1, takes a readonly integer argument:
1 2 3 |
f2(ai_readonly) // generates C0145 ai_readonly = 1 // generates C0145 return 1 |
See Also
Passing arguments to functions and events in the section called “Passing
arguments to functions and events” in PowerScript Reference.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest