I am new to IDL and find the KEYWORD_SET
difficult to grasp. I understand that it is a go no go switch. I think its the knocking on and off part that I am having difficulty with. I have written a small program to master this as such
Pro get_this_done, keyword1 = keyword1
WW=[3,6,8]
PRINT,'WW'
print,WW
y= WW*3
IF KEYWORD_Set(keyword1) Then BEGIN
print,'y'
print,y
ENDIF
Return
END
WW
prints but print, y
is restricted by the keyword. How do I knock off the keyword to allow y
to print.
Silly little question, but if somebody can indulge me, it would be great.