Changeset 133 for trunk/SRC/Utilities/testvar.pro
- Timestamp:
- 07/07/06 11:57:27 (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/testvar.pro
r132 r133 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME:testvar6 5 ; 7 ; PURPOSE:une sorte de keyword_set mais qd la valeur existe renvoie8 ; celle-ci6 ; @file_comments 7 ; A kind of keyword_set but when the value exist, it send it back 9 8 ; 10 ; CATEGORY:comme keyword_set9 ; @categories utlities 11 10 ; 12 ; CALLING SEQUENCE:res=testvar(var=variable) 13 ; 14 ; INPUTS:rien 11 ; @keyword var any kind of 15 12 ; 16 ; KEYWORD PARAMETERS:var : n''importe quoi13 ; @returns 0 if the variable does not exist 17 14 ; 18 ; OUTPUTS:0 si la variable n''existe pas 19 ; 20 ; COMMON BLOCKS: 21 ; 22 ; SIDE EFFECTS: 23 ; 24 ; RESTRICTIONS: 25 ; 26 ; EXAMPLE: 27 ; 28 ; IDL> print, testvar(var=toto) 15 ; @examples IDL> print, testvar(var=toto) 29 16 ; 0 30 17 ; IDL> print, testvar(var='toto') 31 18 ; toto 32 19 ; 33 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr)20 ; @history Sebastien Masson (smasson@lodyc.jussieu.fr) 34 21 ; 14/12/1999 22 ; 23 ; @version $Id$ 24 ; 35 25 ;- 36 26 ;------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.