Just another example of missing string interpolation
Commander Zot
no at no.no
Fri Oct 13 12:13:04 UTC 2023
On Thursday, 12 October 2023 at 19:56:48 UTC, kdevel wrote:
> On Thursday, 12 October 2023 at 17:25:09 UTC, Commander Zot
> wrote:
>> [...]
>> writeln(interp!"i has $speed !");
>
> What about
>
> ```d
> writeln(interp!"i has $speed,$speed !");
> ```
>
> ?
my code was just an example, you'd have to properly do the
parsing of the string. but there are already packages on dub for
that
More information about the Digitalmars-d
mailing list