It works thanks a lot. RB didn't complain before. Though it complains this time, it didn't really point out the problem correctly. It said type error, expecting type Int32, where the function returns Picture object type.
--- Joe Huber <[EMAIL PROTECTED]> wrote: > At 8:55 AM -0700 10/10/06, Long Huynh wrote: > >Function MakeThumbnail(Image As Picture, iWid As > >Integer = WIDTH, iHi As Integer = HEIGHT) As > Picture > > You can't have Constants as default parameter > values. > > Previous versions didn't complain, but didn't work > either. > > Regards, > Joe Huber > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
