Search found 213 matches

by nimdays
Dec 25, 2018 2:28
Forum: Community Discussion
Topic: Merry Christmas!
Replies: 11
Views: 615

Re: Merry Christmas!

Merry Xmas ... Selamat Natal
by nimdays
Dec 06, 2018 0:15
Forum: Tips and Tricks
Topic: Get String Characters 4x Faster than Mid()
Replies: 83
Views: 2842

Re: Get String Characters 4x Faster than Mid()

dim as string * 32 z = "hello" dim as zstring ptr pz = @z[0] 'simpler: = @z pz[2][3]=asc("X") print z Just curious about acessing the index here. dim as string * 32 z = "hello" dim as zstring ptr pz = @z[0] 'simpler: = @z pz[2][3]=asc("X") print z ' and this ...
by nimdays
Dec 05, 2018 23:03
Forum: Community Discussion
Topic: Nominations for Forum Moderators
Replies: 70
Views: 5047

Re: Nominations for Forum Moderators

D.J.Peters

fxm

dodicat

MrSwiss


I think they are quite active around here.
by nimdays
Nov 19, 2018 23:49
Forum: Libraries
Topic: FLTK C for FreeBASIC Jan 09, 2017
Replies: 206
Views: 28970

Re: FLTK C for FreeBASIC Jan 09, 2017

Nice to see visual FLTK
by nimdays
Nov 19, 2018 23:33
Forum: Beginners
Topic: About mod and then
Replies: 6
Views: 494

Re: About mod and then

Thanks again Admin.
by nimdays
Nov 12, 2018 23:47
Forum: Beginners
Topic: About mod and then
Replies: 6
Views: 494

Re: About mod and then

Thank you All, I read somewhere that it's not mathematically correct and the remainder should be positive The Then keyword should be separated by a space. You got away with it by enclosing it with a literal and a question mark. Probably a bug of sorts, but not worth fixing. (same as end if endif) Yo...
by nimdays
Nov 12, 2018 8:34
Forum: Tips and Tricks
Topic: simulate oldscool amber/green monitor with rgb inputs
Replies: 4
Views: 453

Re: simulate oldscool amber/green monitor with rgb inputs

@Haubitze,Where is this "colorizer.bi?
by nimdays
Nov 12, 2018 8:31
Forum: Beginners
Topic: About mod and then
Replies: 6
Views: 494

About mod and then

Hello,I'm curious about this

Code: Select all

dim as integer x = -10
?x mod 3  ' -1
if x<0then?x
sleep


About the mod operator, the result should be negative or positive?
And about "then", No separator is fine, It's not an operator like "<,>,etc"

Thanks
by nimdays
Oct 21, 2018 2:36
Forum: Windows
Topic: please test my crappy owner-draw menu
Replies: 36
Views: 5602

Re: please test my crappy owner-draw menu

From the manual,RGB function returns an unsigned integer in the format &hAARRGGBB
by nimdays
Oct 14, 2018 1:50
Forum: General
Topic: Fast random integers
Replies: 49
Views: 1565

Re: Fast random integers

Thanks for sharing
by nimdays
Oct 09, 2018 4:14
Forum: Tips and Tricks
Topic: Posterize
Replies: 0
Views: 396

Posterize

A simple way to reduce the colors const pic = "c:\blunt.bmp" 'change this (optional) const w = 800,h = 600,d = 32 const t = 100 'change the timer if necessary const l = 32 'change the level if necessary function pst(src as ubyte,lv as ubyte)as ubyte dim as ubyte v = 256\lv ''level = 2 to 1...
by nimdays
Oct 09, 2018 4:11
Forum: Tips and Tricks
Topic: Simple shared memory [Linux]
Replies: 6
Views: 478

Re: Simple shared memory [Linux]

^^
Thanks
by nimdays
Oct 08, 2018 4:15
Forum: Tips and Tricks
Topic: Simple shared memory [Linux]
Replies: 6
Views: 478

Re: Simple shared memory [Linux]

Another way is memfd
by nimdays
Oct 02, 2018 4:14
Forum: Linux
Topic: Qemu on win7?
Replies: 14
Views: 996

Re: Qemu on win7?

I use Qemu Manager 7

Go to advanced search