lenght ... tenho q declarar algo antes ??

Delphi

22/08/2003

To tentando usar o lenght ...mas ele ta dizendo que naum foi declarado... o q tenho q fazer ??
lenght(StringGrid1.Cols[0]) > 5 then key := #0;
agradeco


Deusem

Deusem

Curtidas 0

Respostas

Abueno_silva

Abueno_silva

22/08/2003

A sintaxe correta é [b:6405660f8b]length[/b:6405660f8b] (com o t antes do h).

[]´s


GOSTEI 0
Nildo

Nildo

22/08/2003

Tente delcarar a unit
System


GOSTEI 0
Nildo

Nildo

22/08/2003

Ou melhor,
SysUtils


GOSTEI 0
Bacalhau

Bacalhau

22/08/2003

A função é length e não lenght.
Abraço do peixão norueguês


GOSTEI 0
POSTAR