For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Syntax > August 2005 > What does := mean in VB?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author What does := mean in VB?
Dariush Abadi

2005-08-19, 9:56 pm

Their is a function call in a class that says this:

m_cAlphaImage.AlphaPaintPicture Me.hdc, x, y + m_cAlphaImage.Height + 2,
lConstantAlpha:=160


What does the lConstant:=160 do?

What does := mean?

If i take out the lConstant:= part, and just leave 160....it doesn't work
anymore.



Rick Rothstein [MVP - Visual Basic]

2005-08-19, 9:56 pm

> Their is a function call in a class that says this:
>
> m_cAlphaImage.AlphaPaintPicture Me.hdc, x, y + m_cAlphaImage.Height +

2,
> lConstantAlpha:=160
>
> What does the lConstant:=160 do?
>
> What does := mean?
>
> If i take out the lConstant:= part, and just leave 160....it doesn't

work
> anymore.


Look up "named arguments" in VB's help files.

Rick


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com