The syntax of creating a procedure is
proc procedureName {arguments} { body }
Example:
proc helloWorld {} { puts "Hello, World!" } helloWorld
Result:
Hello, World!
Jan 4, 2022 | tcl | 0 comments
The syntax of creating a procedure is
proc procedureName {arguments} { body }
Example:
proc helloWorld {} { puts "Hello, World!" } helloWorld
Result:
Hello, World!
Subscribe now to keep reading and get access to the full archive.
Recent Comments