home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
users
/
Harry
/
compilers
/
p3
/
tst
/
arrays2.out.bak
< prev
next >
Wrap
Text File
|
2005-10-24
|
694b
|
137 lines
T
integer
TYPE
echo
q
integer
FORMAL
integer
PROCEDURE
WRITE
q
ENDWRITE
RETURN
q
ENDRETURN
report
a
T
FORMAL
PROCEDURE
WRITE
a
0
" "
a
10
" "
a
20
ENDWRITE
change
a
T
FORMAL
PROCEDURE
a
0
ASSIGN
888
ENDASSIGN
a
20
ASSIGN
777
ENDASSIGN
report
CALL
a
ENDCALL
x
y
z
w
10
VAR
a
T
10
0
10
1
10
2
VAR
b
T
x
10
10
y
z
w
VAR
c
T
echo
FUNCTION
10
ENDFUNCTION
echo
FUNCTION
0
ENDFUNCTION
echo
FUNCTION
20
ENDFUNCTION
echo
FUNCTION
1
ENDFUNCTION
echo
FUNCTION
30
ENDFUNCTION
echo
FUNCTION
2
ENDFUNCTION
VAR
report
CALL
a
ENDCALL
report
CALL
b
ENDCALL
report
CALL
c
ENDCALL
change
CALL
a
ENDCALL
change
CALL
b
ENDCALL
change
CALL
c
ENDCALL
report
CALL
a
ENDCALL
report
CALL
b
ENDCALL
report
CALL
c
ENDCALL