Hi folks - I am triyng to set up a very simple startup file for IDL 7.0 in Windows. I know to set the environment variable, and IDL obviosuly sees my file and tries to exceute it... but parts of it work and others do not. I am at a loss! here is the code:
DEVICE, RETAIN=2, TRUE_COLOR=24, DECOMPOSED=0
LOADCT, 0
!P.BACKGROUND=’FFFFFF’x
!P.COLOR=’000000’x
!P.FONT=-1
DEVICE, SET_CHARACTER_SIZE=[9,12]
Window, XSIZE=400, YSIZE=400, /PIXMAP
Plot, Findgen(11)
WDelete, !D.Window
here is the result upon startup:
% Keyword TRUE_COLOR not allowed in call to: DEVICE
% Execution halted at: $MAIN$
% Compiled module: LOADCT.
% Compiled module: FILEPATH.
% Compiled module: PATH_SEP.
% LOADCT: Loading table B-W LINEAR
% Variable is undefined: B.
% Execution halted at: $MAIN$
% Variable is undefined: B.
% Execution halted at: $MAIN$
.. any ideas what is going on, here? It's says like this I miss Unix..
thanks,
Cyndy
|