Right

Keys

RIGHT, CTRL+D

Right

Moves the cursor one character to the right. If this action causes the cursor to move out of the window, PWB adjusts the window to the right according to the Hscroll switch.

Meta Right (F9 RIGHT)

Moves the cursor to the rightmost position in the window.

Returns

TrueCursor on text in the line.

FalseCursor past text on the line.

Example

In a macro, the return value of the Right function can be used to test if the cursor is on text in the line or past the end of the line.

The following macro tests the return value to simulate the Endline function:

MyEndline := Begline :>loop Right +>loop

See

Begline, Endfile, Endline, Home, Left