raz
/
conform
/
run
/ StrBytesStop.raz
about
files
log
releases
feed
13 lines · 240 B ·
raw
·
history
· last change
7e721e08
1
(* putLE and putBE write at most 8 bytes: more stops the program. *)
2
module
StrBytesStop;
3
import
Out, Str;
4
5
proc
main*;
6
var
b: [
9
]
U8
;
7
begin
8
Out.str(
"before\n"
);
9
Str.putLE(b[
0
..
9
],
1
);
10
Out.str(
"after\n"
);
11
end
;
12
13
end
StrBytesStop.