RosettaCodeData/Task/Increment-a-numerical-string/Metafont/increment-a-numerical-string.metafont

5 lines
65 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
string s;
s := "1234";
s := decimal(scantokens(s)+1);
message s;