File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed 
samples/distro-examples/tests/output Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1414 IF: 193
1515 IF: 192
1616 SUB: 216
17- 
1817
1918
2019 * RTE-ERROR AT ../../../samples/distro-examples/tests/trycatch.bas:200 * 
Original file line number Diff line number Diff line change @@ -179,11 +179,11 @@ void err_argerr(void) {
179179}
180180
181181void  err_varisarray (void ) {
182-   rt_raise (EVAL_VAR_IS_ARRAY );
182+   err_throw (EVAL_VAR_IS_ARRAY );
183183}
184184
185185void  err_varisnotarray (void ) {
186-   rt_raise (EVAL_VAR_IS_NOT_ARRAY );
186+   err_throw (EVAL_VAR_IS_NOT_ARRAY );
187187}
188188
189189void  err_vararridx (int  i , int  m ) {
Original file line number Diff line number Diff line change 172172#define  EVAL_TYPE                "Expr/RT: Type mismatch"
173173#define  EVAL_PARAM               "Expr/RT: Invalid parameter"
174174#define  ERR_UNSUPPORTED          "Unsupported"
175- #define  ERR_CONST                "LET: Cannot change a constant"
175+ #define  ERR_CONST                "LET: Cannot change a constant (CONST always has global scope) "
176176#define  ERR_NOT_A_VAR            "Not a variable"
177177#define  ERR_NOT_ARR_OR_FUNC      "NOT an array OR function"
178178#define  ERR_RANGE                "Out of range"
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments