====== Tcl syntax tips ====== This page is part of the Tcl/Tk page of the Airplug documentation.\\ [[en:doc:pub:tcltk:start|Back to the Tcl/Tk page]] / [[en:doc:summary|Back to the Airplug documentation page]]. ===== Comments ===== * Don't use { } inside comments. * Don't use comments between two cases in a switch. The following piece of code gives an error: switch $value { value_1 # Comment for first case { ... } } * Instead, you should use: switch value { value_1 { # Comment for first case ... } }
---- This page is part of the Tcl/Tk page of the Airplug documentation.\\ [[en:doc:pub:tcltk:start|Back to the Tcl/Tk page]] / [[en:doc:summary|Back to Airplug documentation page]].