Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Right Macro Example
 Description                               Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     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
                                    -♦-