27 May 2006 23:59
CF05 'copy'ies two blocks instead of one.
Ray St. Marie <ray.stmarie <at> gmail.com>
2006-05-27 21:59:51 GMT
2006-05-27 21:59:51 GMT
Hello all, Ray here. Reporting that the 2005 version of colorforth changes the word copy to include the block used to document the code block, and moves that documentation to the block one after the code block being copied. copy ( n -- ) effect: copy the current block in the editor and the next one, stored as the editor system variable blk and move to the blocks n and n+1, leave the editor with the target block displayed. This is new for colorforth. This makes colorforth into a two block system. Work block seperated by the space to document that block. The thing to be aware of is when you have code on a documentation block. Why would you want to do this? It used to be convenient to temporarily use the doc-block as a version of the current code. They would be side by side. You could compare them. You still can, obviously. You just use + and - and stay on even blocks and not use the doc-block for code ever. I often found it a convenience to use copy to double words that were used many times. Take for example ' ; ' semi-colon. It is now necassary to copy to blocks at the end of the currently coded blocks to use this method. The convenience was that you could do this between two empty doc-blocks nearer to your code. Still, a simple versioning system could be made out of just using copy the new way, and adding to the left hand keyboard the + and - keys(Continue reading)
RSS Feed