Variant

19/02/2003

0

Pessoal,

Como é que eu faço para saber o tipo de dado que uma variant assumiu?

Abraço,
Carlos.


Anonymous

Anonymous

Responder

Posts

19/02/2003

Carnette

experimenta comparar com este TIPOS




varEmptyThe Variant is Unassigned.
varNullThe Variant is Null.
varSmallint16-bit signed integer (type Smallint).
varInteger32-bit signed integer (type Integer).
varSingleSingle-precision floating-point value (type Single).
varDoubleDouble-precision floating-point value (type Double).
varCurrencyCurrency floating-point value (type Currency).
varDateDate and time value (type TDateTime).
varOleStrReference to a dynamically allocated UNICODE string.

varDispatchReference to an Automation object (an IDispatch interface pointer).
varErrorOperating system error code.
varBoolean16-bit boolean (type WordBool).
varVariantA Variant.
varUnknownReference to an unknown OLE object (an IUnknown interface pointer).
varByteA Byte
varStrArgCOM-compatible string.
varStringReference to a dynamically allocated string. (not COM compatible)
varAnyA CORBA Any value.


Responder

Que tal ter acesso a um e-book gratuito que vai te ajudar muito nesse momento decisivo?

Ver ebook

Recomendado pra quem ainda não iniciou o estudos.

Eu quero
Ver ebook

Recomendado para quem está passando por dificuldades nessa etapa inicial

Eu quero

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar