String interpolation (included): Difference between revisions

Content deleted Content added
Petelomax (talk | contribs)
m →‎{{header|Phix}}: use pygments
Miks1965 (talk | contribs)
PascalABC.NET
Line 1,663:
<syntaxhighlight lang="parigp">s=Strprintf("The value was: %Ps", 1<<20);
printf("The value was: %Ps", 1<<20);</syntaxhighlight>
 
=={{header|PascalABC.NET}}==
<syntaxhighlight lang="delphi">
var extra := 'little';
var formatted := $'Mary has a {extra} lamb.';
Print(formatted);
</syntaxhighlight>
 
 
=={{header|Perl}}==