Error: variable i cannot be read at compile time

Vino vino.bheeman at hotmail.com
Mon Jan 8 08:38:30 UTC 2018


On Monday, 8 January 2018 at 08:22:21 UTC, thedeemon wrote:
> On Monday, 8 January 2018 at 07:37:31 UTC, Vino wrote:
>>>>  I tried to manipulate the writeln's as below but the output 
>>>> is not as expected as it prints the data in row wise, where 
>>>> as we need it in column wise.
>
> Ah, sorry, now I think I get it.
> Your problem is you get output like ["a","b","c"] and instead 
> you want
> a
> b
> c
>
> right?
>
> Well, I think you know how to write a loop and output one item 
> per line inside this loop.

HI Deemon,

   Yes the output is required as below, and trying the same, but 
still no luck.
a
b
c

From,
Vino.B


More information about the Digitalmars-d-learn mailing list