Difference between revisions of "Task save"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Task_Functions]]
 

 

  

Revision as of 08:10, 11 November 2011



Task_save

Save task

Syntax

Task_save(task)

Arguments

  • task: is an array which is task object.

Return value

empty

Example

string taskName = "New task";

number parentResourceId = 34778803;

string taskDescription = "Test test";

number taskTemplateResourceId = 34776159;

array newtask = Task_new(taskName, parentResourceId, taskDescription, taskTemplateResourceId);

print(Task_save(newtask));

Availability

Version 5.8