Language: C++

void __HspEntry( void ) {
	// Var initalize
	Var_0 = &mem_var[0];
	Var_1 = &mem_var[1];
	Var_2 = &mem_var[2];
	Var_3 = &mem_var[3];

	// input _HspVar0, , 1
	PushInt(1); 
	PushDefault();
	PushVAP(Var_0,0); 
	Extcmd(39,3);
	// split _HspVar0, " ", _HspVar1, _HspVar2
	PushVAP(Var_2,0); 
	PushVAP(Var_1,0); 
	PushStr(" "); 
	PushVAP(Var_0,0); 
	Intcmd(42,4);
	// _HspVar3 =int(_HspVar1)(_HspVar2)*int(_HspVar2)
	PushFuncEnd(); 	PushVAP(Var_1,0); 
PushIntfunc(0,1); PushFuncEnd(); 	PushVAP(Var_2,0); 
PushIntfunc(0,1); CalcMulI(); 
	VarSet(Var_3,0);
	// if _HspVar3=0
	PushVar(Var_3,0); PushInt(0); CalcEqI(); 
	if (HspIf()) { TaskSwitch(1); return; }
	// mes "Even"
	PushStr("Even"); 
	Extcmd(15,1);
	TaskSwitch(2);
}


Compiler output:
a.cc: In function 'void __HspEntry()':
a.cc:3:9: error: 'Var_0' was not declared in this scope
    3 |         Var_0 = &mem_var[0];
      |         ^~~~~
a.cc:3:18: error: 'mem_var' was not declared in this scope
    3 |         Var_0 = &mem_var[0];
      |                  ^~~~~~~
a.cc:4:9: error: 'Var_1' was not declared in this scope
    4 |         Var_1 = &mem_var[1];
      |         ^~~~~
a.cc:5:9: error: 'Var_2' was not declared in this scope
    5 |         Var_2 = &mem_var[2];
      |         ^~~~~
a.cc:6:9: error: 'Var_3' was not declared in this scope
    6 |         Var_3 = &mem_var[3];
      |         ^~~~~
a.cc:9:9: error: 'PushInt' was not declared in this scope
    9 |         PushInt(1);
      |         ^~~~~~~
a.cc:10:9: error: 'PushDefault' was not declared in this scope
   10 |         PushDefault();
      |         ^~~~~~~~~~~
a.cc:11:9: error: 'PushVAP' was not declared in this scope
   11 |         PushVAP(Var_0,0);
      |         ^~~~~~~
a.cc:12:9: error: 'Extcmd' was not declared in this scope
   12 |         Extcmd(39,3);
      |         ^~~~~~
a.cc:16:9: error: 'PushStr' was not declared in this scope
   16 |         PushStr(" ");
      |         ^~~~~~~
a.cc:18:9: error: 'Intcmd' was not declared in this scope
   18 |         Intcmd(42,4);
      |         ^~~~~~
a.cc:20:9: error: 'PushFuncEnd' was not declared in this scope
   20 |         PushFuncEnd();  PushVAP(Var_1,0);
      |         ^~~~~~~~~~~
a.cc:21:1: error: 'PushIntfunc' was not declared in this scope
   21 | PushIntfunc(0,1); PushFuncEnd();        PushVAP(Var_2,0);
      | ^~~~~~~~~~~
a.cc:22:19: error: 'CalcMulI' was not declared in this scope
   22 | PushIntfunc(0,1); CalcMulI();
      |                   ^~~~~~~~
a.cc:23:9: error: 'VarSet' was not declared in this scope
   23 |         VarSet(Var_3,0);
      |         ^~~~~~
a.cc:25:9: error: 'PushVar' was not declared in this scope
   25 |         PushVar(Var_3,0); PushInt(0); CalcEqI();
      |         ^~~~~~~
a.cc:25:39: error: 'CalcEqI' was not declared in this scope
   25 |         PushVar(Var_3,0); PushInt(0); CalcEqI();
      |                                       ^~~~~~~
a.cc:26:13: error: 'HspIf' was not declared in this scope
   26 |         if (HspIf()) { TaskSwitch(1); return; }
      |             ^~~~~
a.cc:26:24: error: 'TaskSwitch' was not declared in this scope
   26 |         if (HspIf()) { TaskSwitch(1); return; }
      |                        ^~~~~~~~~~
a.cc:30:9: error: 'TaskSwitch' was not declared in this scope
   30 |         TaskSwitch(2);
      |         ^~~~~~~~~~