Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » libsbml-development » Possible change to libSBML API
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Stefan.Hoops


Posts: 170
Registered:
December 2006
Re: Possible change to libSBML API 10 Oct '08 11:58 Go to previous message

Hello All,

I agree with Frank's point below. If we want to use the return to
indicate the type of error we should use negative numbers. Positive
numbers as return values are normally not an error but carry other
useful information.

Thanks,
Stefan



On Fri, 10 Oct 2008 10:26:44 -0700
"Frank Bergmann" <fbergman@u.washington.edu> wrote:

> I was wondering is there any particular reason to choose unsigned
> ints? (Apart from 'there is a lot more of them'). My reasoning is
> that in most projects I find negative numbers used for bad things,
> thus maintaining the possibility to re-use positive numbers for
> something useful (like an insert function returning the index of
> where to find the object after insertion).
>


--
Stefan Hoops, Ph.D.
Senior Project Associate
Virginia Bioinformatics Institute - 0477
Virginia Tech
Bioinformatics Facility I
Blacksburg, Va 24061, USA

Phone: (540) 231-1799
Fax: (540) 231-2606
Email: shoops@vbi.vt.edu
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development

For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   Possible change to libSBML API Sarah Keating16 Sep '08 11:58
Read Message   Re: [libsbml-development] Possible change to libSB... Stefan.Hoops17 Sep '08 07:19
Read Message   Re: Possible change to libSBML API Sarah Keating18 Sep '08 09:57
Read Message   Re: Possible change to libSBML API Lucian Smith18 Sep '08 13:17
Read Message   Re: Possible change to libSBML API Stefan.Hoops17 Sep '08 07:19
Read Message   Re: Possible change to libSBML API Sarah Keating18 Sep '08 09:22
Read Message   Re: Possible change to libSBML API Sarah Keating23 Sep '08 10:01
Read Message   Re: Possible change to libSBML API Sarah Keating10 Oct '08 09:32
Read Message   Re: Possible change to libSBML API Frank Bergmann10 Oct '08 10:26
Read Message   Re: Possible change to libSBML API  Stefan.Hoops10 Oct '08 11:58
Previous Topic:libSBML new API status
Next Topic:new miriam annotation for an element without metaid
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.