Getting to be Friday 13th^2

On Mon, 2012-06-25 at 18:23 +0930, Bruce wrote:
> Every day seems to be Friday the 13th at the moment!
> 
> Every so often, I manage to write a Property that has "No return value".
> (It's always a case of something I have done, so it's not a gambas
> problem.)
> 
> Today, I have done it again and I can't work out what it is that's
> wrong.
> 
> In class Meeting

!! should have been "In class MeetingParser"

>         Property Read KnownMeeting as Boolean
>         ...
>         Private Function KnownMeeting_Read() As Boolean
>         '==============================================
>         ' Returns a quick check as to whether the meeting already exists
>         ' on the database.
>         
>           Dim m As New Meeting
> 
>           If m.Exists([$trackcode, Format($racedate, "yymmdd")]) Then
>             Return True
>           Else
>             Return False
>           Endif
>         
>         Catch
>             Error Subst("&1\nERR: ... blah blah blah, never happens.
>         
>         End
> 
> (The Meeting class is a database interface in a library.  The
> Meeting.Exists([pkey]) As Boolean is a method that just checks for the
> existence of the primary key in the pk index tables.*)
> 
> For the life of me I cannot see what I have done wrong here!
> 
> Any suggestions?
> 

Bruce


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to