define a [new TVector] $a append 1 2 3 4 echo [$a getSize] $a resize 3 echo [$a getSize] echo [$a pop]