In the ooRexx Reference, section 5.4.7.29. renameTo describes the underlying commands used to perform the action. The Windows and Unix commands listed are reversed. Should be: Windows -> rename, Unix -> movefile.
There are some considerations how a file rename works on each OS. This is why rexxref gives the actual OS functions used, so you can look up the details, if required:
MoveFile is the Windows API that is called to do the renaming. rename is the Unix API called to do the same.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Submitted doc fix with revision [r11274]
added ".. the .. API .."
corrected SysFileMove() as available on both Windows and Unix instead of Windows-only
There are some considerations how a file rename works on each OS. This is why rexxref gives the actual OS functions used, so you can look up the details, if required:
MoveFile is the Windows API that is called to do the renaming.
rename is the Unix API called to do the same.
Sorry, I misread what it was trying to tell me. I thought it was giving the "command", not the API.
If Gil can get confused, then I submit that some correction should be done. It might be as
simple as saying "... the API ..."
Submitted doc fix with revision [r11274]
added ".. the .. API .."
corrected
SysFileMove()
as available on both Windows and Unix instead of Windows-onlyRelated
Commit: [r11274]
I believe that the new wording is much clearer. Thanks!