-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstckfun.cpp
executable file
·59 lines (57 loc) · 1.65 KB
/
stckfun.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#include"all.hpp"
valBool stackOfCallFunctionCls::getProcFindName(int indexOfFindNameUp,stringCls <Name)
{
valBool ret1;
ret1.b=false;
execProcCls *ep1=NULL;
if(indexOfFindNameUp<noVInStack)
ep1=getiProc(indexOfFindNameUp);
if(ep1!= NULL)
ret1=ep1->findName(ltName);
return ret1;
}
void stackOfCallFunctionCls::getProcAddName(int indexOfFindNameUp,stringCls <Name,variableValue &vv1)
{ execProcCls *ep1=NULL;
if(indexOfFindNameUp<noVInStack)
ep1=getiProc(indexOfFindNameUp);
if(ep1!= NULL)
ep1->addVariable(ltName,vv1);
}
valBool stackOfCallFunctionCls::getProcArrName(int indexOfFindNameUp,stringCls <Name)
{
valBool ret1;
ret1.b=false;
execProcCls *ep1=NULL;
if(indexOfFindNameUp<noVInStack)
ep1=getiProc(indexOfFindNameUp);
if(ep1!= NULL)
ret1=ep1->findArr(ltName);
return ret1;
}
void stackOfCallFunctionCls::getProcAddArrName(int indexOfFindNameUp,stringCls <Name,variableValue &vv1)
{ execProcCls *ep1=NULL;
if(indexOfFindNameUp<noVInStack)
ep1=getiProc(indexOfFindNameUp);
if(ep1!= NULL)
ep1->addArrVar(ltName,vv1);
}
/*valBool stackOfCallFunctionCls::getProcFindStemName(int indexOfFindNameUp,stringCls <Name)
{
valBool ret1;
ret1.b=false;
execProcCls *ep1=NULL;
if(indexOfFindNameUp<noVInStack)
ep1=getiProc(indexOfFindNameUp);
if(ep1!= NULL)
ret1=ep1->findName(ltName);
return ret1;
}
void stackOfCallFunctionCls::getProcAddStemName(int indexOfFindNameUp,stringCls <Name,variableValue &vv1)
{
execProcCls *ep1=NULL;
if(indexOfFindNameUp<noVInStack)
ep1=getiProc(indexOfFindNameUp);
if(ep1!= NULL)
ep1->addVariable(ltName,vv1);
}
*/