Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CLng(1)

Status
Not open for further replies.
May 8, 2004
92
GB
Hi guys,
Does anyone know what this CLng(1)in the code below means


UserObj.Put "PasswordExpired", CLng(1)


cheers.
 
A Long integer (ie DWORD) of value 1.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
The datatype is long integer.

By default VBScript uses the "Variant" datatype but the method being called expects a long as its second argument.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top