Files
open-insight/LSL2/OIEVENT/CLICK/SPC_OCAP_CFG.BUTTON_1.json
2024-03-25 15:12:53 -07:00

11 lines
487 B
JSON

{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function msg\r\ndeclare subroutine end_dialog\r\n\r\nOcapID = .ocap_id->text\r\nopen 'CONFIG' to ConfigTable else\r\n Void = msg( '', 'Unable to open CONFIG table' )\r\n end_dialog( @window, '' )\r\n return 0\r\nend\r\nunlock ConfigTable, OcapID else\r\n * USER NEVER HAD A LOCK SO IT IS HARMLESS\r\nend\r\nRETURN 1"
}
}
}