Search found 3597 matches

by TJF
Oct 17, 2020 8:26
Forum: Beginners
Topic: New to FreeBASIC?
Replies: 28
Views: 53908

Re: New to FreeBASIC?

Hi, welcome to the forum! I have seen GladToBac that can convert Glade to freebasic code. Anyone has tried? Just do a forum search (note the 'e' in the program name): https://www.freebasic.net/forum/search.php?keywords=GladeToBac GladeToBac does not convert code. Instead it auto-creates/updates Free...
by TJF
Sep 06, 2020 16:26
Forum: Projects
Topic: Is there a git host for BASIC w/ Bash etc?
Replies: 4
Views: 387

Re: Is there a git host for BASIC w/ Bash etc?

pagetelegram wrote:Since M$ owns github now, I want to move to another platform anyways!
I'm also looking for another platform, and I don't want to spend time to improve a M$ project.
by TJF
Sep 06, 2020 9:13
Forum: Projects
Topic: Is there a git host for BASIC w/ Bash etc?
Replies: 4
Views: 387

Re: Is there a git host for BASIC w/ Bash etc?

I've had github for a while and tried gitlab recently. It would be nice to find a git repository site that indexes fbc and BASIC instruction properly. Github has VBA which is closest to BASIC. Is there a git repository site you prefer? Since gitlab doesn't provide access counters, I use github. In ...
by TJF
Sep 06, 2020 9:01
Forum: Community Discussion
Topic: [offtopic]Some cheap and tiny ARM devices.
Replies: 64
Views: 14896

Re: [offtopic]Some cheap and tiny ARM devices.

@caseih I'm not disappointed by ARM SoC devices. But I don't see them as a replacement for desktop computers. Instead I use them for real-time closed-loop-controllers. I'm speaking about the BeagleBone series (White, Black, Green, Blue, Poket). The ARM335x CPU contains two PRUSS (Programmable Realti...
by TJF
Aug 03, 2020 19:51
Forum: General
Topic: simple stack-based eval
Replies: 11
Views: 685

Re: simple stack-based eval

Float parsing is not trivial
? .-5

-5
rpn = . 5 -
by TJF
Aug 03, 2020 6:36
Forum: General
Topic: simple stack-based eval
Replies: 11
Views: 685

Re: simple stack-based eval

? 1e-5

-4
rpn = 1E 5 -
by TJF
Aug 02, 2020 15:58
Forum: General
Topic: simple stack-based eval
Replies: 11
Views: 685

Re: simple stack-based eval

srvaldez wrote:I added E to the numeric character list and entering a number in exponential format will now works but there's no checking for valid number entry
Wanna fix further problems?
? (1+2)*3

Aborting due to runtime error 6 (out of bounds array access) at line 204 of eval.bas::FACTOR()
Regards
by TJF
Aug 02, 2020 8:18
Forum: General
Topic: simple stack-based eval
Replies: 11
Views: 685

Re: simple stack-based eval

srvaldez wrote:not a tip or a trick, just for fun
No fun yet :-(
? 1e5

Syntax Error
by TJF
Jul 26, 2020 10:21
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 21209

Re: TP-Link HS110

There is no way I could improve on 18 sec's, or come anywhere near it. The uSD alone takes 45 + sec's, but i guess you are not running on a uSD. Booting from uSD. The eMMC boot sector is erased -> no access to eMMC. I find the hardest part is researching what is needed and what is not. Then testing...
by TJF
Jul 25, 2020 12:17
Forum: Libraries
Topic: ttf examples on 64-bit systems?
Replies: 4
Views: 490

Re: ttf examples on 64-bit systems?

Hi N3trunn3r! On 64 bit systems take care sending a proper stride value to function cairo_image_surface_create_for_data(): #DEFINE CAIRO_HAS_PDF_SURFACE 1 #DEFINE CAIRO_HAS_PS_SURFACE 1 #DEFINE CAIRO_HAS_SVG_SURFACE 1 #INCLUDE ONCE "cairo/cairo.bi" #INCLUDE ONCE "cairo/cairo-pdf.bi&qu...
by TJF
Jul 25, 2020 11:24
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 21209

Re: TP-Link HS110

You are preaching to the converted. I may not handle them the way you are, but I have error trapping everywhere in my code. In the case of the error "Cannot open /dev/uio5" , that doesn't mean anything to me, so by numbering the error and trapping it on the return of the function allows m...
by TJF
Jul 24, 2020 13:14
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 21209

Re: TP-Link HS110

In particular the plot command is something I have been looking for. systemd-analyse has further options for your task, it's worth to check them. The plot is the most easy to interpret. What's the result of ?*io->Errr after the io=pruio() call? Cannot open /dev/uio5 What's the result of ?*io->Errr ...
by TJF
Jul 24, 2020 6:57
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 159
Views: 21209

Re: TP-Link HS110

Hi Dinosaur! For me there're a couple of unanswered questions here: ⋅ What's the result of ?*io->Errr after the io=pruio() call? ⋅ What's the result of ?*io->Errr after the .Gpio->config(IOCtrl.OPpinNbr(Xq) , PRUIO_GPIO_OUT0) call? Note: As long as you don't reset the error messa...
by TJF
Jul 22, 2020 23:42
Forum: Beginners
Topic: Automatic set ERR for error
Replies: 16
Views: 805

Re: Automatic set ERR for error

But a reasonable language would simply return zero instead of making a fuss about it (and that's what FB does btw). However, the real problem here is that Err () is not being set for serious errors, such as an overflow or a blabla text returning zero. ⋅ An overflow returns inf -> no probl...

Go to advanced search