Re: " Assigned" function

Giganews Newsgroups
Subject: Re: " Assigned" function
Posted by:  Ignacio Vazquez (
Date: Fri, 28 Nov 2003

"Robert Lockwood" <rnlockwood…> wrote in message
> In FTPDemo the author uses (in Delphi) an if statement:
> if(Assigned(IdFTP1->Directory) & <snip> )
> Can anyone tell me what this "Assigned" is and what the C++ Builder
> equivalent might be?

Assigned returns False if the value is nil, True otherwise. The equivalent
in C would be !=NULL.



In response to

" Assigned" function posted by Robert Lockwood on Fri, 28 Nov 2003