Início > lang > super 
 en fr de es it nl pl pt mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Anterior  Próximo  Editar  Renomear  Desfazer  Atualizar  Procurar  Administração  
Documentação
História
 
Cuidado! Esta página não está atualizada.  Veja a versão em inglês 
SUPER
SUPER

Retorna uma referência ao objeto corrente que irá utilizar a implementação simbólica da classe herdada.

Exemplo

' MyListBox class
INHERITS ListBox

PRIVATE $cPos AS NEW Collection
PRIVATE $aKey AS NEW String[]
...

' Reimplements the Add method
PUBLIC SUB Add(Text AS String, Key AS String, OPTIONAL Pos AS Integer = -1)

  ' Adds the item to the list box
  SUPER.Add(Text, Key, Pos)
  ' Adds the key to key array
  IF Pos \< 0 THEN
    $cPos.Clear
    $cPos[Key] = $aKey.Count
    $aKey.Add(Key)
  ELSE
    $aKey.Add(Key, Pos)
  ENDIF

END
...

Veja também

Gerenciamento de Objetos e Classes