Just another example of missing string interpolation

Walter Bright newshound2 at digitalmars.com
Tue Oct 17 17:27:41 UTC 2023


On 10/17/2023 10:24 AM, Walter Bright wrote:
> ```
> stderr.write("$clear\r$(white)Progress:$clear$progress%
> \t$(white)Speed:$clear $curSpeed $unit");
> ```


Oops, forgot the leading 'i':

```
stderr.write(i"$clear\r$(white)Progress:$clear$progress%
\t$(white)Speed:$clear $curSpeed $unit");
```


More information about the Digitalmars-d mailing list