QforMortals3/The Q Console

From Kx Wiki
Jump to: navigation, search

1.4 The Q Console

The q console evaluates a q expression that you enter and echoes the result on the following line. An exception to this is the assignment operation—as noted above—that has a return value, even though the console does not echo it. You may wonder why. This is simply a q console design choice to avoid cluttering the display.

Information.png To obtain official console display of any q value, apply the built- in function (show) to it.
q)show a:42
42



Prev: Whitespace, Next: Comments

Reprinted with the author's permission from: q for Mortals Version 3, An Introduction to Q Programming by Jeffry A. Borror.

The book is available on Amazon. In the United Kingdom, it is available at Amazon UK.

©2015 Jeffry A. Borror/ q4m LLC

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox