Printf puzzlement

new topic     » topic index » view thread      » older message » newer message
include std/io.e 
include std/filesys.e 
include std/error.e 
include std/console.e 
include std/graphics.e 
include std/sequence.e 
include std/cmdline.e 
integer key_code 
sequence test_sequence = "123456789" 
position (16,50) 
printf(1, "%7s", {test_sequence}) 
key_code = wait_key() 


Results in:
123456789

Why isn't it:
1234567

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

Search



Quick Links

User menu

Not signed in.

Misc Menu