

FUNCTION MOUSE_ROW_COL ( mouse_x,mouse_y     : INTEGER;
                         VAR new_row,new_col : INTEGER ) : BOOLEAN;
   EXTERNAL;
PROCEDURE WINDOW_INPUT ( max_length : INTEGER;
                         str_type   : InpType;
                         VAR str    : STR255 );
   EXTERNAL;
PROCEDURE REAL_TO_STRING ( real_num: REAL; VAR string_real: STRING;
                           digits: INTEGER; sci_not: BOOLEAN );
   EXTERNAL;
FUNCTION STRING_TO_REAL ( VAR string_real : STR30 ) : REAL;
   EXTERNAL;
PROCEDURE INT_TO_STRING ( a : INTEGER; VAR b : STR10 );
   EXTERNAL;
FUNCTION REQUEST_MEMORY ( what : ReqType ) : BOOLEAN;
   EXTERNAL;
PROCEDURE INIT_CELL ( what : CellPtr; row,col : INTEGER );
   EXTERNAL;
FUNCTION LOCATE_CELL ( row,col : INTEGER ) : CellPtr;
   EXTERNAL;
FUNCTION NEW_CELL ( row,col : INTEGER ) : CellPtr;
   EXTERNAL;
PROCEDURE DELETE_CELL ( row,col    : INTEGER; 
                        total_kill : BOOLEAN  );
   EXTERNAL;
PROCEDURE FIND_SCREEN_POS (     row,col             : INTEGER;
                            VAR l_scr_row,l_scr_col : INTEGER );
   EXTERNAL;
PROCEDURE SAVE_ATTR;
   EXTERNAL;
PROCEDURE RETURN_ATTR;
   EXTERNAL;
PROCEDURE CELL_ON_SCREEN ( draw_or_toggle,row,col : INTEGER; force : BOOLEAN );
   EXTERNAL;
PROCEDURE STRING_A_CELL ( row,col : INTEGER; VAR temp : STR10 );
   EXTERNAL;
PROCEDURE OUT_MEM_CELL ( row,col : INTEGER; specific : STR10 );
   EXTERNAL;
FUNCTION REL_OVERFLOW ( row,col : INTEGER; VAR what : STR10 ) : INTEGER;
   EXTERNAL;
PROCEDURE FREE_DEP_LIST ( ptr : CellPtr );
   EXTERNAL;
FUNCTION LIST_END ( ptr : CellPtr ) : DepPtr;
   EXTERNAL;
FUNCTION DUPLICATING ( dep_row,dep_col : INTEGER; ptr : CellPtr ) : BOOLEAN;
   EXTERNAL;
PROCEDURE LIST_INSERT ( fx_row,fx_col,dep_row,dep_col : INTEGER );
   EXTERNAL;
PROCEDURE LIST_DELETE ( fx_row,fx_col,dep_row,dep_col : INTEGER );
   EXTERNAL;
PROCEDURE STRIP_NUM ( VAR num_str : LorFstr;
                      VAR str     : LorFstr;
                      VAR str_pos,
                          len     : INTEGER );
   EXTERNAL;
FUNCTION VALID_COL_NAME ( VAR temp       : STR10;
                          VAR col_number : INTEGER ) : BOOLEAN;
   EXTERNAL;
PROCEDURE GET_COL ( VAR str : LorFstr; VAR str_pos : INTEGER;
                        len : INTEGER; VAR col : INTEGER;
                    VAR col_rel : BOOLEAN; VAR status : StatusType );
   EXTERNAL;
PROCEDURE GET_ROW ( VAR str : LorFstr; VAR str_pos : INTEGER;
                        len : INTEGER; VAR row : INTEGER;
                    VAR row_rel : BOOLEAN; VAR status : StatusType );
   EXTERNAL;
