Difference between revisions of "Task save"

From Catglobe Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
=====Task_save=====
 
=====Task_save=====
  
Save task
+
Save the task
  
 
'''Syntax'''
 
'''Syntax'''

Latest revision as of 06:07, 23 December 2011



Task_save

Save the 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