Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/String-length/Metafont/string-length.metafont
Normal file
6
Task/String-length/Metafont/string-length.metafont
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
string s;
|
||||
s := "Hello Moose";
|
||||
show length(s); % 11 (ok)
|
||||
s := "Hello Møøse";
|
||||
show length(s); % 13 (number of bytes when the string is UTF-8 encoded,
|
||||
% since ø takes two bytes)
|
||||
Loading…
Add table
Add a link
Reference in a new issue