Recent

Author Topic: Does anyone ever check the examples ?  (Read 2542 times)

jaz2014

  • New Member
  • *
  • Posts: 14
Does anyone ever check the examples ?
« on: March 26, 2018, 11:22:21 am »
Does anyone ever check the example projects even compile?

I've just been looking and a large number don't compile (at least on linux)
How are we supposed to learn if the documentation is poor and the example
projects don't work?


wp

  • Hero Member
  • *****
  • Posts: 11915
Re: Does anyone ever check the examples ?
« Reply #1 on: March 26, 2018, 11:29:32 am »
Which version are you using? I checked all examples before the release of Laz 1.8.0 on Windows, and I think Juha did the same on Linux.

Checking a hundred sample projects really is no fun. So, if you find something which is not working in the current release or in trunk please file a specific bug report, and it will be fixed. It will not be fixed, however, if users are lamenting about poor documentation and non-working examples in a general way.

Handoko

  • Hero Member
  • *****
  • Posts: 5151
  • My goal: build my own game engine using Lazarus
Re: Does anyone ever check the examples ?
« Reply #2 on: March 26, 2018, 11:36:55 am »
I guess what OP mean is when running the examples (Tools > Example Projects) on Linux will cause compilation error. Because those files are in the unwritable folder.

Thaddy

  • Hero Member
  • *****
  • Posts: 14367
  • Sensorship about opinions does not belong here.
Re: Does anyone ever check the examples ?
« Reply #3 on: March 26, 2018, 11:46:59 am »
At least the FPC documentation examples should always compile.
Note that very rarely an example hides under the radar because of new language features or implementation changes that may break compatibility. But that is rare and you mention many....
I guess you may follow up on Handoko's remark and copy the examples to another directory and set the proper access rights.
« Last Edit: March 26, 2018, 11:49:41 am by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

 

TinyPortal © 2005-2018