Recent Changes - Search:

Interferometry basics

Observing

Data Reduction

AGN Large Programme

Other AGN programmes

High angular resolution @ MPIA

Other Links

PmWiki


DR /

VariablesAndKeywords

DR.VariablesAndKeywords History

Hide minor edits - Show changes to output

January 22, 2009, at 16:08 CET by leo -
Added lines 1-8:
In IDL you can have variables and keywords like this:

[@pro test, variable, keyword=keyword@]

you can then call the procedure test in the following ways:
* [@test, 1@]: then 'variable' is set to 1 and keyword to 0 (i.e. not set)
* [@test, 1, /keyword@]: then 'variable' and keyword are set to 1
* [@test, 1, keyword=5@]: then 'variable' is set to 1 and keyword is set to 5
Edit - History - Print - Recent Changes - Search
Page last modified on January 22, 2009, at 16:08 CET