Linked List documentation error

Everything else that doesn't fall into one of the other PB categories.
User avatar
Lewis
User
User
Posts: 47
Joined: Fri Nov 25, 2005 1:12 pm

Linked List documentation error

Post by Lewis »

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.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

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.
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.
User avatar
Comtois
Addict
Addict
Posts: 1432
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

it's fixed in the doc V4+

you can see it on PureArea.net
Please correct my english
http://purebasic.developpez.com/
User avatar
Lewis
User
User
Posts: 47
Joined: Fri Nov 25, 2005 1:12 pm

Post by Lewis »

Trond wrote:
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.
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.
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).
Post Reply