Re: Is Operator question
From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 01/05/05
- Next message: Emil Damian: "Re: Delphi -> VS.NET??"
- Previous message: Rune Lanton: "Question regarding SQL CE and flash storage"
- In reply to: rSmtih: "Is Operator question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 5 Jan 2005 10:53:56 +0100
rSmith,
The IS operatar in VBNet is to check if an object is the same
dim a as bclass
dim c as bclass
If a IS c 'now equal because they are both empty (nothing)
a = new bclass
c = a
If a IS c 'they are still equal because they reference too the same object
c = new bclass
If a Is c 'they are now unequal because it are two different objects
I hope this helps?
Cor
- Next message: Emil Damian: "Re: Delphi -> VS.NET??"
- Previous message: Rune Lanton: "Question regarding SQL CE and flash storage"
- In reply to: rSmtih: "Is Operator question"
- Messages sorted by: [ date ] [ thread ]