Search found 402 matches
- Jan 14, 2024 12:09
- Forum: General
- Topic: FBIDE error file '' , line 10; "=" expected
- Replies: 1
- Views: 367
FBIDE error file '' , line 10; "=" expected
On Tuesday & Wednesday while studying the edge limits of available memboy [on a Win10, 16GB ram, 3.3MHz PC] I could generate qword (ulongint), ulong, short, byte, and boolean arrays. I created a boolean array of 2^30 elements ( 1 billion 73+million) and using prime sieve filled the array with pr...
- Oct 24, 2023 15:08
- Forum: Community Discussion
- Topic: FreeBASIC 1.09.0 Release
- Replies: 256
- Views: 52880
Re: FreeBASIC 1.08.1 and 1.09.0 Development
hello FB developers ... [lines of code omitted] #define WIN_INCLUDEALL #Include "windows.bi" ... '=============================================== '=============================================== Sub getfilename() Dim ofn As OPENFILENAME Dim filename As Zstring * MAX_PATH+1 With ofn .lStru...
- Sep 28, 2023 2:09
- Forum: Community Discussion
- Topic: Missing in action.
- Replies: 28
- Views: 4350
Re: Missing in action.
Deepest condolences.
- Sep 08, 2023 2:20
- Forum: Windows
- Topic: ScreenRes problem
- Replies: 7
- Views: 2162
Re: ScreenRes problem
more development from the same program but with some different flavored problems. I commented out all of the screen stuff. when the directive: #lang "qb" is NOT used The program compiles and works as expected. when the directive: #lang "qb" is used The program compiles and runs a...
- Sep 08, 2023 1:37
- Forum: Libraries & Headers
- Topic: Library, Project, Example Code Archive
- Replies: 7
- Views: 2086
Re: Library, Project, Example Code Archive
I was thinking that at the beginning I would just collect libraries and things myself and add then. If anyone would want to be able to add items themself, I would grant an account with limited access. Can't get more frictionless than "someone else's problem". Having a catalog of complete,...
- Sep 02, 2023 0:55
- Forum: Windows
- Topic: ScreenRes problem
- Replies: 7
- Views: 2162
Re: ScreenRes problem
@sarg I did not know that about the smi lies I re-wrote the line many times, with different dims, still same result. The problem must be somewhere in the 300+ lines before this statement. Next try is to comment out sections to isolate the mole hill. @paul Screenlist had several dozen screen resoluti...
- Aug 31, 2023 0:36
- Forum: Windows
- Topic: ScreenRes problem
- Replies: 7
- Views: 2162
ScreenRes problem
As I remember (which may be a little unreliable) a few years back ScreenRes on my Win7 sys worked ok. However, Why this? ------------------------ Command executed: "c:\_fbc\fbc64.exe" "C:\fbox\fbtry80.bas" Compiler output: C:\fbox\fbtry80.bas(346) error 72: Array not dimensioned,...
- Jul 06, 2023 14:58
- Forum: Beginners
- Topic: speed of FB 1.10 on a Win10 64 bit 2 core sys
- Replies: 5
- Views: 1987
Re: speed of FB 1.10 on a Win10 64 bit 2 core sys
@marcov & @srvaldez
THANK YOU
I had 16 GB memory added.
I reset the PC
Now, it requires about three to five seconds for browzers to activate: firefox, slimjet; chrome; edge
Your suggestion was/is appreciated.
THANK YOU
I had 16 GB memory added.
I reset the PC
Now, it requires about three to five seconds for browzers to activate: firefox, slimjet; chrome; edge
Your suggestion was/is appreciated.
- Jul 06, 2023 14:42
- Forum: General
- Topic: How do I select an output DEVICE in FB?
- Replies: 1
- Views: 310
How do I select an output DEVICE in FB?
Attached to my system: hp designjet printer epson printer pdf creator word pad note pad How is it possible to select one of those devices in FreeBasic? At the moment, in FreeBasic, I send the output to a disk file (as: open "temp.txt" for output as #1) After a few (or perhaps a thousand) l...
- May 22, 2023 3:45
- Forum: Beginners
- Topic: speed of FB 1.10 on a Win10 64 bit 2 core sys
- Replies: 5
- Views: 1987
speed of FB 1.10 on a Win10 64 bit 2 core sys
Does the FB run slower on a 64bit system? Some background: This is what I use ATM: 1) An XP system runs at 2 GHZ with 1 GB of Ram. When I click on Firefox, the firefox icon and screen pops up in about three seconds. 2) I have a Win7 system with 4 GB of RAM running at 3.1 GHz When I click on the Fire...
- May 03, 2023 8:25
- Forum: General
- Topic: Xs and Os (or Tic-Tac-Toe)
- Replies: 5
- Views: 1199
Re: Xs and Os (or Tic-Tac-Toe)
in main:
player is defined twice
winner is not defined
however,
the subroutine/macro "incr" is not defined
believe it should be: moves += 1
The player with the first move has the advantage.
player is defined twice
winner is not defined
however,
the subroutine/macro "incr" is not defined
believe it should be: moves += 1
The player with the first move has the advantage.
- May 03, 2023 7:55
- Forum: General
- Topic: max accuracy double
- Replies: 7
- Views: 1305
Re: max accuracy double
ditto
same result
Also of interest (to me) as double on 32 bit:
(2^64 - 1) / (2^64 + 2^10) = 1
(2^64 - 1) / (2^64 + 2^11) = 1
(2^64 - 1) / (2^64 + 2^12) = 0.9999999999999998
(2^64 - 1) / (2^64 + 2^13) = 0.9999999999999996
(2^64 - 1) / (2^64 + 2^14) = 0.9999999999999991
same result
Also of interest (to me) as double on 32 bit:
(2^64 - 1) / (2^64 + 2^10) = 1
(2^64 - 1) / (2^64 + 2^11) = 1
(2^64 - 1) / (2^64 + 2^12) = 0.9999999999999998
(2^64 - 1) / (2^64 + 2^13) = 0.9999999999999996
(2^64 - 1) / (2^64 + 2^14) = 0.9999999999999991
- Apr 13, 2023 4:51
- Forum: General
- Topic: Famous math problems
- Replies: 9
- Views: 1629
Re: Famous math problems
Here's my interpretation of the Collatz Conjecture "3x + 1". Let me know if you find any bugs. Try experimenting with different seed numbers. https://www.youtube.com/watch?v=094y1Z2wpJg The conjecture is true. A method to prove it has not been published. I would expect the proof to be alo...
- Apr 13, 2023 4:11
- Forum: General
- Topic: Famous math problems
- Replies: 9
- Views: 1629
Re: Famous math problems
Mathematical equation 6 / 2(1 + 2) Print 6 / 2 * (1 + 2) '' Is this the correct answer? Print 6 / 2 / (1 + 2) '' or is this From a 1917 text took? sleep Also can the Collatz Conjecture be proven? 3x + 1 https://www.youtube.com/watch?v=094y1Z2wpJg The correct answer is what the teacher says it is! o...
- Jun 25, 2021 3:35
- Forum: Sources, Examples, Tips and Tricks
- Topic: Starfield with trails
- Replies: 3
- Views: 1371
Re: Starfield with trails
neat! had to tweak. also looks cool with the lines uncommented var rad = .01 + 250 * rnd var ang = rnd * tau sx = cos(ang) sy = sin(ang) x=w/2 + rad * sx y=h/2 + rad * sy rad = rnd + .1 sx *= rad sy *= rad 'sx = (rnd()*2.0)-1.0 'sy = (rnd()*2.0)-1.0 Just curious. What is your initial value for &quo...