Commandes Tcl en bref

 

Affichage
puts
Variables
set - array - parray | unset - [info exists] - [array exists]
Syntaxe
Douze règles
Calculs numériques
expr - info functions - [$tcl_precision]
Listes
list - llength - lindex - lrange - linsert - lreplace - lappend - lsearch - concat - split - join - lsort - lassign - lrepeat - lset
Chaines de caractères
string - append | encoding
Dictionnaires
dict
Procédures
proc - return - global - upvar | uplevel - [info args] - info default - [info body] - [info commands] - [info procs] - [info globals] - [info locals] - [info vars] - [info level]
Gestion des erreurs
return -code error - error - catch - [$errorCode] - [$errorInfo]
Programmation
source | rename | namespace - variable - $argc - [$argv]
Contrôles
if - switch - for - incr - while - foreach - break - continue
Entrées-Sorties
open - exec - puts - flush - gets - read - eof - close | socket | seek - tell - fconfigure - fblocked - fcopy
Fichiers
cd - pwd - glob - file | [file atime] - [file attributes] - [file channels] - [file copy] - [file delete] - [file dirname] - [file executable] - [file exists] - [file extension] - [file isdirectory] - [file isfile] - [file join] - [file link] - [file lstat] - [file mkdir] - [file mtime] - [file nativename] - [file normalize] - [file owned] - [file pathtype] - [file readable] - [file readlink] - [file rename] - [file rename] - [file rootname name] - [file separator] - [file size] - [file split] - [file stat] - [file system] - [file tail] - [file type] - [file volumes] - [file writable] - Cf. aussi filename
Exécution asynchrone
after - update - vwait - fileevent - bgerror - trace
Gestion du temps
clock - time
Sous-interpréteurs
interp - [Safe Base] - eval - subst
Expressions régulières
regexp - regsub - re_syntax
Format et conversions
format - scan - binary
Chargement de code binaire
load - [unload] - [info sharedlibextension] - [info loaded]
Informations sur l'environnment processeur
$tcl_platform(byteOrder) - [$tcl_platform(wordSize)]
Informations sur l'environnement système
[$env] - [info hostname] - pid - [$tcl_rcFileName]
Informations sur le programme
[info nameofexecutable] - [$argv0] - [info script] - [$tcl_interactive]
Informations sur la version de Tcl
[info patchlevel] - [info tclversion] - [$tcl_version] - [$tcl_patchLevel]
Contrôle du déverminage
[$tcl_traceExec] - [$tcl_traceCompile] - memory - trace - tcltest
Recherche de mots
[tcl_endOfWord] - [tcl_startOfNextWord] - [tcl_startOfPreviousWord] - [tcl_wordBreakAfter] - [tcl_wordBreakBefore]
Définition d'un mot
[$tcl_wordchars] - [$tcl_nonwordchars]
Divers
info - [info cmdcount] - [info complete] - [info library] | exit - history - http | library [auto_execok] - [auto_import] - [auto_load] - [auto_mkindex] - [auto_mkindex_old] - [auto_qualify] - [auto_reset] - [tcl_findLibrary] | [tm] - package - msgcat - [pkg::create] - [pkg_mkIndex] | tclvars - [$tcl_library] - [$tcl_pkgPath] - [$tcl_platform(debug)] - [$geometry] - unknown
Microsoft Windows
registry - dde

Catégorie Manuel Tcl/Tk