Search found 2442 matches

by srvaldez
Sep 17, 2020 13:00
Forum: General
Topic: Project of a multiplatform version of FreeBasic Miner
Replies: 19
Views: 405

Re: Project of a multiplatform version of FreeBasic Miner

hello Roland Chastain
one thing that is suspect when a program compiled to 64-bit has problems is Integer variables, Integer is 32-bit on FB 32-bit and 64-bit on FB 64-bit
I suggest you try search and replace Integer with either Long or Integer<32>
by srvaldez
Sep 14, 2020 9:40
Forum: General
Topic: Does Anyone have a clue as to why this doesn't work?
Replies: 7
Views: 179

Re: Does Anyone have a clue as to why this doesn't work?

Hello IvanisIvan when you have problems like that it helps if you compile your program with the option -exx in freeBasic you must dimension arrays, change your dim's to DIM Counta AS INTEGER DIM Countb AS INTEGER DIM Countc AS INTEGER DIM Countd AS INTEGER DIM Namea( 0 TO 60 ) AS STRING DIM Nameb( 0...
by srvaldez
Sep 14, 2020 0:23
Forum: Beginners
Topic: Allegro on new installation
Replies: 3
Views: 164

Re: Allegro on new installation

Hi crylex the easiest way to get allegro working with FB is to use the same version as the example which is allegro-5.0.10 you can get the 32-bit binaries from https://www.allegro.cc/files/ you need to get the MinGW 4.7.0 archive ideally you would want the latest version, but the example in the FB d...
by srvaldez
Sep 04, 2020 0:53
Forum: Beginners
Topic: Slow printing to console screen
Replies: 14
Views: 323

Re: Slow printing to console screen

I also noticed speed differences depending on the console size
but your times are indeed very slow
by srvaldez
Sep 03, 2020 23:32
Forum: Beginners
Topic: Slow printing to console screen
Replies: 14
Views: 323

Re: Slow printing to console screen

@fzabkar
what vesion of FB are you using and what command options if any are you using?
also, is your computer a laptop?
by srvaldez
Sep 03, 2020 22:36
Forum: Beginners
Topic: Slow printing to console screen
Replies: 14
Views: 323

Re: Slow printing to console screen

here's your test with timing ' # include "vbcompat.bi" Dim row as UByte Dim col as UByte Dim sRowData As String dim as double t t=timer For row = 1 To 250 For col = 0 To 39 Print Using "##"; col Mod 10; Next col Print Next row Print timer-t Sleep t=timer For row = 1 To 250 For co...
by srvaldez
Sep 03, 2020 22:06
Forum: Beginners
Topic: Slow printing to console screen
Replies: 14
Views: 323

Re: Slow printing to console screen

@fzabkar
the perception of slow or fast is subjective, your test does not give a performance benchmark, say in milliseconds to completion
by srvaldez
Sep 02, 2020 21:20
Forum: General
Topic: imp____acrt_iob_func, undefined
Replies: 11
Views: 3833

Re: imp____acrt_iob_func, undefined

the 32-bit tests of libcairo works ok, I suspect that the cairo bi files are not 64-bit clean
by srvaldez
Sep 02, 2020 16:20
Forum: General
Topic: imp____acrt_iob_func, undefined
Replies: 11
Views: 3833

Re: imp____acrt_iob_func, undefined

while testing libraries produced by MXE (cross environment) https://mxe.cc/ I ran into this issue again was testing libcairo and Iczer's solution did solve the undefined symbol problem but the cairo clock would crash so tried including different msvcrt libs without Iczer's solution thinking that per...
by srvaldez
Aug 31, 2020 23:22
Forum: General
Topic: Building for Win32 under Win64 FB ??
Replies: 5
Views: 149

Re: Building for Win32 under Win64 FB ??

hello softfoot you can combine both the 32 and 64-bit compilers in one directory, obviously you will need to rename fbc to something like fbc32.exe and fbc64.exe [or you could just keep the 64-bit of fbc.exe] the rest merges without conflict, for example you have the directories /lib/win32 and /lib/...
by srvaldez
Aug 31, 2020 22:59
Forum: Beginners
Topic: Strange command line parsing behaviour
Replies: 20
Views: 640

Re: Strange command line parsing behaviour

hello fzabkar
the code you provided should not cause any problems, there must be more to it that you are not revealing

Code: Select all

#include "windows.bi"
' do nothing
End

like jj said, do a clean install
by srvaldez
Aug 30, 2020 15:03
Forum: Beginners
Topic: Problem with FB on Geany in Linux Mint 20 [SOLVED]
Replies: 5
Views: 157

Re: Problem with FB on Geany in Linux Mint 20

did you succeed in installing libtinfo5 ?
if so, then a sudo ldconfig may solve your problem
by srvaldez
Aug 30, 2020 10:38
Forum: General
Topic: Strandbeesten walking mechanism
Replies: 2
Views: 132

Re: Strandbeesten walking mechanism

thank you Richard, very interesting :-)
by srvaldez
Aug 26, 2020 23:55
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 45
Views: 2469

Re: [off topic?] Ice creams and keys

what about a careless npc that leaves the key in the lock?
by srvaldez
Aug 26, 2020 18:35
Forum: Libraries
Topic: tinyexpr
Replies: 0
Views: 223

tinyexpr

here's a tiny expression evaluator https://github.com/codeplea/tinyexpr before you compile tinyexpr I suggest that you un-comment #define TE_POW_FROM_RIGHT when compiled as a static library with -O2 it's about 1.75 times faster than muParser tinyexpr.bi #pragma once #inclib "tinyexpr" exte...

Go to advanced search