raz / conform / run / StrBytesStop.raz

13 lines · 240 B · raw · history · last change 7e721e08

1(* putLE and putBE write at most 8 bytes: more stops the program. *)
2module StrBytesStop;
3import Out, Str;
4
5proc main*;
6var b: [9]U8;
7begin
8 Out.str("before\n");
9 Str.putLE(b[0..9], 1);
10 Out.str("after\n");
11end;
12
13end StrBytesStop.