Short projects: Difference between revisions

Jump to navigation Jump to search
555 bytes added ,  12 March 2014
→‎Miscellaneous: warning_ids and error_ids functions
(→‎Miscellaneous: add note that making use of units as a library may be quite hard)
(→‎Miscellaneous: warning_ids and error_ids functions)
Line 37: Line 37:
* Write one [[Files missing tests|missing test]]; see also [[Projects#Tests]].
* Write one [[Files missing tests|missing test]]; see also [[Projects#Tests]].


* Use non-empty identifiers in all warnings and errors issued by Octave; see {{bug|39439}}, {{bug|39434}}, {{bug|37559}}, {{bug|36861}}. You may tackle as many or as few IDs as you have time for. As it is a widespread issue, finding occurrences in the source code should give you valuable knowledge about the Octave files organization.
* Use non-empty identifiers in all warnings and errors issued by Octave; see {{bug|39439}}, {{bug|39434}}, {{bug|37559}}, {{bug|36861}}. You may tackle as many or as few IDs as you have time for. As it is a widespread issue, finding occurrences in the source code should give you valuable knowledge about the Octave files organization.
** When raising errors and warnings try to use the ids that are documented in the functions  [http://octave.sourceforge.net/octave/function/warning_ids.html warning_ids] and [http://octave.sourceforge.net/octave/function/error_ids.html error_ids].  If you really need a new id (please, first read the ones already there!), please add it to those functions as well.  If you see other ids used in core that are not given by the functions mentioned above, please, report or submit patch for them, in addition to the patch to the calling functions as well.  


* extend sub2ind and ind2sub: {{bug|41796}}
* extend sub2ind and ind2sub: {{bug|41796}}
115

edits

Navigation menu