11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

$Y• I/O Devices and Commands in <strong>Caché</strong> I/O Device Guide• Terminal I/O in <strong>Caché</strong> I/O Device Guide• Interprocess Communication in <strong>Caché</strong> I/O Device Guide$YContains the current vertical position of the cursor.$YDescription$Y contains the current vertical position of the cursor. As characters are written to a device,<strong>Caché</strong> updates $Y to reflect the vertical cursor position.Each line feed (newline) character (ASCII 10) that is output increments $Y by 1. A form feedcharacter (ASCII 12) resets $Y to 0.$Y is a 16-bit unsigned integer. $Y wraps to 0 when its value reaches 65536. In other words,if $Y is 65535, the next output character resets it to 0.You can use the SET command to give a value to $X and $Y. For example, you may usespecial escape sequences that alter the physical cursor position without updating the $X and$Y values. In this case, use SET to assign the correct values to $X and $Y after you use theescape sequences.NotesNLS Character MappingThe National Language Support (NLS) utility $X/$Y tab defines the $X and $Y cursormovement characters for the current locale. For further details, refer to Customized NationalLanguage Translations.$Y with Terminal I/OThe following table shows the effects of different characters on $Y.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!