Re: [colorforth] CF05 'copy'ies two blocks instead of one.
- Subject: Re: [colorforth] CF05 'copy'ies two blocks instead of one.
- From: "Jeff Fox" <fox@xxxxxxxxxxxxxxxxxxx>
- Date: Sat, 27 May 2006 16:25:29 -0700 (PDT)
- Importance: Normal
I copy was changed to one block on the version we use
sometime, perhaps around new years. I found copy to
be easier to use if it just copied one block too.
And the idea is that odd numbered blocks are shadow
comment blocks. They can be loaded, but by convention
they are just comments.
We used colors to make colorful comments on some shadow
blocks, but I don't think there is any actual code
on odd numbered blocks. Because there is red and green
and yellow and white these comment blocks might include
copies of the code being explained, or the explanation
might be colorful.
Now in okad2, in the cross compiler, in the target
code blocks, I did put some target chip source code
on odd numbered blocks. But that's way above the
public domain part.
We hope to have a new 1k kernel next week for the
colorforth rewrite project. And we are trying to
address the concerns that people have had with
booting and interfaces.
In fact Chuck made another change in 2006 buy
removing the support for green variables. and
green variables from his code. I didn't report
it, but the patch is just a store into the kernel.
I have been more focused on the apps than the
system changes. But we have more people working
with and on the stuff now.
> 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
> that would skip a range of blocks displayed in the editor evenly. Self
> descriptive code plus time codes and version descriptions on the
> doc-block would round out the set.
>
> Happy coding!
> Ray St. Marie
>
> Remember:
> When you want to copy a change to just the doc-block, you must * key
> back out to the associated code block before copying. You must copy
> both blocks together.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
> Main web page - http://www.colorforth.com
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com