|
2001-10-16
| ||
| 19:14 | • Closed ticket [471669ffff]: update idletask plus 7 other changes artifact: 47a13fe5bb user: dkf | |
| 10:40 | • New ticket [471669ffff]. artifact: 1494ab3cdc user: nobody | |
update idletask
Closed / Invalid471669ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-10-16 10:40:08
I have found a strange aspect of tcl 8.3.3 "update" command on Windows. See the example below: % update % update a bad option "a": must be idletasks % update i % update id % update idl % update idle % update idletask % update idletasks % update idletaskss bad option "idletaskss": must be idletasks Anyone knows why "update i" does not throw an error and what update between "update" and "update idletasks" is executed ?
dkfplain2001-10-16 19:14:31
Logged In: YES user_id=79902 This (allowing unambiguous prefixes instead of requiring the subcommand to be written out in full) is the defined behaviour of Tcl w.r.t. subcommands, and is implemented by Tcl_GetIndexFromObj which you should refer to for more information. NB: Robust scripts do not use prefixes, but for interactive use they are a god-send.
Log in (anonymous is fine) to add a comment.