Top
Back: killTask
Forward: compareTasks
FastBack: resources_lib
FastForward: schubert_lib
Up: tasks_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.22.3 copyTask

Procedure from library tasks.lib (see tasks_lib).

Usage:
copyTask(t), t task

Return:
a copy of t.

Note:
'task t1 = copyTask(t2);' is not the same as 'task t1 = t2;'. After the latter command, t1 points to the same object as t2; any changes to t2 will also effect t1. In contrast to this, copyTask() creates a new independend task.
A task whose state is 'started' cannot be copied.

Example:
 
See also: compareTasks; createTask; getArguments; getCommand; getResult; getState; killTask; printTask.


Top Back: killTask Forward: compareTasks FastBack: resources_lib FastForward: schubert_lib Up: tasks_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-7, Aug 2013, generated by texi2html.