k-style string form

What is the verb you can use to print stuff ink-style, i.e., as it would appear at the debugprompt? For instance t: ([x:1 2;y:3 4]z:sd)printed as “(+xy!(1 2;3 4))!+(,z)!,s`d”.Thanks,-- O.L.

0N!

X-Mailer: Apple Mail (2.936)also {-1@-3!x;}On Mar 18, 2010, at 3:20 AM, Charles Skelton wrote:> 0N!>> On Wed, Mar 17, 2010 at 2:13 AM, olivier > wrote:>> What is the verb you can use to print stuff in>> k-style, i.e., as it would appear at the debug>> prompt? For instance t: ([x:1 2;y:3 4]z:sd)>> printed as “(+xy!(1 2;3 4))!+(,z)!,s`d”.-- Aaron Daviesaaron.davies@gmail.com

I like eberhard’s debug4 utilities:

https://code.kx.com/trac/browser/contrib/simon/debug4/debug4.k

a neat little toolkit of debug printf_ish tools 

Hi again. 0N! and -3! are all good but they truncate.Is there any way to get the full expression, no matterhow long?I had a look at debug4.k and it uses -3! under thecovers, so it probably has the same limitation.

truncates to the limits from

\c height width

Is there a magic value of either (perhaps -1) that isinterpreted as “do not truncate in that dimension”?Yes, it might be dangerous to use it on a productionserver.