closing db

jda jda at his.com
Tue Mar 13 16:03:02 CDT 2007


>  > Good. Just to make sure I understnad, I can just do
>>
>>  myDB = nil
>>
>>  without doing a myDB.close first.
>>
>>  That helps a lot.
>
>I do not see how it helps.
>

It helps because I can nil a database that has been deleted in RB 
without it throwing a VException. When I try to db.close it first, I 
get an error thrown (which I don't want in this case). I know I can 
code around it, but it's simpler to nil the database.

Jon


More information about the Valentina mailing list