Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5d990a8c15d5769344b65a97f0fa42fd74e89d66
Ticket: 218432ffffffffffffffffffffffffffffffffff
Binary command documentation error
User & Date: nobody on 2000-10-26 00:57:32
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 6035 Bug
    Version: 8.3.1
    SubmitDate: '2000-07-21'
    LastModified: '2000-07-21'
    Severity: LOW
    Status: Closed
    Submitter: angie
    ChangedBy: ericm
    OS: Windows NT
    OSVersion: 4.0sp6a
    Machine: dual pentium pro 200mhz, 256mb
    FixedDate: '2000-10-25'
    ClosedDate: '2000-07-21'
    
    
    Tcl 8.3.1 Bug
    
    Name:  David LeBlanc
    email:  [email protected]
    Support:  None
    Severity:  4
    OperatingSystem:  Windows NT
    OperatingSystemVersion:  4.0sp6a
    Machine:  dual pentium pro 200mhz, 256mb.
    Extensions:  none
    Synopsis:  Binary command documentation error
    
    ReproducibleScript:
    read the binary command page in the (at least windows) help.
    
    ObservedBehavior:
    This command provides facilities for manipulating binary data.  The first form, binary format, creates a binary string from normal Tcl values.  For example, given the values 16 and 22, it might produce an 8-byte binary string consisting of two 4-byte integers, one for each of the numbers.  The second form of the command,  binary scan, does the opposite: it extracts data from a binary string and returns it as ordinary Tcl string values.  
    
    DesiredBehavior:
    This command provides facilities for manipulating binary data.  The first form, binary format, creates a binary string from normal Tcl values.  For example, given the values 16 and 22, it might produce an 8-bit binary string consisting of two 4-bit integers, one for each of the numbers.  The second form of the command,  binary scan, does the opposite: it extracts data from a binary string and returns it as ordinary Tcl string values.  
    
    Patch:
    "Expected behavior" (item 10) has the corrected text.
    Posted To comp.lang.tcl: Posted Successfully
    
    
    
    I believe the documentation is correct as is, at least for 32 bit platforms.  I will note in the documentation that the example is for a 32 bit platform.
    
       Eric Melski                            The Other Tcl Guy
       ericm at ajubasolutions.com            Ajuba Solutions
    
    -- 07/21/2000 ericm
    
    
    
  4. foundin changed to: "obsolete: 8.3.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Binary command documentation error"
  11. type changed to: "Bug"