11 lines
		
	
	
		
			872 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			872 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "header": {
 | |
|         "version": 1,
 | |
|         "type": "record"
 | |
|     },
 | |
|     "body": {
 | |
|         "record1": {
 | |
|             "<1>": "declare function msg\r\ndeclare subroutine end_dialog\r\n\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\nNightProcess = .night_process_data->array\r\nWinSubs = NightProcess<1>\r\nconvert @lower_case to @upper_case in WinSubs\r\nNightProcess<1> = WinSubs\r\nwrite NightProcess on ConfigTable, 'NIGHTLY_PROCESS' else\r\n   Void = msg( '', 'Unable to write NIGHTLY_PROCESS in CONFIG table' )\r\n   end_dialog( @window, '' )\r\n   return 0\r\nend\r\nunlock ConfigTable, 'NIGHTLY_PROCESS' else\r\n   Void = msg( '', 'Unable to unlock NIGHTLY_PROCESS in CONFIG table' )\r\nend\r\nend_dialog( @window, '' )\r\n\r\nRETURN 0"
 | |
|         }
 | |
|     }
 | |
| } |