topcreatepro
Parameters
command
in
required
type: string array
Keywords
FILENAMEIN
in
default: for_createpro.pro
KWDLIST
in
KWDUSED
Examples
IDL> createpro, ['print,''OK'''], filename='test'
IDL> createpro, ['if keyword_set(ok) then print,''OK'' else print, ''No'''] $
IDL> , filename = 'test', kwdlist =', ok = ok'
IDL> createpro, ['if keyword_set(ok) then print,''OK'' else print, ''No'''] $
IDL> , filename = 'test', kwdlist = ', ok = ok', /ok
Version history
Version
$Id: createpro.pro 136 2006-07-10 15:20:19Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
cleaning + new keywords: October 2005
Feb. 2006: supress keyword "kwdused" and use call_procedure instead of execute
Known issues
Restrictions
- is not working with functions, use createfunc instead.
- arguments can be given only through keywords.
- ends the procedure name with '.pro' if needed.
Statistics
McCabe cyclic | 6 |
McCabe essential | 1 |
McCabe modular design | 1 |