The #BYPASS compiler command causes the compiler to insert the lines of code listed between the #BYPASS and #ENDBYPASS commands directly into the compiled program, without parsing or interpreting them. You can use this command to insert code that may not be allowed within PSL (e.g., argumentless KILLS, global references) but is required within the program logic.
|
The use of the #BYPASS command should be highly restricted and only used with appropriate approval. To register this approval, you must include an #ACCEPT code in the line prior to the #BYPASS command. |
Syntax
#BYPASS
Parameters
None
When Became Available
Profile v6.3
Example
type RecordDEP dep = Db.getRecord("DEP",":CID")
set BAL = dep.bal
#BYPASS
set z = vobj(dep,51) //Will insert this into the M code
#ENDBYPASS