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_assistant_output/ToBeReviewed/LECTURE/binary.html

    r338 r402  
    106106 
    107107    <h3>Examples</h3><pre> 
     108 
    108109   Binary representation of 11b: 
    109      IDL> print, binary(11b) 
     110   IDL> print, binary(11b) 
    110111     0 0 0 0 1 0 1 1 
     112 
    111113   Binary representation of pi (x86: Little-endian IEEE representation): 
    112      IDL> print, format='(z9.8,5x,4(1x,8i1))', long(!pi,0), binary(!pi) 
     114   IDL> print, format='(z9.8,5x,4(1x,8i1))', long(!pi,0), binary(!pi) 
    113115      40490fdb      01000000 01001001 00001111 11011011 (x86 Linux) 
    114116      0fdb4149      00001111 11011011 01000001 01001001 (Alpha OpenVMS) 
    115      IDL> print, format='(8(1x,8i0))', binary(!dpi) 
     117   IDL> print, format='(8(1x,8i0))', binary(!dpi) 
    116118      01000000 00001001 00100001 11111011 01010100 01000100 00101101 00011000 
     119 
    117120   Some first tests before type double was added: 
    118      print, format='(2a6,4x,2z9.8,4x,8z3.2)', $ 
     121   IDL> print, format='(2a6,4x,2z9.8,4x,8z3.2)', $ 
    119122       !version.arch, !version.os, long(!dpi,0,2), byte(!dpi,0,8) 
    120123       x86 linux     54442d18 400921fb     18 2d 44 54 fb 21 09 40 
     
    126129     
    127130    <h4>Version</h4> 
    128  $Id: binary.pro 325 2007-12-06 10:04:53Z pinsard $ 
     131 $Id: binary.pro 371 2008-08-07 09:32:02Z pinsard $ 
    129132 
    130133    <h4>History</h4> 
Note: See TracChangeset for help on using the changeset viewer.