define a [new TVector] $a append 1 2 3 4 echo [$a getSize] define b [$a getElements] echo [length $b]