Ignore:
Timestamp:
05/11/06 12:35:53 (18 years ago)
Author:
smasson
Message:

debug + new xxx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ToBeReviewed/WIDGET/AUTOUR_de_XXX/createhistory.pro

    r49 r69  
    66   globalcommand = extractatt(top_uvalue, 'globalcommand') 
    77   *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] 
    812; composition du text contennu ds history.pro 
    913   texte = ['@common' $ 
    1014            , ' ' $ 
    11             , 'if n_elements(portrait) ne 0 then key_portrait = portrait' $ 
    12             , 'if n_elements(landscape) ne 0 then key_portrait = 1-landscape' $ 
    13             , ' ' $ 
    1415            , 'if keyword_set(postscript) then begin'  $ 
    1516            , '    noerase = 1' $ 
    16             , '    openps, infowidget = infowidget' $ 
     17            , '    openps, infowidget = infowidget, portrait = ' + strtrim(portrait, 2) $ 
    1718            , 'endif' $ 
    1819            , ' ' $ 
     
    3637   *top_uvalue[1, findline(top_uvalue, 'globalcommand')] = texte 
    3738;------------------------------------------------------------- 
    38  for i = 0, n_elements(texte)-1 do print, texte[i] 
     39for i = 0, n_elements(texte)-1 do print, texte[i] 
    3940;------------------------------------------------------------- 
    4041   return 
Note: See TracChangeset for help on using the changeset viewer.