Breaking out of RecordLock...

Robert Brenstein rjb at rz.uni-potsdam.de
Thu Feb 19 01:30:15 CST 2004


A carryover from other languages as far as I know (I mean this is 
what kernel returns in other languages and kernel is common for all 
products). Just like nextRecord (and related). You can search list 
archives way back on discussions on this issue. But this is properly 
documented in vxcmd doc.

No clue when it exactly returns false and when a numerical error. I 
just test for both for those functions. It is a bit of nuisance to 
maintain 3 different central error handlers, but I just got used to 
it. I guess it is a price for multi-environment support.

>Actually, I was just testing to see if the first word of the result was
>"ERROR" and the second word was a number... What causes UpdateRecord and
>AddRecord return "false"?
>
>Ken Ray
>Sons of Thunder Software
>Email: kray at sonsothunder.com
>Web Site: http://www.sonsothunder.com/
>
>>  -----Original Message-----
>>  From: valentina-bounces at lists.macserve.net
>>  [mailto:valentina-bounces at lists.macserve.net] On Behalf Of
>>  Robert Brenstein
>>  Sent: Wednesday, February 18, 2004 4:58 PM
>>  To: Valentina Developers
>>  Subject: RE: Breaking out of RecordLock...
>>
>>
>>  >
>>  >I already channel all Valentina calls through a central "wrapper"
>>  >handler that checks for errors before processing, so at least I can
>>  >rest easy on *that* account.
>>  >
>>  >:-)
>>  >
>>  >Ken Ray
>>  >Sons of Thunder Software
>>  >Email: kray at sonsothunder.com
>>  >Web Site: http://www.sonsothunder.com/
>>
>>  Just to push this to the limit: and your central handler knows that,
>>  unlike most other calls, UpdateRecord and AddRecord return false when
>>  they fail (not necessarily a numeric error)?
>>
>>  Robert
>>  _______________________________________________
>>  Valentina mailing list
>>  Valentina at lists.macserve.net
>>  http://lists.macserve.net/mailman/listinfo/val> entina
>>
>
>
>_______________________________________________
>Valentina mailing list
>Valentina at lists.macserve.net
>http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list