Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Task accept: Difference between revisions

From Catglobe Wiki
No edit summary
 
Line 17: Line 17:


* taskResourceId: is a number expression. It is the resource id of the task
* taskResourceId: is a number expression. It is the resource id of the task
* userResourceId: is a number expression. It is the resource id of user who accepts the task. In case userResourceId is not input, its default value is the userResourceid of the user 's the current thread
* userResourceId: is a number expression. It is the resource id of user who accepts the task. In case userResourceId is not input, its default value is the userResourceid of the current thread's user.


'''Return value'''
'''Return value'''

Latest revision as of 03:21, 23 December 2011



Task_accept

Accept a task

Syntax

Task_accept(taskResourceId)

or

Task_accept(taskResourceId, userResourceId)

Arguments

  • taskResourceId: is a number expression. It is the resource id of the task
  • userResourceId: is a number expression. It is the resource id of user who accepts the task. In case userResourceId is not input, its default value is the userResourceid of the current thread's user.

Return value

empty

Example

number taskResourceId = 34802722;

print(Task_accept(taskResourceId));

Availability

Version 5.8