FUNCTION TRANSLATE_CELL ( VAR str      : LorFstr;    { cell_str or formula  }
                          VAR str_pos  : INTEGER;    { position; 1 for cell }
                              len      : INTEGER;    { length of string     }
                          VAR row,col  : INTEGER;
                          VAR row_rel,               { relative reference?  }
                              col_rel  : BOOLEAN ) : StatusType;
   EXTERNAL;
FUNCTION SCAN_FOR_CELLS ( VAR str       : LorFstr; 
                          VAR str_pos   : INTEGER;
                              len       : INTEGER;
                          VAR cell_pos  : INTEGER;    
                          VAR row,col   : INTEGER;
                          VAR row_rel,
                              col_rel   : BOOLEAN   ) : BOOLEAN;
   EXTERNAL;
FUNCTION ADJUST_EXPR (  action             : INTEGER;  { add,remove, }
                        ptr                : CellPtr;  { adj_refs    }
                        src_row,src_col,
                        dest_row,dest_col,
                        row_st,col_st,
                        row_end,col_end    : INTEGER  ) : StatusType;
   EXTERNAL;
PROCEDURE ALL_LISTS ( action : INTEGER; ptr : CellPtr; row,col : INTEGER );
   EXTERNAL;
PROCEDURE DEFAULT_DRAW_ATTRIBUTES;
   EXTERNAL;
PROCEDURE REDRAW_MESSAGE ( hdl,x,y,w,h : INTEGER );
   EXTERNAL;
PROCEDURE Send_Redraw ( all_windows : BOOLEAN;
                        x,y,w,h     : INTEGER  );
   EXTERNAL;
PROCEDURE ADJUST_MENU ( enable : BOOLEAN );
   EXTERNAL;
FUNCTION FIND_PREC ( ptr : CellPtr ) : INTEGER;
   EXTERNAL;
FUNCTION FIND_JUST ( ptr : CellPtr ) : VDI_Just;
   EXTERNAL;
FUNCTION ASSIGNED ( row,col : INTEGER; VAR ptr : CellPtr ) : AssignedStatus;
   EXTERNAL;
FUNCTION VALID_NUMBER ( VAR num_str : LorFstr ) : StatusType;
   EXTERNAL;
PROCEDURE PREPARE_NUM ( ptr : CellPtr; VAR temp : STRING );
   EXTERNAL;
PROCEDURE MASK_OUT_RECALC;
   EXTERNAL;
FUNCTION ASSIGN ( VAR temp : LorFstr ) : CellPtr;
   EXTERNAL;
FUNCTION SIZE ( row,col : INTEGER ) : INTEGER;
   EXTERNAL;
FUNCTION COMP_ASSIGN ( src_row,src_col,dest_row,dest_col : INTEGER;
                       build                             : BOOLEAN ) : BOOLEAN;
   EXTERNAL;
PROCEDURE DELETE_RANGE ( s_row,s_col,f_row,f_col : INTEGER; draw : BOOLEAN );
   EXTERNAL;
PROCEDURE CLEAR_WORKSHEET;
   EXTERNAL;
PROCEDURE SIMULATE_MESSAGE ( msg_type,three,four : INTEGER );
   EXTERNAL;
PROCEDURE HOME_CURSOR ( extent : HomeType );
   EXTERNAL;
PROCEDURE MY_LINE_STYLE ( style : INTEGER );
   EXTERNAL;
PROCEDURE SWITCH_WINDOW;
   EXTERNAL;
PROCEDURE DEP_RECALC ( dep : DepPtr );
   EXTERNAL;
PROCEDURE CLEAR_BUFFER;
   EXTERNAL;
FUNCTION FIND_FIRST_AND_LAST ( virtual_or_actual : BOOLEAN ) : BOOLEAN;
   EXTERNAL;
PROCEDURE BLOCK_TOO_BIG ( col,row : STR10 );
   EXTERNAL;
PROCEDURE HIDE;
   EXTERNAL;
PROCEDURE UNHIDE ( what : Tree_Index );
   EXTERNAL;

   
      
