open-insight/LSL2/OIEVENT/CREATE/SET_REACTOR_PM_REMIND..json
2024-03-25 15:12:53 -07:00

11 lines
912 B
JSON

{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare subroutine end_dialog\r\ndeclare function msg, center_window\r\n$insert msg_equates\r\nequ CrLf$ to char(13):char(10)\r\n\r\nif index( CreateParam, 'CENTER', 1 ) then\r\n void = center_window( @window )\r\nend else\r\n Void = set_property( @window, 'VISIBLE', 1 )\r\nend\r\n\r\nif index( CreateParam, 'AUTO', 1 ) then\r\n return 1\r\nend else\r\n MsgInfo = ''\r\n MsgInfo<mtext$> = 'This program will disperse all Reactor PMs that should be completed within a week or are overdue':CrLf$:'Do you wish to continue?' \r\n MsgInfo<micon$> = '?'\r\n MsgInfo<mtype$> = 'BNY'\r\n Ans = msg( '', MsgInfo )\r\n if Ans then\r\n return 1 \r\n end else\r\n end_dialog( @window, '' )\r\n end\r\nend\r\nRETURN 0"
}
}
}