McIDAS User's Guide
Version 2015.2

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


UCU

Inspects the User Common (UC) memory block.


Formats

UCU PEEK word
UCU POKE word value


Parameters

PEEK

lists the current value in User Common

POKE

places a value in User Common

word

specific word number in User Common

value

new value to place in User Common


Remarks

User Common consists of workstation information that resides in memory. Programs access User Common to obtain current workstation configuration and state data. Each User Common word stores a separate piece of information, such as cursor line and element position, current image and graphics frame, current logon initials and project number.

User Common values can be placed directly into local command entries by using #UC(word) to replace a parameter or keyword value. For example, LB 1 #UC(13) sets the image loop bounds from 1 to the value stored in User Common word 13.

Caution !
Do not alter User Common. If you incorrectly modify a UC value,
you may need to exit and restart McIDAS to reinitialize its state.

Example

UCU PEEK 1

This entry lists the contents of User Common 1 (project number).


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]