Search found 40 matches

by dkr
Mar 04, 2024 17:44
Forum: Beginners
Topic: Picture doesn't show until I click outside the graphics window
Replies: 3
Views: 338

Re: Picture doesn't show until I click outside the graphics window

I did find a solution - by luck. I needed to do a ScreenLock before using MultiPut and then ScreenUnlock afterwards.
I guess the size the image caused the issue. The original image I was testing it on was 4416 x 3312.

Darren
by dkr
Mar 03, 2024 16:15
Forum: Beginners
Topic: Picture doesn't show until I click outside the graphics window
Replies: 3
Views: 338

Picture doesn't show until I click outside the graphics window

Hello, I want to make a program to go through all my wife's phone images, and let her keep her craft photos in one directory, family in another and delete the rest. So I have been playing with the below code just to understand how to show the image. It works okay, but the image does not show up unti...
by dkr
May 12, 2022 19:47
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 979
Views: 343965

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Hello, My work computer has quarantined WinFBE_Suite.rar and WinFBE32.exe (backup) just today. They have been on my computer for years ?? Just thought you might want to know. I'm not really worried about it. I really like this editor, much better than the original ide. Thanks for developing it. Darren
by dkr
Mar 04, 2020 18:04
Forum: Sources, Examples, Tips and Tricks
Topic: Magnifier build 2020-03-05 [Windows only] ^^
Replies: 5
Views: 1628

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: 675

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: Sources, Examples, Tips and Tricks
Topic: Magnifier build 2020-03-05 [Windows only] ^^
Replies: 5
Views: 1628

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: 771375

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: 7244

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) (V3.1.0 June 4, 2023)
Replies: 979
Views: 343965

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: 7244

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: 1238

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: 1238

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: 7244

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 & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 197210

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 & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 197210

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...