Changeset 69 for trunk/ToBeReviewed/WIDGET/AUTOUR_de_XXX/createhistory.pro
- Timestamp:
- 05/11/06 12:35:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ToBeReviewed/WIDGET/AUTOUR_de_XXX/createhistory.pro
r49 r69 6 6 globalcommand = extractatt(top_uvalue, 'globalcommand') 7 7 *top_uvalue[1, findline(top_uvalue, 'globaloldcommand')] = globalcommand 8 ; portrait or landscape ??? 9 options = extractatt(top_uvalue, 'options') 10 optionsflag = extractatt(top_uvalue, 'optionsflag') 11 portrait = (optionsflag[where(options EQ 'Portrait/Landscape'), 0])[0] 8 12 ; composition du text contennu ds history.pro 9 13 texte = ['@common' $ 10 14 , ' ' $ 11 , 'if n_elements(portrait) ne 0 then key_portrait = portrait' $12 , 'if n_elements(landscape) ne 0 then key_portrait = 1-landscape' $13 , ' ' $14 15 , 'if keyword_set(postscript) then begin' $ 15 16 , ' noerase = 1' $ 16 , ' openps, infowidget = infowidget '$17 , ' openps, infowidget = infowidget, portrait = ' + strtrim(portrait, 2) $ 17 18 , 'endif' $ 18 19 , ' ' $ … … 36 37 *top_uvalue[1, findline(top_uvalue, 'globalcommand')] = texte 37 38 ;------------------------------------------------------------- 38 ; 39 ; for i = 0, n_elements(texte)-1 do print, texte[i] 39 40 ;------------------------------------------------------------- 40 41 return
Note: See TracChangeset
for help on using the changeset viewer.