From b3d34de313f65fde5ee2f7940053857fbab73385 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Fri, 10 Jun 2011 14:47:58 +1000 Subject: Update manual for recent changes Signed-off-by: Steve Bennett --- Tcl_shipped.html | 98 +++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 73 insertions(+), 25 deletions(-) (limited to 'Tcl_shipped.html') diff --git a/Tcl_shipped.html b/Tcl_shipped.html index fbe5fbd..9168e7c 100644 --- a/Tcl_shipped.html +++ b/Tcl_shipped.html @@ -676,11 +676,6 @@ Direct command line editing rather than the history command Expression shorthand syntax: $(…)

-
  • -

    -The binary command is not supported -

    -
  • @@ -720,6 +715,36 @@ Additional variables in tcl_platform() local procs now push existing commands and upcall can call them

    +
  • +

    +Add loop command (TclX compatible) +

    +
  • +
  • +

    +Add aio buffering command +

    +
  • +
  • +

    +info complete can now return the missing character +

    +
  • +
  • +

    +binary format and binary scan are now (optionally) supported +

    +
  • +
  • +

    +Add string byterange +

    +
  • +
  • +

    +Built-in regexp now support non-greedy repetition (*?, +?, ??) +

    +
  • @@ -772,7 +797,7 @@ Optional UTF-8 support
  • -Optional built-in regexp engines for better Tcl compatibility and UTF-8 support +Optional built-in regexp engine for better Tcl compatibility and UTF-8 support

  • @@ -2660,12 +2685,13 @@ cellspacing="0" cellpadding="4">

    lmap

    load

    local

    +

    loop

    lrange

    lrepeat

    lreplace

    -

    lreverse

    +

    lreverse

    lsearch

    lset

    lsort

    @@ -2673,9 +2699,9 @@ cellspacing="0" cellpadding="4">

    os.fork

    os.gethostname

    os.getids

    -

    os.uptime

    +

    os.uptime

    os.wait

    package

    pid

    @@ -2683,9 +2709,9 @@ cellspacing="0" cellpadding="4">

    proc

    puts

    pwd

    -

    rand

    +

    rand

    range

    read

    ref

    @@ -2693,9 +2719,9 @@ cellspacing="0" cellpadding="4">

    regsub

    rename

    return

    -

    scan

    +

    scan

    seek

    set

    setref

    @@ -2703,9 +2729,9 @@ cellspacing="0" cellpadding="4">

    sleep

    socket

    source

    -

    split

    +

    split

    stackdump

    stacktrace

    string

    @@ -2713,9 +2739,9 @@ cellspacing="0" cellpadding="4">

    switch

    syslog

    tailcall

    -

    tell

    +

    tell

    throw

    time

    try

    @@ -2723,9 +2749,9 @@ cellspacing="0" cellpadding="4">

    unset

    upcall

    update

    -

    uplevel

    +

    uplevel

    upvar

    vwait

    while

    @@ -2733,7 +2759,6 @@ cellspacing="0" cellpadding="4">

    -

    @@ -3956,14 +3981,6 @@ The legal option's (which may be abbreviated) are:

    - Returns a list of all open aio channels. -

    -
    -
    -info channels -
    -
    -

    Returns a list of all open file handles from open or socket

    @@ -3981,7 +3998,7 @@ The legal option's (which may be abbreviated) are:

    -info complete command +info complete command ?missing?

    @@ -3991,7 +4008,8 @@ The legal option's (which may be abbreviated) are: This command is typically used in line-oriented input environments to allow users to type in commands that span multiple lines; if the command isn’t complete, the script can delay evaluating it until additional - lines have been typed to complete the command. + lines have been typed to complete the command. If varName is specified, the + missing character is stored in the variable with that name.

    @@ -4299,6 +4317,19 @@ than waiting until garbage collection.

  • +

    loop

    +

    loop var first limit ?incr? body

    +

    Similar to for except simpler and possibly more efficient. +With a positive increment, equivalent to:

    +
    +
    +
    for {set var $first} {$var < $limit} {incr var $incr} $body
    +
    +

    If incr is not specified, 1 is used. +Note that setting the loop variable inside the loop does not +affect the loop count.

    +
    +

    lindex

    lindex list index

    Treats list as a Tcl list and returns element index from it @@ -5603,6 +5634,15 @@ Any hexadecimal digit character ([0-9A-Fa-f]).

    +string byterange string first last +
    +
    +

    + Like string range except works on bytes rather than characters. These commands + are identical if UTF-8 support is not enabled +

    +
    +
    string repeat string count
    @@ -6235,6 +6275,14 @@ uid 1000 euid 1000 gid 100 egid 100

    +$handle buffering none|line|full +
    +
    +

    + Sets the buffering mode of the stream. +

    +
    +
    $handle accept
    @@ -6977,7 +7025,7 @@ official policies, either expressed or implied, of the Jim Tcl Project.
    -- cgit v1.1