all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 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