To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 561
560  |  562
Subject: 
Re: Spirit.OCX & Starting a Program
Newsgroups: 
lugnet.robotics
Date: 
Sun, 15 Nov 1998 17:03:59 GMT
Viewed: 
2222 times
  
I don't use spirit.ocx - I work directly with the bytecodes, but I think
this info is true for spirit.ocx as well...

The number in StartTask(number) refers to a task within a program (each
program can have multiple tasks).  Typically, you would use this to spawn
off additional tasks from within a program.

Since task 0 is the task activated by the "Run" button, you can run a
program by using StartTask(0).  You can select which program to run with
the SelectProgram() command.

Dave

In article <01BE1089.5B2814F0@h24-64-172-126.mt.wave.shaw.ca>,
lego-robotics@crynwr.com (Rob Giannini) wrote:

If I want to start a program using spirt.ocx do I use StartTask (number) ?

I've been trying to use this with no luck.  And would appreciate some
help with this.

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: Spirit.OCX & Starting a Program
 
(...) Is it possible to do this from within a running program? What I read implied to me that the SelectProgram() would stop the current program so it wouldn't be running to issue the StartTask(). It would sure be nice to have a movement program (...) (26 years ago, 16-Nov-98, to lugnet.robotics)

Message is in Reply To:
  Spirit.OCX & Starting a Program
 
If I want to start a program using spirt.ocx do I use StartTask (number) ? I've been trying to use this with no luck. And would appreciate some help with this. (26 years ago, 15-Nov-98, to lugnet.robotics)

7 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR