Search found 249 matches

by frisian
Jan 19, 2015 18:39
Forum: General
Topic: new header file GMP
Replies: 36
Views: 5906

Re: new header file GMP

@frisian @dodicat Your explanations cleared the fog. Thanks. Glad to hear that you got it working. Both ret_val = Gmp_snprintf(str_, 11, "4:Pi= %.*Ff \n ", 20, f_op1 ) and ret_val = Gmp_asprintf(@str_,"5:Pi= %.*Ff ", 20, f_op1 ) printed nothing. That's because they have no print...
by frisian
Jan 18, 2015 14:20
Forum: General
Topic: new header file GMP
Replies: 36
Views: 5906

Re: new header file GMP

dodicat wrote:You could rename it to gmp6.bi if you already have a gmp.bi.


If you rename it to gmp6.bi make sure that you change #include "gmp" into #include "gmp6" or FreeBasic will use the old header file.
by frisian
Jan 18, 2015 12:09
Forum: General
Topic: new header file GMP
Replies: 36
Views: 5906

Re: new header file GMP

Compiler output: C:\fb_GMP\test_gmp.o:fake:(.text+0x9da): undefined reference to `__gmpz_powm_sec' C:\fb_GMP\test_gmp.o:fake:(.text+0xa31): undefined reference to `__gmpz_rootrem' C:\fb_GMP\test_gmp.o:fake:(.text+0xbb1): undefined reference to `__gmpz_2fac_ui' C:\fb_GMP\test_gmp.o:fake:(.text+0xbc2...
by frisian
Jan 17, 2015 14:04
Forum: General
Topic: new header file GMP
Replies: 36
Views: 5906

Re: new header file GMP

dodicat I was somewhat surprised by your error message, had I put the wrong program in the 7z file. I even downloaded my own file to check it, it had the correct bas file. I even downloaded FBide to see if I could get the same error message as you.I even put the gmp.bi and libgmp.a for the file into...
by frisian
Jan 16, 2015 22:46
Forum: Projects
Topic: fbfrog header translator
Replies: 52
Views: 12094

Re: fbfrog header translator

Converted my first .h file into a .bi file with your FBfrog (1.5), worked very well. The only thing that wend wrong was it missed a "#endif" at the end of the .bi file. The .h file had at the end "#endif /* __GMP_H__ */" perhaps the comment messed things up, I removed the comment...
by frisian
Jan 16, 2015 22:43
Forum: General
Topic: new header file GMP
Replies: 36
Views: 5906

new header file GMP

I have made a new header file for GMP, version 6.0.0a, which has a few new functions, instead of adding to the old header file. I used FBfrog 1.5 to convert the .h file to a .bi file, the .h file has some inline code that can't be translated so I removed that part. The new header file that was produ...
by frisian
Nov 01, 2014 22:27
Forum: Projects
Topic: Chess game
Replies: 50
Views: 10194

Re: Chess game

FB_Numpty

I have not been very active with FB or the forum the past few month, I hope to catch up with things.
Would like to hear from you if still working on your chess program.
by frisian
Nov 01, 2014 22:19
Forum: Tips and Tricks
Topic: Syntax highligher for Notepad++ (FB0.91)
Replies: 13
Views: 7329

Re: Syntax highligher for Notepad++ (FB0.91)

dstein

You have the word "REM" listed as a keyword but it belongs in the tab comments & numbers it's from the early days of Basic. When it was at the beginning of a line the rest of that line was ignored.

Comments & Rem
by frisian
Nov 01, 2014 22:02
Forum: Community Discussion
Topic: FreeBASIC group on Facebook
Replies: 13
Views: 6980

Re: FreeBASIC group on Facebook

Nice idea but I am not a Facebook person, the forum is just fine for me.
by frisian
Nov 01, 2014 21:55
Forum: General
Topic: Determine if Date/time falls within US Daylight Saving Time?
Replies: 22
Views: 2028

Re: Determine if Date/time falls within US Daylight Saving T

Ok my program does not check of a date/time falls in winter or summer time. It only give a dates for the start and ending of daylight saving . #Lang"qb" ' The base for the function weekday is take from ' 57 practical programs & games in basic (Radio Shack 1978) Function Weekday(D As In...
by frisian
Nov 01, 2014 21:41
Forum: General
Topic: SKY CAR 3D [ line version ]
Replies: 2
Views: 626

Re: SKY CAR 3D [ line version ]

bluatigro In 3d-line-world the sub dodeca() contains two identical lines lijn x - f * d, y, z - 1 / f * d, x + f * d, y, z - 1 / f * d, dik <-- 1 lijn x + f * d, y, z + 1 / f * d, x - f * d, y, z + 1 / f * d, dik <-- 2 lijn x + 1 / f * d, y + f * d, z, x + d, y + d, z - d, dik lijn x - 1 / f * d, y ...
by frisian
Oct 07, 2014 21:14
Forum: Community Discussion
Topic: Article comparing FreeBASIC to cyBOSS
Replies: 24
Views: 4198

Re: Article comparing FreeBASIC to cyBOSS

frisian, I don't know where that text came from, but all it's saying is that the P-code generated by a programmer's source code is considered to be a derivative work of that source code. It's roughly analogous to saying the asm emitted by fbc from a given source code is a derivative of the source c...
by frisian
Oct 07, 2014 16:22
Forum: Projects
Topic: windows Multi-language Editor ( English;French;Spanish)
Replies: 71
Views: 20851

Re: windows Multi-language Editor ( English;French;Spanish)

@marpon New version looks good, I have found some small things. http://users.freebasic-portal.de/frisian/pictures/csed3.png When I select text it displays the total of selected characters (looks like it can't see the rest), but the display is cut off by means of a separator, while the rest of the li...
by frisian
Oct 07, 2014 14:35
Forum: Community Discussion
Topic: Article comparing FreeBASIC to cyBOSS
Replies: 24
Views: 4198

Re: Article comparing FreeBASIC to cyBOSS

Image

You worked hard on your program and then it turns out some else can claim copyright over it.
by frisian
Sep 24, 2014 20:27
Forum: General
Topic: Windoze 3.0 Advice
Replies: 12
Views: 1427

Re: Windoze 3.0 Advice

counting_pine wrote:Actually, now I think about it, it'd probably be enough just to put Option Static before the Static Shared line, and Option Dynamic again after it.

That works, thanks.

Go to advanced search