Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mmoohhaammaadd

    how to input a data array into a proc

    I want to input a vector "a" (or matrix) to a procedure and do some algebraic operations with its elements: set a(1) 2; set a(2) 3; proc mult {a} { global b set b [expr $a(1)*$a(2)] } mult $a puts "$b" when I run this script it says: can't read "a": variable is array can anyone help me...

Part and Inventory Search

Back
Top