Difference between revisions of "Task save"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Task_Functions]]

+
{{HelpFiles}}
  
 
=====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