Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b06095b9e3fe61cac3db5d0790d4285d52fd47c0
Ticket: cafef7c5856ec8b1cbc0ea13c6c41d96d9982d75
Unexplained code in StringRplcCmd function (tclCmdMZ.c)
User & Date: FireTcl on 2015-02-18 22:46:17
Changes

  1. icomment:
    Thanks for your very good explanation. I didn't imagine this situation.
    
    What about changing the second group of two sentences for this other code:
    
    if (objv[1]== objv[2] || objv[1] == objv[3]){
         ustring = Tcl_GetUnicodeFromObj(objv[1], &length);
         length--;
    }
    
    Perhaps this makes the code a little more efficient and clear.
    
    Awaiting your opinion,
    Miguel.
    
  2. login: "FireTcl"
  3. mimetype: "text/plain"