Wiki improvements

Forum for discussion about the documentation project.
MrSwiss
Posts: 2682
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: Wiki improvements

Postby MrSwiss » Jun 13, 2018 1:51

Btw: it is the very same, with: "Protected:" access ...
fxm
Posts: 8175
Joined: Apr 22, 2009 12:46
Location: Paris suburb, FRANCE

Re: Wiki improvements

Postby fxm » Jun 13, 2018 5:00

fxm wrote:@dodicat,

For me a bug.
'Redim' with sizing does not seem to check the right of access to the constructor.

I hope you do not mind if I fill in the bug report.
dodicat
Posts: 5024
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: Wiki improvements

Postby dodicat » Jun 13, 2018 9:33

OK fxm.
Thanks.
fxm
Posts: 8175
Joined: Apr 22, 2009 12:46
Location: Paris suburb, FRANCE

Re: Wiki improvements

Postby fxm » Jun 13, 2018 10:36

fxm
Posts: 8175
Joined: Apr 22, 2009 12:46
Location: Paris suburb, FRANCE

Re: Wiki improvements

Postby fxm » Jun 16, 2018 13:46

Some would be interested in an article like this ? :
How FB supports Reference Variables, and How to Use them in code
(I would also like to put as a preamble a little reminder on the pointers)

If the subject does not interest anyone other than me, it's not worth writing !
coderJeff
Site Admin
Posts: 2614
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: Wiki improvements

Postby coderJeff » Jun 18, 2018 2:50

@fxm, I noticed that the BYREF variable feature works great for some situations. In other situations, fbc might segfault, or the user program will segfault. I will follow up in what I think was original thread viewtopic.php?&t=23584
Tourist Trap
Posts: 2381
Joined: Jun 02, 2015 16:24

Re: Wiki improvements

Postby Tourist Trap » Jun 18, 2018 9:08

fxm wrote:Some would be interested in an article like this ? :
How FB supports Reference Variables, and How to Use them in code
(I would also like to put as a preamble a little reminder on the pointers)

If the subject does not interest anyone other than me, it's not worth writing !

As for me fxm, you know I like this topic. This is just the kind of stuff that is just so elegant when you use it. But there are some difficulties and it's worth an overview. An other topic that I like (related) is function returned byref , all of this is very interesting!!
fxm
Posts: 8175
Joined: Apr 22, 2009 12:46
Location: Paris suburb, FRANCE

Re: Wiki improvements

Postby fxm » Jun 18, 2018 13:01

New proposed title:
How FB supports References (pass and return byref, byref variables), and How to Use them
Tourist Trap
Posts: 2381
Joined: Jun 02, 2015 16:24

Re: Wiki improvements

Postby Tourist Trap » Jun 18, 2018 13:59

fxm wrote:New proposed title:
How FB supports References (pass and return byref, byref variables), and How to Use them

If I can add a remark. In general I felt I was understanding better what implied on this topic when I understood that at least one of the reference should be rooted to a true actual memory address, so a real variable somewhere already defined. Once you have this, the game makes more sense.
fxm
Posts: 8175
Joined: Apr 22, 2009 12:46
Location: Paris suburb, FRANCE

Re: Wiki improvements

Postby fxm » Jun 18, 2018 14:19

Tourist Trap
Posts: 2381
Joined: Jun 02, 2015 16:24

Re: Wiki improvements

Postby Tourist Trap » Jun 18, 2018 14:31


Great. it makes perfect sense and build the bridge between the naked stuff and the practical wearing clothes.
fxm
Posts: 8175
Joined: Apr 22, 2009 12:46
Location: Paris suburb, FRANCE

Re: Wiki improvements

Postby fxm » Jun 21, 2018 14:29

For the moment only one person interested in such an article?
Not very motivating to write an article that interests so little.
(already that the previous ones .....)
Josep Roca
Posts: 335
Joined: Sep 27, 2016 18:20
Location: Valencia, Spain

Re: Wiki improvements

Postby Josep Roca » Jun 21, 2018 14:51

I'm also interested. I have no problems using byref parameters, but probably you know something about returning byref values that I'm missing.
Tourist Trap
Posts: 2381
Joined: Jun 02, 2015 16:24

Re: Wiki improvements

Postby Tourist Trap » Jun 21, 2018 16:57

fxm wrote:Not very motivating to write an article that interests so little.

Hello fxm, I'm in hollydays for one remaining week so I'll try to read all you've posted around. Unfortunately I'm moving home once again and will probably have many days of weak activity. I'll try to give my opinion however when done with the reading.

Now I have 2 advices, because I'm fond of documentation projects and have my own ideas on this. The first thing I would do if I were you would be to make a pdf, a ebook, of all your articles. You will see then the amount of constant downloads and see that the users of the forum is far to represent every FB user.
The second thing I would do, at your level of expertise, would be to write your articles asva pathway to reach a difficult goal. For instance, like in ruby I would like to have type definition changing at runtime. Maybe it's not something of real interest, but let's assume you want to show how to distort FB in order to make it do that despite the fact it seems not poss. Then you could show us from the very start everything to be known until one day one could do that. Why doing this this way? Because it may be boring for you to teach the basics that you know already so well, unless it's a prerequisite to higher stuff requiring mastery.

In anyway your contributions are absolutely needed. This will be for sure a well known part of FB documentation and a part of the success of the language. If you provided a pdf or djvu or epub, you would probably have more feedback or anyway touch a wider public. If I was talented enough, it's what I would do.

Thanks for your writtings, that adds to your constant help in the forum. It's quite of a work you do here. I think the time is close when it will pay back, just a matter of weeks or monthes!
fxm
Posts: 8175
Joined: Apr 22, 2009 12:46
Location: Paris suburb, FRANCE

Re: Wiki improvements

Postby fxm » Jun 22, 2018 7:58

It is not any counter of access or download, completely impersonal, that interests me, but it is rather the exchanges with the users, at any level whatsoever.
As for diverting/hacking the FreeBASIC language, I see it more as a game than as a finality in itself.

Return to “Documentation”

Who is online

Users browsing this forum: No registered users and 2 guests