home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib1
/
v_01_06
/
1n06038a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
265 b
|
24 lines
Listing 2
uses
scan;
var
tc : token_code;
begin
start_scan;
repeat
tc := get_token;
write(token_code_image[tc]);
if tc = TC_INT then
write(' : ', int_value);
writeln;
if tc = TC_BAD then
restart_scan;
until tc = TC_EOF;
end.