Ignore:
Timestamp:
07/23/09 11:18:49 (15 years ago)
Author:
smasson
Message:

update documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/LECTURE/binary.html

    r338 r402  
    141141 
    142142          <h3>Examples</h3><div class="preformat"> 
     143 
    143144   Binary representation of 11b: 
    144      IDL> print, binary(11b) 
     145   IDL> print, binary(11b) 
    145146     0 0 0 0 1 0 1 1 
     147 
    146148   Binary representation of pi (x86: Little-endian IEEE representation): 
    147      IDL> print, format='(z9.8,5x,4(1x,8i1))', long(!pi,0), binary(!pi) 
     149   IDL> print, format='(z9.8,5x,4(1x,8i1))', long(!pi,0), binary(!pi) 
    148150      40490fdb      01000000 01001001 00001111 11011011 (x86 Linux) 
    149151      0fdb4149      00001111 11011011 01000001 01001001 (Alpha OpenVMS) 
    150      IDL> print, format='(8(1x,8i0))', binary(!dpi) 
     152   IDL> print, format='(8(1x,8i0))', binary(!dpi) 
    151153      01000000 00001001 00100001 11111011 01010100 01000100 00101101 00011000 
     154 
    152155   Some first tests before type double was added: 
    153      print, format='(2a6,4x,2z9.8,4x,8z3.2)', $ 
     156   IDL> print, format='(2a6,4x,2z9.8,4x,8z3.2)', $ 
    154157       !version.arch, !version.os, long(!dpi,0,2), byte(!dpi,0,8) 
    155158       x86 linux     54442d18 400921fb     18 2d 44 54 fb 21 09 40 
     
    161164           
    162165          <h4>Version</h4><div class="preformat"> 
    163  $Id: binary.pro 325 2007-12-06 10:04:53Z pinsard $ 
     166 $Id: binary.pro 371 2008-08-07 09:32:02Z pinsard $ 
    164167</div> 
    165168          <h4>History</h4><div class="preformat"> 
Note: See TracChangeset for help on using the changeset viewer.