;{}

[Keywords]
{Commands & Misc}=procedure|routine|begin|end|DELAY|WORK|SETUP|priority|#include|
{Simple Data Types}=Integer|Int|Real|Double|String|
{User Functions}=find_to_left_of_string|find_to_right_of_string|find_to_left_of_string_spec|find_to_right_of_string_spec|str_contains|set_right|set_left|count_strings|round_down_to_int|round_up_to_int|absolute_val|tinv|scheffe_test|
{Complex Data Types}=Array|Structure|@Structure|Popup|List|
{Handle Types}=AGV_Command|AGV_CMD|AGV_Segment|Chart|Controller_Event|Ctlr_Event|Daily_Schedule|Element|Element_Class|Event|Failure_Class|Fclass|Fluid_Class|Group|Lbr_Command|Lbr_Cmd|Lbr_Path|Lbr_Segment|Location|Logic|Multiday_Schedule|Part|Part_Class|Pf_Segment|Popup_Selection|Process|Request|Segment|Shift_Break|Signal_Wait_Entry|Sig_Wait_Entry|User_Interrupt|Uintt|User_Stats|
{Declaration Section}=EXTERN|EXTERNAL|STRUCT|STRUCTURE|ENDSTRUCT|ENDSTRUCTURE|VAR|BCL_VAR|CONST|CONST|STATIC|USER_ATTRIB|
{Control Flow Statements}=BREAK|CONTINUE|CONTINUE_CASE|CONTINUE_TEST|EXIT|FOR|TO|BY|DO|ENDFOR|GOTO|IF|THEN|ELSE|ENDIF|LABEL|REPEAT|UNTIL|RETURN|SWITCH|CASE|DEFAULT|ENDSWITCH|WHILE|DO|ENDWHILE|
{SCL Reserved words}=abs|acos|add_hist_data|add_histogram_data|add_time_series_data|add_ts_data|add_xy_data|after|agv|agv_class|agv_cmd|agv_command|agv_ok_to_depart|agv_ok_to_park|agv_path|agv_path_same|agv_segment|all|along|and|any|append|array|as|as_avail|as_available|asc|asin|assert|at|atan|atan2|attach_request|available_part|average_residence_time|bcl|bcl_var|begin|beta|binary|break|by|cabort|cad_part|calc_motion_time|car_class|carrier|carrier_class|case|ccar|cdebug|char|chart|check_accept|check_agv_capacity|check_capacity|check_lbr_capacity|check_out_accept|check_stream|chr|claim|client|close|cls|connected_elem|const|consts_int|cont_agv_move|cont_lbr_move|continue|continue_agv_move|continue_case|continue_lbr_move|continue_test|controller_event|cos|cr|create|ctlr_event|cyclic_input|cyclic_output|cyclic_request_element|cyclic_request_slot|date|debug|dec_on_agv_path|dec_on_lbr_path|dec_point|declared|default|defer_to_controller|defer_to_ctlr|delay|destroy|device|dispatch|do|do_load_process|do_pending_process|do_pending_process_reqmts|do_process|do_process_outputs|do_process_reqmts|do_process_requirements|do_process_time|do_process_work|do_repair|do_unload_process|domain|double|eclass|element|element_class|else|end|end_process|end_request|endfor|endif|endstruct|endstructure|endswitch|enduse|endwhile|erlang_k|exact|exit|exp|expn|exponential|expr|extern|external|fail|file|file_pop_up|find|first_free_in_class|fixed_request_slot|fixed_route_output|floor|for|free|free_element_output|free_handle|free_res_output|freq|frequency|from|gamma|get_chart|get_curr_repair_proc|get_curr_repair_time|get_dec_point|get_domain|get_domain_count|get_elem_class|get_element|get_element_class|get_file_proc|get_group|get_group_count|get_hook|get_labor_move_time|get_part_class|get_pending_agv_cmd|get_pending_agv_command|get_pending_controller_event|get_pending_ctlr_event|get_pending_lbr_cmd|get_pending_lbr_command|get_popup_selection|get_proc_filename|get_proc_for_requests|get_process|get_report_time|get_required_labor|get_resource|get_seg|get_segment|get_setup_time|get_sig_wait_entry|get_signal_wait_entry|get_widget_class|goto|group|hook|ii|index|input|inquire_config_path|insert|int|integer|interrupt|is_agv_cmd_pending|is_agv_cmd_waiting|is_agv_command_pending|is_agv_command_waiting|is_controller_event_pending|is_ctlr_event_pending|is_elem_connected|is_element_connected|is_labor_required|is_lbr_cmd_pending|is_lbr_cmd_waiting|is_lbr_command_pending|is_lbr_command_waiting|is_open|issue_agv_cmd|issue_agv_command|issue_lbr_cmd|issue_lbr_command|issue_pending_agv_cmd|issue_pending_agv_command|issue_pending_lbr_cmd|issue_pending_lbr_command|item_pop_up|labor|labor_class|lbr_cmd|lbr_command|lbr_ok_to_depart|lbr_ok_to_park|lbr_path|lbr_path_same|lbr_segment|lclass|least_util_input|least_util_output|leftstr|len|list|list_add_item|list_advance|list_clear|list_create|list_delete|list_get_item|list_insert_item|list_is_empty|list_item_count|list_item_present|list_peek_item|list_pop_up|list_remove_item|list_rewind|load|location|log|log10|lognormal|long|lower_threshold|match_order|match_request|max|max_avail_slot|max_room_output|max_wait_slot|mean|min|min_dist|min_dist_agv_path|min_dist_lbr_path|min_q_output|min_req_fulfill_slot|min_room_slot|min_wait_output|mod|mode|model_file|model_name|mouse_button|mouse_pick|move_to_head|name|new|new_out_part|new_out_wgt|new_out_widget|normal|not|notify_agv_ctlr|notify_controller|notify_ctlr|notify_labor_controller|notify_lbr_ctlr|null|num_ordered|num_pending|num_routable|of|off|on|open|or|order|order_fulfilled|ordered|output|output_file_pop_up|output_restricted|park_dec|park_destination|part|part_class|part_out_count|pass|pause|percent_output|percent_request_slot|pf_segment|pipe|place|point|poisson|popup_selection|pre_defs|pre_defs|priority_output|priority_request_slot|procedure|process|produce|progdump|q_ascending|q_descending|q_fifo|q_lifo|q_priority|rand|read|read_kbd|read_line|ready|real|recomp_path|recompute_path|release|repair|repeat|report_time|request|require|reserve|reset_chart_data|resource|restart_process|restart_request|restart_route|resume_travel|return|rewind|rightstr|route|route_dec|route_destination|routine|s|sample_cycle_time|sample_delay_time|sample_iat|sample_irt|sample_load_time|sample_lotsize|sample_process|sample_req_lotsize|sample_req_pclass|sample_unload_time|scan_str|schedule_event|SCL_GLOBAL|scl_new_sym|scl_new_sym|scl_new_sym|script|segment|select|select_closest_agv|select_closest_lbr|select_first_idle_agv|select_first_idle_lbr|select_pending_agv_cmd|select_pending_agv_command|select_pending_controller_event|select_pending_ctlr_event|select_pending_lbr_cmd|select_pending_lbr_command|seq|sequence|server|set|set_agv_path_mode|set_agv_stop_mode|set_bar_data|set_car_route_output|set_gbar_data|set_group_bar_data|set_part_color|set_part_dest|set_part_destination|set_part_display|set_pending_agv_cmd|set_pending_agv_command|set_pending_controller_event|set_pending_ctlr_event|set_pending_lbr_cmd|set_pending_lbr_command|set_pie_data|set_process_pending|set_req_processed|set_request_pending|set_timeout|set_wgt_dest|set_wgt_destination|set_widget_color|setup|sig_status|sig_wait_count|sig_wait_entry|signal|signal_status|signal_wait_entry|sim_terminate|sin|socket|sqrt|stack|standard_deviation|start_agv_move|start_lbr_move|start_travel|static|std_dev|stop|stop_agv_move|stop_lbr_move|str|string|struct|structure|sub_resource|substr|suspend_logic|switch|sym_lookup|sync|sys_clock|systime|tan|text|then|through|thru|time|timeout|to|transfer|triang|triangular|trim|uniform|unload|unset|until|update|upper_threshold|use|user|user_attrib|val|var|var_pop_end|var_pop_item|var_pop_num|var_pop_numeric|var_pop_off|var_pop_on|var_pop_start|var_pop_str|var_pop_string|var_pop_up|via_path|vtype|wait|wait_for_agv_cmd|wait_for_agv_command|wait_for_ctlr_event|wait_for_dec_point_event|wait_for_lbr_cmd|wait_for_lbr_command|wait_for_request|way_point|weibull|where_part_available|while|widget|widget_class|window|with|work|write|xfer|ydebug|
{System Variables}=bcl_msg|bcl_status|ccar|cdec|celem|clogic|context|cpart|crun|curr_eclass|curr_elem|curr_logic|curr_part|curr_pclass|first_elem_class|first_element|first_element_class|first_group|first_fclass|first_pclass|first_process|first_uintt|first_user_interrupt|first_user_stats|sim_time|
{Built In Constants}=$BLACK|$BLUE|$BROWN|$CHERRY|$COLOR17|$COLOR18|$COLOR19|$COLOR20|$COLOR21|$COLOR22|$COLOR23|$COLOR24|$COLOR25|$COLOR26|$COLOR27|$COLOR28|$COLOR29|$COLOR30|$COLOR31|$COLOR32|$CYAN|$DEF_STR_LEN|$GRAY|$GREEN|$GREY|$ICKY|$LIME|$LTBLUE|$MAGENTA|$MAXSIZE|$ORANGE|$PURPLE|$RED|$TAN|$WHITE|$YELLOW|ACCESSORY|ACTIVE|AGV_CONTROLLER|AGV_DEC|AGV_DEC_POINT|AGV_PATH_SYSTEM|AGV_VEHICLE|ANY_SLOT|AT_END|AVAILABLE|BLOCKED|BREAK|BUFFER|BUSY|BUSY_PROCESSING|CM|CONTROLLER|CONV_DEC|CONVEYOR|CONVEYOR_DEC_POINT|DAY_END_LOGIC|DECISION|DECISION_LOGIC|DEG|Real|DOWN|E|Real|EMPTY_TRAVEL|ENGLISH|Real|EOF|EQ|ER_AGV_FULL|ER_BAD_AGV_REQUEST|ER_BAD_ARG_VALUE|ER_BAD_BIN|ER_BAD_CARRIER|ER_BAD_CONNECTION|ER_BAD_CONTROLLER|ER_BAD_CYCLE_TIME|ER_BAD_DESTINATION|ER_BAD_ELEMENT|ER_BAD_ELEMENT_TYPE|ER_BAD_EVENT|ER_BAD_INPUT|ER_BAD_INQ|ER_BAD_LABOR|ER_BAD_LBR_REQUEST|ER_BAD_NAME|ER_BAD_OUTPUT|ER_BAD_PART|ER_BAD_PART_CLASS|ER_BAD_PATH|ER_BAD_RACK|ER_BAD_REQUEST|ER_BAD_RESOURCE|ER_BAD_RESOURCE_TYPE|ER_BAD_USRATTRIB|ER_BAD_UTOS|ER_BAD_WIDGET|ER_BAD_WIDGET_CLASS|ER_BIN_ASSIGNED|ER_CARRIER_EMPTY|ER_CARRIER_FULL|ER_EMPTY_BIN|ER_END_OF_FILE|ER_FAILED|ER_FALSE|ER_INVALID_CARRIER|ER_LBR_FULL|ER_NO_AGV_IN_CPT|ER_NULL_FILE|ER_OKAY|ER_PROC_END|ER_PROC_UNDEF|ER_SEIZE_FAIL|ER_TRUE|EXTR_CONV|EXTR_PIPE|EXTRUDED_CONVEYOR|EXTRUDED_PIPE|FAILURE_LOGIC|FALSE|FEET|Real|FLUID_SINK|FLUID_SOURCE|GE|GT|IDLE|INACTIVE|INCH|Real|INIT_LOGIC|KEY_MODE|LABOR_CONTROLLER|LABOR_CTLR|LABOR_DEC_POINT|LABOR_PATH_SYSTEM|LABORER|LBR_DEC|LE|LIST_MODE|LOAD|LOAD_BLOCK|LOADED_TRAVEL|LOADING|LT|MACHINE|MAX_RN|MAX_VAL|METER|METRIC|MIN_VAL|MM|MOVING|NE|NULL|P_AND_F|P_N_F|PATH_SYSTEM|PI|Real|PICK_MODE|PIPE|PNF_CARRIER|PNF_DEC|PNF_DEC_POINT|POSTP_LOGIC|POWER_AND_FREE|PROCESS_LOGIC|PROCESSED|PROCESSING|PROCESSOR|PULL|PULL_PUSH|PUSH|PUSH_PULL|Q_CURRENT|Q_FIRST|Q_LAST|QUEUEING_LOGIC|QUEUING_LOGIC|REQUEST_LOGIC|RETRIEVAL_TRANS|RN1|RN2|RN3|RN4|RN5|RN6|RN7|RN8|RN9|ROUTE_LOGIC|SETUP|SINK|SHIFT_BREAK_LOGIC|SOURCE|SR_CONTROLLER|SR_CTLR|STATUS_BLOCKED|STATUS_BREAK|STATUS_BUSY|STATUS_DOWN|STATUS_IDLE|STATUS_LOAD|STATUS_SETUP|STATUS_UNLOAD|STORAGE_TRANS|STORE_HISTORY|SUB_RESOURCE|TANK|TRANSFERRING|TRAVEL_BLOCK|TROLLEY|TRUE|UNLOAD|UNLOAD_BLOCK|UNLOADING|USER_INTR_LOGIC|VEHICLE|WAITING|WORKCELL|WORKER|ZERO|
{Status Constants}=BUSY_LOADING|BUSY_PROCESSING|BUSY_REPAIR|BUSY_SETUP|BUSY_UNLOADING|CLAIM_BLOCK|DEPART_REQMT_BLOCK|EMPTY_TRAVEL|FAILED|IDLE_IDLE|LOADED_TRAVEL|NO_CHANGE|NOT_CONSIDERED|PARKED|REQMT_BLOCK|REQMT_PREEMPTED|SHIFT_BRK|SHIFT_OUT|TRANSFERRING|TRAVEL_BLOCK|UNLOAD_BLOCK|WAIT_BLOCK|

[Options]
LineCommentA=--
CommentStartA=/*
CommentEndA=*/
String='
Symbols=.(),+=|\/{}[];
Numbers=0123456789
AutoCompleteCharA=.

[Block]
1_Name=
1_OnLine=0
1_AsString=0
1_Start=
1_End=

[Fold]
1_Id=procedure
1_Begin=Begin
1_End=End
1_EndBefore=
1_Section=
1_NoParentOfId=0
1_ListItem=
2_Id=routine
2_Begin=Begin
2_End=End
2_EndBefore=
2_Section=
2_NoParentOfId=0
2_ListItem=
3_Id=STRUCT
3_Begin=STRUCT
3_End=ENDSTRUCT
3_EndBefore=
3_Section=
3_NoParentOfId=0
3_ListItem=
4_Id=STRUCTURE
4_Begin=STRUCTURE
4_End=ENDSTRUCTURE
4_EndBefore=
4_Section=
4_NoParentOfId=0
4_ListItem=
5_Id=---------------------------------------------------------------
5_Begin=---------------------------------------------------------------
5_End=---------------------------------------------------------------
5_EndBefore=
5_Section=
5_NoParentOfId=0
5_ListItem=

