[Cobolforgcc-devel] MOVE subroutine in UNSTRING
Status: Pre-Alpha
Brought to you by:
timjosling
From: Steven O. E. <so...@so...> - 2001-04-08 20:07:00
|
Tim, The UNSTRING statement, conceptually at least, has an embedded MOVE in it. I understand from recent messages on the mailing list that you are working on MOVE. Please let me know when you have a first draft, so that I may "borrow" from it when coding UNSTRING. Meanwhile, I will work on test cases, and rest of the prototype. Here is the relevant clause from the 1985 Standard, referring to a subset of characters from the source area to be moved to one of the receiving areas. 6.27.4 General Rules (13) c. The characters thus examined (excluding the delimiting character(s), if any) are treated as an elementary alphanumeric data item, and are moved into the current receiving area according to the rules for the MOVE statement. (See page VI-103, The MOVE Statement.) This becomes nontrivial when you consider that the receiving area may be defined as signed numeric or alphanumeric right-justified. Steven |