{
    "header": {
        "version": 1,
        "type": "record"
    },
    "body": {
        "record1": {
            "<1>": "declare function msg\r\ndeclare subroutine end_dialog\r\n$insert msg_equates\r\n\r\nControls = get_property( @window, '@Controls' )\r\nDataToReturn = get_property( Controls, 'INVALUE' )\r\nconvert @rm to @fm in DataToReturn\r\nend_dialog( @window, DataToReturn )\r\n\r\n/* WAS ORIGINALLY GOING TO DO THE WRITE HERE, BUT THE RDS WILL HAVE A WINDOW VARIABLE AND THEN\r\n * PERFORM A WRITEV TO THE POSITION OF ALL OF THIS DATA\r\nRDSRec = xlate( 'RDS', RDSID, '', 'X' )\r\n.oo_ex1->text = RDSRec<rds_op_out_ex1$>\r\n.oo_ex1_name->text = oconv( RDSRec<rds_op_out_ex1$>, '[XLATE_CONV,LSL_USERS*FIRST_LAST]' )\r\n.oo_ex1_date->text = oconv( RDSRec<rds_op_out_ex1_date$>, 'D2/' )\r\n.oo_ex1_time->text = oconv( RDSRec<rds_op_out_ex1_time$>, 'MTH' )\r\n**************\r\n.oi_ex2->text = RDSRec<rds_op_in_ex2$>\r\n.oi_ex2_name->text = oconv( RDSRec<rds_op_in_ex2$>, '[XLATE_CONV,LSL_USERS*FIRST_LAST]' )\r\n.oi_ex2_date->text = oconv( RDSRec<rds_op_in_ex2_date$>, 'D2/' )\r\n.oi_ex2_time->text = oconv( RDSRec<rds_op_in_ex2_time$>, 'MTH' )\r\n**************\r\n.oo_ex2->text = RDSRec<rds_op_out_ex2$>\r\n.oo_ex2_name->text = oconv( RDSRec<rds_op_out_ex2$>, '[XLATE_CONV,LSL_USERS*FIRST_LAST]' )\r\n.oo_ex2_date->text = oconv( RDSRec<rds_op_out_ex2_date$>, 'D2/' )\r\n.oo_ex2_time->text = oconv( RDSRec<rds_op_out_ex2_time$>, 'MTH' )\r\n**************\r\n.oi_ex3->text = RDSRec<rds_op_in_ex3$>\r\n.oi_ex3_name->text = oconv( RDSRec<rds_op_in_ex3$>, '[XLATE_CONV,LSL_USERS*FIRST_LAST]' )\r\n.oi_ex3_date->text = oconv( RDSRec<rds_op_in_ex3_date$>, 'D2/' )\r\n.oi_ex3_time->text = oconv( RDSRec<rds_op_in_ex3_time$>, 'MTH' )\r\n**************\r\n.oo_ex3->text = RDSRec<rds_op_out_ex3$>\r\n.oo_ex3_name->text = oconv( RDSRec<rds_op_out_ex3$>, '[XLATE_CONV,LSL_USERS*FIRST_LAST]' )\r\n.oo_ex3_date->text = oconv( RDSRec<rds_op_out_ex3_date$>, 'D2/' )\r\n.oo_ex3_time->text = oconv( RDSRec<rds_op_out_ex3_time$>, 'MTH' )\r\n*/\r\nRETURN 0"
        }
    }
}