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

5 lines
65 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
string s;
s := "1234";
s := decimal(scantokens(s)+1);
message s;