Skip to content
Tcl Source Code History Of Ticket 218326
Login

History Of Ticket 218326

Artifacts Associated With Ticket 218326

  1. Ticket change [9021b40754] (rid 120395) by nobody on 2000-10-26 00:56:15:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 3869 RFE
      Version: 8.0.3
      SubmitDate: '1999-12-13'
      LastModified: '1999-12-15'
      Severity: LOW
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Linux-Red Hat
      OSVersion: RedHat 5.2 i386
      Machine: AMD K6-350 MHz
      FixedDate: '2000-10-25'
      ClosedDate: '1999-12-15'
      
      
      Name:
      Constantin Teodorescu
      
      Extensions:
      Tcl 8.0.3
      
      DesiredBehavior:
      It would be nice if we could assign the values from a small list to a list of variables:
      set mylist [list Teo 35 Braila Romania]
      lmap $mylist name age city country
      
      "lmap" (list map) will be the new command. I know that there is a "lassign" command in TclX but I would like to find it also in pure Tcl. For the moment I'm  using:
      
      foreach {name age city country} $mylist {}
      
      but it's less elegant.
      
      
      
      lassign can be made in pure Tcl, as noted on the newsgroup.
      We are considering a new ::listx metacommand for 8.3/4. 
      -- 12/15/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Quick mapping of a small list to variables"
    11. type initialized to: "RFE"
  2. Ticket change [ca89d7c438] (rid 95368) by welch on 2000-10-26 08:20:06:

    1. closedate changed to: "2000-10-26T01:20:06"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [a78ede0c8d] (rid 98823) by dgp on 2001-04-16 22:49:51:

    1. foundin changed to: "None"
    2. status changed to: "Open"
    3. subsystem changed to: "None"
  4. Ticket change [724dbc46c4] (rid 100832) by dgp on 2001-04-16 22:50:26:

    1. subsystem changed to: "- New Builtin Commands"
  5. Ticket change [89675ec82d] (rid 132018) by andreas_kupries on 2001-09-18 01:22:37:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Also see TIP 57 and 58 
      (http://www.purl.org/tcl/tip/57.html, 
      http://www.purl.org/tcl/tip/58.html)
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  6. Ticket change [7ccd453d6f] (rid 97139) by dgp on 2003-11-13 06:15:22:

    1. assignee changed to: "dkf"
  7. Ticket change [27238b5683] (rid 88469) by dkf on 2004-06-16 03:49:19:

    1. closedate changed to: "2004-06-15T20:49:19"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Tcl 8.5 includes an 'lassign' command with *exactly* the
      syntax and semantics of the TclX version.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "dkf"