raz
/
conform
/
err
/ StringToSlice.raz
about
files
log
releases
feed
12 lines · 225 B ·
raw
·
history
· last change
4402a682
1
(* A string is a []const U8, and doesn't go into a []U8, which could
2
write its constant bytes (report 5.10). *)
3
module
StringToSlice;
4
5
proc
main*;
6
var
s: []
U8
;
7
begin
8
s :=
"abc"
;
9
s[
0
] :=
0
;
10
end
;
11
12
end
StringToSlice.