09-26-2011 6:30 AM
Hi, experts!
Can anyone please help me identify what the operator ':=' does? I've recently come across this in an expression; variable1 := variable2. Now I know that in typecasting, '?=' is used but what about this one? Thanks in advance for your help.
regards,
brent
09-26-2011 6:57 AM
Hi Brent,
It is the same with the " = " sign and used for assigning value.
Kr,
Marvin
09-26-2011 6:57 AM
Hi Brent,
It is the same with the " = " sign and used for assigning value.
Kr,
Marvin
09-26-2011 7:16 AM
Hi Brant,
Yes, as Marvin commented it is same as the '=' operator. But when the chain operator is used before '=' , it gives the flexibility to assign more than one values to the data object(Not sure though in which case it is used).
For Eg:
variable3 := variable1,
= variable2.
09-26-2011 8:24 AM
In case anyone searches for this answer, I'd just point out that Marvin's answer is incorrect (or misleading) and SrikanthRS's is correct.
matt
09-26-2011 9:45 AM