Re: Formatting error in EU 4.0.2

new topic     » goto parent     » topic index » view thread      » older message » newer message
FredRansom said...

The following code resulted in truncated output:

-- temp.ex 
sequence A = "some stuff", B 
B = sprintf ("A = %s", A) 
? B 

To get what you want, you need to do this:

 
-- temp.ex 
sequence A = "some stuff", B 
B = sprintf ("A = %s", {A}) 
? B 

Note the brackets around A as the second argument to printf().

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu