home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
jËzyki_programowania
/
amigae
/
e_v3.2a
/
src
/
guide
/
except.e
< prev
next >
Wrap
Text File
|
1977-12-31
|
386b
|
23 lines
ENUM FRED, BARNEY
PROC main()
WriteF('Hello from main\n')
fred()
barney()
WriteF('Goodbye from main\n')
ENDPROC
PROC fred() HANDLE
WriteF(' Hello from fred\n')
Raise(FRED)
WriteF(' Goodbye from fred\n')
EXCEPT
WriteF(' Handler fred: \d\n', exception)
ENDPROC
PROC barney()
WriteF(' Hello from barney\n')
Raise(BARNEY)
WriteF(' Goodbye from barney\n')
ENDPROC