embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: Name of the Main task

From: Ron Oliver <roliver_at_openesque.com>
Date: Thu, 2 Oct 2003 16:06:23 -0400 (EDT)

On Thu, 2 Oct 2003, Elizabeth D. Rather wrote:

> It is OPERATOR. Its user area is set up in <mcu>\Start.f.
>
> > -----Original Message-----
> > From: swiftx-bounce_at_forth.com [mailto:swiftx-bounce_at_forth.com]On Behalf
> > Of Noel Henson
> > Sent: Thursday, October 02, 2003 12:16 PM
> > To: swiftx_at_forth.com
> > Subject: [swiftx] Name of the Main task
> >
> >
> > Forth Gods,
> >
> > What is the name of the primary (or initial) task in SwiftX? I have task
> > that needs to access the user variables of the task that is started when
> > SwiftX boots.

On every SwiftX I've seen, OPERATOR is defined after the application
code is loaded, so you won't be able to reference OPERATOR in your
app by name without doing something ugly (i.e.: change load order,
DEFERs, etc.)

If all you care about is getting at OPERATOR's user variables,
here's an easier way: Define a variable in your app called, say,
STARTER. Somewhere in GO, do
   STATUS STARTER !
Then you can reference OPERATOR's user variables thusly:
   STARTER 'TYPE HIS

-- 
Ron Oliver <roliver_at_openesque.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 Thu Oct 02 2003 - 13:09:18 PDT

This archive was generated by hypermail 2.2.0 : Fri Dec 05 2008 - 03:04:22 PST