ICSE 2001 Logo   Rigi Logo
 
rcl_isshifted
Back to RCL Command Index

No arguments accepted.

Description:

This procedure returns the status of the right or left shift keys as a string.

Return Value:

If either the right or left shift keys is depressed when this call is executed, it returns a string containing the character "1." Otherwise, the character "0" is returned. The shift status may not be correct if event processing is frozen due to a "grab."

Exceptions:

None.

Example:

# If the shift is depressed, add to a set of previously
# selected nodes those nodes having the name "mynode."
# If the shift is not depressed, the previously selected
# nodes are deselected.

rcl_select_name mynode [rcl_isshifted]

Back to RCL Command Index

.