2024-10-27 21:50:48 +01:00
|
|
|
%import textio
|
2024-10-13 19:37:25 +02:00
|
|
|
%option no_sysinit
|
2024-10-27 21:50:48 +01:00
|
|
|
%zeropage basicsafe
|
2024-10-18 22:22:34 +02:00
|
|
|
|
2024-10-07 19:17:37 +02:00
|
|
|
main {
|
2024-10-29 01:09:25 +01:00
|
|
|
|
2024-10-29 22:57:54 +01:00
|
|
|
sub start() {
|
|
|
|
blah.test()
|
|
|
|
}
|
|
|
|
}
|
2024-10-29 01:09:25 +01:00
|
|
|
|
2024-10-29 22:57:54 +01:00
|
|
|
txt {
|
|
|
|
; merges this block into the txt block coming from the textio library
|
|
|
|
%option merge
|
2024-10-29 01:09:25 +01:00
|
|
|
|
2024-10-29 22:57:54 +01:00
|
|
|
sub schrijf(str arg) {
|
|
|
|
print(arg)
|
|
|
|
}
|
|
|
|
}
|
2024-10-29 01:09:25 +01:00
|
|
|
|
2024-10-29 22:57:54 +01:00
|
|
|
blah {
|
|
|
|
; merges this block into the other 'blah' one
|
|
|
|
%option merge
|
2024-10-29 01:09:25 +01:00
|
|
|
|
2024-10-29 22:57:54 +01:00
|
|
|
sub test() {
|
|
|
|
printit("test merge")
|
2024-10-13 04:20:57 +02:00
|
|
|
}
|
2024-10-29 22:57:54 +01:00
|
|
|
}
|
2024-10-29 01:09:25 +01:00
|
|
|
|
2024-10-29 22:57:54 +01:00
|
|
|
blah {
|
|
|
|
sub printit(str arg) {
|
|
|
|
txt.schrijf(arg)
|
|
|
|
}
|
2024-09-14 23:17:26 +02:00
|
|
|
}
|