The comments in the example in http://www.purebasic.com/documentation/ ... ments.html do not appear to take into account that the first list element starts at index/position 0 (zero). In particular, the SelectElement(Numbers(), 3) and SelectElement(Numbers(), 9) calls retrieve respectively the 4th and 10th elements, not the 3rd and 9th as specified in the comments.
FWIW, I think it would be a good idea to have a "PureBasic Documentation" sub-forum where people can easily report back on the (many) documentation errors and suggest possible improvements, rewrites etc.
Linked List documentation error
I also think this is a good idea (probably a sub-forum to the bugs forum to not clutter things up?). Currently doc reports are getting in the way of real bugs, and the real bugs gets in the way of the doc reports.FWIW, I think it would be a good idea to have a "PureBasic Documentation" sub-forum where people can easily report back on the (many) documentation errors and suggest possible improvements, rewrites etc.
Please correct my english
http://purebasic.developpez.com/
http://purebasic.developpez.com/
Actually, I would suggest it be made the major sub-forum, placed at the very top of the forum index. Most programmers despise the task of documentation, yet consider it the most important part of a program they themselves are using in their work, particularly in the early stages of familiarizing oneself with the program. No, let us not tuck it away where people will quickly forget its existence (and importance).Trond wrote:I also think this is a good idea (probably a sub-forum to the bugs forum to not clutter things up?). Currently doc reports are getting in the way of real bugs, and the real bugs gets in the way of the doc reports.FWIW, I think it would be a good idea to have a "PureBasic Documentation" sub-forum where people can easily report back on the (many) documentation errors and suggest possible improvements, rewrites etc.


