QueryTask Task
This task returns a hash that describes the properties of an IDL task.
Example
; Get the task from the catalog of IDLTasks
Task = IDLTask('QueryTask')
; Provide inputs
Task.Task_Name = 'QueryAllTasks'
; Run the task
Task.Execute
; Print the task parameters
Print, Task.DEFINITION, /IMPLIED_PRINT
Syntax
Result = IDLTask('QueryTask')
Task properties: See IDLTask for inherited properties.
Input properties: TASK_NAME
Output properties: DEFINITION
Methods
This task inherits the following methods from IDLTask:
Properties
DEFINITION
An IDLTaskInfo hash that describes the properties of an IDL task.
REVISION
A string with the semantic revision number of the task. The "revision"
key is for development purposes only. The revision number does not affect which task file is loaded.
TASK_NAME (required)
A string with a selected task name to query. Use the following options to get a list of task names:
- Use QueryTaskCatalog Task as follows:
IDL> Task = IDLTask('QueryTaskCatalog')
IDL> Task.Execute
IDL> Print, Task.TASKS, FORMAT='(A)'
Version History
8.5.2 |
Introduced |
8.7 | Added the REVISION property |