Re: column aligmnent %4d versus %d

new topic     » goto parent     » topic index » view thread      » older message » newer message

I still think the best way is to use position to force the line to be straight.

I included a small code I whipped up real fast.

You can substitute your own data for Col%d.

include win32lib.ew 
constant col={1,15,22,33,44} 
integer i 
for x=1 to 10 do 
    for y=1 to length(col) do 
        position(x,col[y]) 
        printf(1,"Col%d",{y}) 
    end for 
end for 
i=wait_key() 
 

Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu