Search found 1107 matches

by jj2007
May 22, 2019 18:35
Forum: Projects
Topic: windows Multi-language Editor ( English;French;Spanish)
Replies: 71
Views: 17472

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

#if 0
FreeBASIC
multi-line
comment
#endif
by jj2007
May 22, 2019 8:38
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

the official distribution for dislin is here https://www.mps.mpg.de/dislin/distributions that direction was already given on previous posts of that topic Right, it's where you find dl_11_fb.zip FreeBASIC 9534 KB 15-Mar-2019 This is what I am using, this is the one that refuses to work with the late...
by jj2007
May 22, 2019 7:57
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

in fact it is not mysterious at all, you simply do not have the same configuration... the old dislin.bi did not used namespace , it declared only the sub/functions and sometimes with alias for color , name ... to avoid duplicates to use the dislin static lib download the package for c/c++ 32 or 64 ...
by jj2007
May 21, 2019 19:10
Forum: General
Topic: Resize a control dynamically in runtime using the mouse
Replies: 4
Views: 115

Re: Resize a control dynamically in runtime using the mouse

OK, that makes it WM_NCHITTEST plus subclassing. Note, though, that there is a reason why WS_THICKFRAME is so thick: it's difficult to hit a thin line with the mouse.
by jj2007
May 21, 2019 13:38
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

dodicat wrote:My origional code runs without any namespace.
Quite mysterious indeed. Here only the version with Dislin.xxx but without namespace works.
by jj2007
May 21, 2019 10:05
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

jj2007 with your code If I put namespace dislin #INCLUDE "dislin.bi" end namespace and put the underscores back on name and color your code runs fine. So what is going on with this namespace and underscore issue? I have no idea. Fact is that - it compiles and runs fine with the Dislin. me...
by jj2007
May 21, 2019 2:37
Forum: General
Topic: How do you interoperate with other applications using double-precision floating-point?
Replies: 15
Views: 204

Re: How do you interoperate with other applications using double-precision floating-point?

please show some math calculations (not jus the results) in MATLAB and the same in FB Right, results only don't make much sense. For your inspiration: Testl2e REAL10 1.442695040888963407 Testl2t REAL10 3.321928094887362348 TestPI REAL10 3.141592653589793238 Init fld Testl2e fld Testl2t fld TestPI f...
by jj2007
May 21, 2019 1:46
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

Trial and error and a sleepless night are the solution to all problems, hooray! Dodicat's original version (error 132: Too many errors, exiting): #INCLUDE "dislin.bi" dim as double current(...) = {120, 125, 122, 119, 134, 138, 141, 159, 162, 178} dim as double voltage(...) = {250, 210, 18...
by jj2007
May 21, 2019 1:23
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

@dodicat: Thanks, I got your program running after a while using WinFBE, but it fails on the DisLin examples. Same crappy error list as above. All my other stuff works just fine - for example, this Windows template: #Include "windows.bi" Dim Shared as Handle hEdit Function WndProc(hWnd As ...
by jj2007
May 20, 2019 20:11
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

Thank you all for your attempts to help me, but I am out . Most of these "additional" packages suffer from the same problems: they require environment variables to be set, specific folders, specific IDEs, no installation instructions, and conflicting advice from people who managed to get t...
by jj2007
May 20, 2019 18:58
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

I followed exactly the instructions and get this: gcc version 8.1.0 (2018) C:\FreeBasic\lib\DisLin\tmp\TmpFb.bas(6) error 41: Variable not declared, metafl C:\FreeBasic\lib\DisLin\tmp\TmpFb.bas(7) error 41: Variable not declared, disini C:\FreeBasic\lib\DisLin\tmp\TmpFb.bas(8) error 41: Variable not...
by jj2007
May 20, 2019 17:05
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

Go to the dislin page (https://www.mps.mpg.de/dislin/win-64-bit). You will find there the official distribution for Freebasic. No luck (I hate working with environment variables, but for the sake of testing this I set them...): *** compiling TmpFb.bas with -t 2000 -gen gcc -Wc -Ofast -s console (32...
by jj2007
May 20, 2019 15:19
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

dodicat wrote:Here is some dislin code for the original voltage over current display.
I found inc\dislin.bi but the linker is not happy: ld.exe: cannot find -ldismgc

I have also downloaded the MediaFire dislin.zip but there is no readme explaining where the files should end up, relative to fbc.exe.
by jj2007
May 19, 2019 10:29
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 50
Views: 1177

Re: Creating (scientific) plots via gnuplot

@Aurel: Do you mean software or hardware, i.e. plot on a metal surface??? Challenge? ;-) Challenge? ;-) Absolutely! Just post the code that uses badidea's data and displays it as close as possible to his version ;-) Here is my version (complete source; the window is sizeable, ArrayPlotValues is opti...

Go to advanced search