Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. /* REXX (OS/2) */
  2. Parse arg filename
  3. call stream filename, 'C', 'Open'
  4. Do while Lines(filename)
  5. line = linein(filename)
  6. Parse value line with left ' ' right
  7. If left > right Then line = right || ' ' || left
  8. pos=stream(filename, 'C', 'Seek -'Length(line)+2)
  9. call lineout filename, line
  10. End
  11. call stream filename, 'C', 'Close'
  12. Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement