# File rbSnack/tkSnack.rb, line 608
    def length(units=nil)
        #Incase options where specified as hash, accept it anyway
        return Snack::exeTkCmd([@name, 'length'], units) if units.type==Hash
        options={}
        options = { 'unit'=>units } unless units ==nil
        Snack::exeTkCmd([@name, 'length'], options).to_i    
    end