Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-06

Behavior of Variant > TCaption operator

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luiz Americo Pereira Camara

The result is get with a direct typecast Variant > String. In this case if Variant is Null an exception will occur.

Is this the desired behavior or should be changed to a call to VarToStr?

Luiz

Luiz Americo Pereira Camara
to Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote
The result is get with a direct typecast Variant > String. In this case if Variant is Null an exception will occur. Is this the desired behavior or should be changed to a call to VarToStr?

Sorry. Wrong list

Luiz