Search found 170 matches

by oyster
Feb 01, 2019 5:55
Forum: General
Topic: how to fetch vararg's name and value?
Replies: 2
Views: 272

how to fetch vararg's name and value?

I have read https://www.freebasic.net/forum/viewtopic.php?f=9&t=23905&p=222556&hilit=Vararg#p211115 , but it is not I am searching for In fact, I need something like this function fun(...) dim as string theName if "name" in Vararg then theName = name else theName = "admin&...
by oyster
Jan 30, 2019 5:25
Forum: Community Discussion
Topic: How many people actually use FreeBasic?
Replies: 85
Views: 13566

Re: How many people actually use FreeBasic?

Lost Zergling wrote:@oyster "there are "for each" in vb, I don't know when it will be in fb".
Yes indeed. You can, however, work around the problem using lzle


I, a non making-living-on-programming guy, get totally lost after reading your lzle post
by oyster
Jan 29, 2019 4:00
Forum: Libraries
Topic: wx-c-0-9-0-2 (static and dynamic windows)
Replies: 7
Views: 2321

Re: wx-c-0-9-0-2 (static and dynamic windows)

so where can we download the static lib and bi now? Thanks btw, although the wx-c examples in fbc 1.05 can be compiled and run with wx-c-0-9-0-2.dll, there is a error messagebox Failed to load shared library 'comctl32.dll' (error 126: can't find the module.) p.s. why there is no up-to-date wx-c, I h...
by oyster
Jan 28, 2019 13:28
Forum: Community Discussion
Topic: How many people actually use FreeBasic?
Replies: 85
Views: 13566

Re: How many people actually use FreeBasic?

> and in fact I don't like to use & to join strings because 2 keys(shift and 7) have to be pressed, I prefer to `+` symbol And what prevents you to use + instead of &? You can use both with FreeBasic. I know + can be used in FB to join string. I finger out both LEFT/RIGHT/MID and & in &...
by oyster
Jan 28, 2019 6:36
Forum: Community Discussion
Topic: How many people actually use FreeBasic?
Replies: 85
Views: 13566

Re: How many people actually use FreeBasic?

there are "for each" in vb, I don't know when it will be in fb
by oyster
Jan 28, 2019 3:57
Forum: Community Discussion
Topic: How many people actually use FreeBasic?
Replies: 85
Views: 13566

Re: How many people actually use FreeBasic?

although it is an old post... I started to learn programming in high school by using BASIC, sorry I don't know which machine and BASIC is exactly. now, I frequently handle kinds of text data in my work. But to be frankly, I don't want to write such an app in ANY BASIC . I hate to read/write tons of ...
by oyster
Jan 28, 2019 3:11
Forum: Projects
Topic: OxygenBasic Compiler
Replies: 46
Views: 9594

Re: OxygenBasic Compiler

the iup demos which use C headers directly in OxygenBasic are so cool
by oyster
Jan 27, 2019 7:32
Forum: Windows
Topic: [some OT] questions on DLL(Dynamic library)
Replies: 7
Views: 691

[some OT] questions on DLL(Dynamic library)

1. how to convert dll to static lib? ok, I know this is a strange topic. But I found an very old commercial app http://www.binary-soft.com/dll2lib/dll2lib.htm which said that it can convert DLL file into its equivalent static library Is there a free one? 2. can we rename the functions in DLL 3. can ...
by oyster
Jan 25, 2019 6:08
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 353
Views: 46523

Re: FLTK C for FreeBASIC Jan 09, 2017

in Fl_Overlay_WindowEx.bas Fl_WidgetSetCallbackArg Fl_ButtonNew( 50, 50,100,100,"wider") ,@Button1CB,win Fl_WidgetSetCallbackArg Fl_ButtonNew(250, 50,100,100,"narrower"),@Button2CB,win Fl_WidgetSetCallbackArg Fl_ButtonNew( 50,250,100,100,"taller") ,@Button3CB,win Fl_Wid...
by oyster
Jan 22, 2019 9:58
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated August 25, 2019)
Replies: 523
Views: 69864

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated December 9, 2018)

nice to see a firefly successor. I found that a programmer is supplying an IDE based on firefly. It is said that since firefly is closed-source, so DLL injection is used so that no modification on your original firefly is needed. The aim is to mimic VB, and variant name in Chinese is supplied. He ha...
by oyster
Jan 21, 2019 10:47
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 80
Views: 8396

Re: VisualFBEditor - IDE for FreeBasic

except for the source code, where is the doc/mini-code to explain the usage of every controls in MyFbFramework?
by oyster
Jan 18, 2019 15:36
Forum: Libraries
Topic: binding libxlsxwriter for writing Excel XLSX
Replies: 0
Views: 489

binding libxlsxwriter for writing Excel XLSX

as you may guess, it is a library to write Excel XLSX file.
Since it uses https://github.com/jmcnamara/libxlsxwriter, it can actually run on Windows/Linux/MacOSX

https://github.com/retsyo/libxlsxwriter_freebasic
by oyster
Jan 16, 2019 13:58
Forum: Beginners
Topic: is it valid to use 2 same argument in function declaration?
Replies: 1
Views: 248

is it valid to use 2 same argument in function declaration?

in a code, I found many lines like

Code: Select all

declare function Fl_Tree_ItemFindChildByItem(byval item as Fl_Tree_Item ptr, byval item as Fl_Tree_Item ptr) as long

you may find that, the first and second arguments are both "item"

So, I realize that FreeBasic allows this
by oyster
Jan 16, 2019 1:12
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 353
Views: 46523

Re: FLTK C for FreeBASIC Jan 09, 2017

Regards from nimlang import fltk_main proc ButtonClick (button: ptr FL_WIDGET, arg: pointer):cint {.cdecl.} = Fl_WidgetCopyLabel(button, "do it again") var Win = Fl_WindowNew(320, 200, "What a shiny Window :-)") var Btn = Fl_ButtonNew(10, 10, 120, 32, "click me") Fl_Wid...
by oyster
Jan 14, 2019 13:00
Forum: Libraries
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 353
Views: 46523

Re: FLTK C for FreeBASIC Jan 09, 2017

should

Code: Select all

declare function Fl_ScreenY      alias "Fl_GetX" as long

be

Code: Select all

declare function Fl_ScreenY      alias "Fl_GetY" as long

in fltk-main.bi ?

Go to advanced search