On Sun, Nov 8, 2009 at 6:16 AM, Zhimin Song <[email protected]> wrote:
> continued:-)
> I meant the code
>
>              if (!upload_->isUploaded())
>
> does not work right, it should be
>
>             if (upload_->isUploaded()) // although it did not meant
> literally
>
>
> then can do right. so I always used
>
>             if (upload_->isUploaded())
>
> before 2.99.2 to finish uploadNow() work. and now, I should use
>
>
>             if (upload_->canUpload())
>
> to do before work. so I suggest the sentence of ReleaseNotes:
>
>     You should replace any call to isUploaded() with the new method
> !canUpload()
>
>
> changes to
>
>     You should replace any call to isUploaded() with the new method
> canUpload()

That does not seem correct to me though.
  isUploaded -> if true then uploading is complete, else it is not...
compared to:
  canUpload -> if true then uploading is not complete, else it is...

Hence you need the ! to invert the boolean...

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to