Difference between revisions of "Task save"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Task_Functions]]
 
[[Category:Task_Functions]]

+
{{HelpFiles}}
  
 
=====Task_save=====
 
=====Task_save=====

Revision as of 10:39, 12 December 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