) Column Shift Right

Syntax


)

)n

))

))n



Operands


n

A number that tells the editor how many positions to shift. If you omit this operand, the default is 2.  


Description

The  )  Column Shift Right line command moves characters on a line to the right without altering their relative spacing.  Characters shifted past the current BOUNDS setting are deleted.  


To Column Shift one line toward the right side of your display:

    1. Type  )  in the line command area of the line to be shifted.  Beside the command, type a number other than 2 if you want to shift the line other than 2 columns.  For example, to shift right 4 columns  )4  would be used.


When the n value is omitted, SPFLite uses the the "Default number of columns for data shifts" defined in the General Options dialog.  The installation default for this value is 2, for compatibility with IBM ISPF.  You can change this to any desired positive value.  For example, if you set the value to 4, then when you used the  )  line command with no n value, it would shift 4 columns instead of 2

    1. Press Enter
    2. The line data is shifted the requested number of positions. Characters shifted past the current BOUNDS setting are deleted.



To Column Shift a block of lines toward the right side of your display:

    1. Type  ))  in the line command area of the first line to be shifted.  Beside the command, type a number other than 2 if you want to shift the block of lines other than 2 columns.  For example, to shift right 4 columns  ))4  would be used.
    2. Type  ))  in the line command area of the last line to be shifted. You can scroll (or use FIND or LOCATE) between typing the first  ))  and the second  ))  if necessary.
    3. Press Enter.
    4. The lines that contain the two  ))  commands and all of the lines between them are column shifted to the right. Characters shifted past the current BOUNDS setting are deleted.




The BOUNDS setting limits column shifting. If you shift columns beyond the current BOUNDS setting, the editor deletes the text beyond the BOUNDS without displaying a warning message.


Created with the Personal Edition of HelpNDoc: Free Web Help generator