Search found 37 matches

by dkr
Mar 04, 2020 18:04
Forum: Tips and Tricks
Topic: Magnifier build 2020-03-05 [Windows only] ^^
Replies: 5
Views: 498

Re: Magnifier build 2020-03-04 [Windows only] ^^

Ok. Didn't read your post carefully. Did get the pastebin code. Worked perfectly. Really cool.

Thanks,
Darren
by dkr
Mar 04, 2020 17:16
Forum: General
Topic: constant e calculation, how does it work?
Replies: 2
Views: 225

Re: constant e calculation, how does it work?

Natural Logarithms base number e

e = lim(1+1/n)^n where n->∞ Leonhard Euler(1707-1783)
by dkr
Mar 04, 2020 16:19
Forum: Tips and Tricks
Topic: Magnifier build 2020-03-05 [Windows only] ^^
Replies: 5
Views: 498

Re: Magnifier build 2020-03-04 [Windows only] ^^

Hello, I have tried compiling this code using WinFBE and I get the below error. Not sure what I have done wrong. 'Decode base64 string Dim As Ulong iLines, bCompressed, iFileSize, iCompressedSize Dim As String aB64(1), sB64, sBaseVersion Restore __Label0: <-------------------------------------------...
by dkr
Jun 13, 2019 13:39
Forum: General
Topic: Squares
Replies: 8041
Views: 507134

Re: Squares

Albert, You are not considering damping in any of these systems. Small displacement usually have linear damping. However, as the displacement increases the damping usually increases non-linearly i.e. increases rapidly. Otherwise, many structural systems would be failing with small inputs at the fund...
by dkr
Apr 05, 2019 17:49
Forum: Documentation
Topic: Where is printexpressionlist defined?
Replies: 7
Views: 5780

Re: Where is printexpressionlist defined?

Ok, it appears that printexpressionlist is nearly the same as the expressionlist, but has no formatting controls The below code shows a simple example dim as integer i,j,k dim as string a,b,c i = 1 j = 12 k = 23 a = "1st string" b = "2nd string" c = "&&&&&...
by dkr
Apr 05, 2019 16:35
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.1.7 May 31, 2020)
Replies: 718
Views: 132108

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated March 25, 2019)

Mr. Paul Doe,
I really like and use your WinFBE editor. Many thanks.

Should the USING reserved word be changed in color in a print statement

Print #infile, USING fmt; var, var, var, ....

https://ibb.co/Y3bXN1D

No big deal, just thought I would point that out.

Thanks again,
Darren
by dkr
Apr 05, 2019 16:07
Forum: Documentation
Topic: Where is printexpressionlist defined?
Replies: 7
Views: 5780

Re: Where is printexpressionlist defined?

My link just goes to the (Print|?) page. However, there is no documentation for a printexpressionlist

Am I looking for something that is obvious to everyone else or does this printexpressionlist exist?

Thanks,
Darren
by dkr
Apr 05, 2019 16:01
Forum: Beginners
Topic: Integers print with leading space?
Replies: 3
Views: 610

Re: Integers print with leading space?

Ok, great. I forgot about the sign

Thanks,
Darren
by dkr
Apr 05, 2019 15:27
Forum: Beginners
Topic: Integers print with leading space?
Replies: 3
Views: 610

Integers print with leading space?

Where o_ncards is dimensioned as an integer, the following code prints the line with a space between the comma (c) and the integer??
I know I can use print using, but why the leading space?

Code: Select all

c = ","
print #out_f, "NUM_CARDS";c;o_ncards


Output:
NUM_CARDS, 5

Thanks,
Darren
by dkr
Apr 05, 2019 15:22
Forum: Documentation
Topic: Where is printexpressionlist defined?
Replies: 7
Views: 5780

Where is printexpressionlist defined?

From the (Print/?) Using page: Outputs formatted text to the screen or output device Syntax (Print | ?) [# filenum ,] [ printexpressionlist {,|;} ] Using formatstring ; [ expressionlist [ ; ] ] Parameters filenum The file number of a file or device opened for Output or Append. (Alternatively LPrint ...
by dkr
Mar 08, 2019 19:54
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 87722

Re: FLTK C for FreeBASIC Jan 09, 2017

Found out how to deactivate an item in a menu. To show it, I used Joshy's menu_bar example. in the NewFile callback: t1 = Fl_Menu_FindItemByName(m1,"File/New") 'this gets the menu item pointer Fl_Menu_ItemDeactivate(t1) 'this will deactivate the "File/New" item in the save callba...
by dkr
Mar 08, 2019 14:43
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 87722

Re: FLTK C for FreeBASIC Jan 09, 2017

Hello, Here is most of the code. It is just a beginning. I need to determine if the Test_Menu window can be deactivated, otherwise I might have to re-think how to get the inputs into the program. The basic idea of the program is an easy gui to enter the general information and individual channel con...
by dkr
Mar 07, 2019 22:03
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 393
Views: 87722

Re: FLTK C for FreeBASIC Jan 09, 2017

Hello, Another question on using the FLTK library. I am trying to use the Fl_Menu_NewBar widget. It will look something like the image in the link below. https://imgur.com/9NA8YKh Clicking on the menu items brings up another widget window from the callback subroutines. However if I go back to the ab...
by dkr
Feb 27, 2019 12:55
Forum: Beginners
Topic: Basic understanding of FLTK
Replies: 4
Views: 841

Re: Basic understanding of FLTK

Ok, Thank you. I will add pointers for each tab.

Darren
by dkr
Feb 26, 2019 18:44
Forum: Beginners
Topic: Basic understanding of FLTK
Replies: 4
Views: 841

Re: Basic understanding of FLTK

I think Fl_ButtonSetOnly(ac(i)) is correct for both tabs. It sets the default to AC coupling for all channels. After looking more at it today, I think the issue is the ac() and dc() and chc() pointers are somehow fixed to the last tab initialization. I probably will have to make a separate Button_Cl...

Go to advanced search