- 1

What is str in pascal

Give me expansion if str (x,y) ; D =12 and n = 4 procedure haha(d:string); var i:integer; tmp:string; begin if (length(d)=n) then writeln(d) else for i:=1 to n do begin str(i,tmp); haha(d+tmp); end; end;

23rd Feb 2019, 1:14 PM
Arfan Smansa
Arfan Smansa - avatar
2 Antworten
+ 2
Converts a number to string. Google: pascal str :)
23rd Feb 2019, 2:25 PM
unChabon
unChabon - avatar
0
How the output from str (234,34)?
23rd Feb 2019, 2:28 PM
Arfan Smansa
Arfan Smansa - avatar