I started a topic here: Nested Types and Unions for the new feature and will add information soon.
Wiki improvements
Re: Wiki improvements
Re: Wiki improvements
Otherwise, OK now for #968 Using TYPE() or BASE() on derived instance, implicit copy/construct only copies data members of topmost base.SARG wrote: ↑Oct 16, 2022 8:42 @fxm
64bit fbc compiler.
https://users.freebasic-portal.de/sarg/fbc64_inner.zip
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: Wiki improvements
Not important but an improvement
ff as integer = FreeFile() should be long/ulong FaqPgbloadworkaround or var ff = FreeFile()
byval pal as any ptr = 0 should be ulong ptr KeyPgBsave and KeyPgBload
KeyPgPalette type of parameters are missing complete (maybe index=integer/ulong ,r,g,b = ubyt/ulong)
and in the examples:
Dim As Integer r, g, b
looks on 64-bit a little bit strange to me.
Joshy
ff as integer = FreeFile() should be long/ulong FaqPgbloadworkaround or var ff = FreeFile()
byval pal as any ptr = 0 should be ulong ptr KeyPgBsave and KeyPgBload
KeyPgPalette type of parameters are missing complete (maybe index=integer/ulong ,r,g,b = ubyt/ulong)
and in the examples:
Dim As Integer r, g, b
looks on 64-bit a little bit strange to me.
Joshy
Re: Wiki improvements
1)
2)
3)
OKD.J.Peters wrote: ↑Oct 16, 2022 22:13 ff as integer = FreeFile() should be long/ulong FaqPgbloadworkaround or var ff = FreeFile()
2)
But the 'pal' parameter is declared 'as any ptr' for the two keywords:D.J.Peters wrote: ↑Oct 16, 2022 22:13 byval pal as any ptr = 0 should be ulong ptr KeyPgBsave and KeyPgBload
Code: Select all
#print typeof(@bload())
#print typeof(@Bsave())
FUNCTION(AS CONST STRING, AS ANY PTR, AS ANY PTR) AS LONG
FUNCTION(AS CONST STRING, AS CONST ANY PTR, AS CONST ULONG, AS CONST ANY PTR) AS LONG
3)
I don't know for the keyword syntaxes because 'Palette()' is not a simple procedure. but OK for the color components in the second example (=> 'ulong' because 'ubyte' does not work) , and the array in the third example (=> 'ulong').D.J.Peters wrote: ↑Oct 16, 2022 22:13 KeyPgPalette type of parameters are missing complete (maybe index=integer/ulong ,r,g,b = ubyt/ulong)
and in the examples:
Dim As Integer r, g, b
looks on 64-bit a little bit strange to me.
Re: Wiki improvements
Could you please create a new build of fbc64 containing the latest changes regarding Named Types?SARG wrote: ↑Oct 16, 2022 8:42 @fxm
64bit fbc compiler.
https://users.freebasic-portal.de/sarg/fbc64_inner.zip
Re: Wiki improvements
Done with all the last updates.
Edit: missing updates...
https://users.freebasic-portal.de/sarg/ ... 221024.zip
Re: Wiki improvements
Indeed, I have just redone the tests with this latest version and now it seems to work well (it must have been missing before the change this morning very early).SARG wrote: ↑Oct 24, 2022 6:27 Edit: missing updates...
https://users.freebasic-portal.de/sarg/ ... 221024.zip
Thanks.
Re: Wiki improvements
I built the first one yesterday and this morning I checked but the commit page is not automatically updated when I open the browser.....
I'll do it like for the manual and upload fbc.exe each time a new version is available.
Re: Wiki improvements
@fxm and others interested,
Now I'll use fbc64_lastest.zip so the link remains always the same.
https://users.freebasic-portal.de/sarg/ ... astest.zip
Btw exe size is smaller as I have removed -edebug when compiling some files.
Now I'll use fbc64_lastest.zip so the link remains always the same.
https://users.freebasic-portal.de/sarg/ ... astest.zip
Btw exe size is smaller as I have removed -edebug when compiling some files.
Re: Wiki improvements
Great !
Re: Wiki improvements
@SARG,
Could you build a new version (.chm) of the documentation, so that I can verify the correct formatting of the new documentation page:
Type (UDT/Alias/Temporary) and Union of the Programmer's Guide.
Thanks in advance.
Could you build a new version (.chm) of the documentation, so that I can verify the correct formatting of the new documentation page:
Type (UDT/Alias/Temporary) and Union of the Programmer's Guide.
Thanks in advance.
Re: Wiki improvements
Done.
You can post on discord when there is an update in case I forget to check.
You can post on discord when there is an update in case I forget to check.
Re: Wiki improvements
Thanks.
(I don't like 'discord'!)
Maybe a private message on the forum ?
(I don't like 'discord'!)
Maybe a private message on the forum ?
Re: Wiki improvements
On discord you can exchange in a private way. I send you an invit.
Discord could be time consuming however fine for fast exchanging.
But via PM on the forum pas de problème
Discord could be time consuming however fine for fast exchanging.
But via PM on the forum pas de problème