View unanswered posts | View active topics It is currently Tue Oct 21, 2014 10:27 pm






Reply to topic  [ 2 posts ] 
Why no parameters for task functions? 
Author Message
Rookie
User avatar

Joined: Mon Dec 31, 2007 12:51 pm
Posts: 5
Location: United States
Post Why no parameters for task functions?
Why is a parameter list not allowed for task functions? I like the prospect of passing by reference to a task...

Thanks,
Olorin


Mon Dec 31, 2007 11:18 pm
Profile
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 615
Post 
The lack of parameters on task / thread / process is fairly common practice with Operating Systems.

If you really want to pass some information, then use some global variables to set up values that can then be checked within the task.

Recall that the syntax for starting execution of a task is "StartTask(<name>)". There is no option for parameters.


Wed Mar 05, 2008 1:23 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.