1. Formatting error in EU 4.0.2

The following code resulted in truncated output:

-- temp.ex 
sequence A = "some stuff", B 
B = sprintf ("A = %s", A) 
? B 
new topic     » topic index » view message » categorize

2. Re: Formatting error in EU 4.0.2

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 message » categorize

3. Re: Formatting error in EU 4.0.2

Must use sprintf ("A = %s", {A}) instead. Thank you, Matt.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu