![]() | ||
| Home | SwiftX Archive | SwiftForth Archive | |

Viviane,
One technique that I've used during development is keep the <taskname>
ACTIVATE words together and rather than include ACTIVATE in the task
itself. This allows me to test my routines on the console (or in the main
terminal task). This way I don't have to modify the words to use them as
tasks. In your working code, you would make these small changes:
: SEQBITFLASH BEGIN PAUSE ... code ... AGAIN ;
After this is done, this action can be assigned to a TASK, so:
TASK ACTIVATE SEQBITFLASH
Its a small difference but makes clearer that SEQBITFLASH is a task started
with the name TASK. In function, yours is identical and works perfectly.
Its just a readability issue.
Cheers,
Noel
On Monday 11 August 2003 07:12 am, you wrote:
> Hi,
>
> >Much better!
> >
> >One thing that is hard to understand about Forth it that it is
> > _completely_ understandable.
>
> That's exactly what I find too. Nothing's easier.
>
>
> In this case you don't have 100KB of code that manages
>
> >tasks to try to understand. You have maybe a few dozen bytes.
>
> Yes. Quite unbelievable.
>
> >I hope you continue to have fun with it!
>
> I'll do. Meanwhile my vectored execution is already OK too.
> And now I am now going to try to write that start loop.
>
> Best greetings,
> Viviane
> ----------------------------------------------------------------------
> swiftx_at_forth.com The SwiftX programming discussion email list
> To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
> For list command help, send subject "help" to swiftx-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/swiftx
> ----------------------------------------------------------------------
> This list is a forum for SwiftX users. For product support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
For list command help, send subject "help" to swiftx-request_at_forth.com
Message archives are located at http://www.forth.com/archive/swiftx
----------------------------------------------------------------------
This list is a forum for SwiftX users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Mon Aug 11 2003 - 07:42:26 PDT
This archive was generated by hypermail 2.2.0 : Mon Dec 01 2008 - 03:04:47 PST