Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 18060b70fc0775bf77557d9fc22fe00d1a9da887d09e522648d152153c91f3ea
Ticket: 85b7226da1ecf6194342f802ff4361bfc75b8a34
scan of data containing 0x, 0b treated differently to 0d,0o
User & Date: griffin on 2023-09-02 23:06:42
Changes

  1. icomment:
    With the current state of trunk, Tcl scan matches C's sscanf() behavior, AFAICT.
    
    So it depends on what specification the Tcl implementation is intended to address: C compatible string input? Or, Tcl compatible string input. Given Tcl's "everything is a string" and the plethora of ways for Tcl to process a number, I think C compatibility may be more important wrt scan, IMHO.
    
    Thoughts?
    
  2. login: "griffin"
  3. mimetype: "text/x-markdown"