Search found 132 matches
- Jun 22, 2024 23:47
- Forum: Community Discussion
- Topic: UnlockMe #1 - Fun Game
- Replies: 7
- Views: 4812
UnlockMe #1 - Fun Game
Hi this is an unlockme you mission is to unlock the the if condition - Good look. type security private: allow as boolean flagro as boolean dim as integer checkid public: declare sub ro declare sub ch(d as boolean) declare function re as boolean declare constructor declare function gcheck as integer...
- Mar 20, 2024 4:54
- Forum: Sources, Examples, Tips and Tricks
- Topic: Touchscreen Interface
- Replies: 0
- Views: 6046
Touchscreen Interface
I worte an very simle but good working touchscreen interface. Have fun! type button x1 as integer x2 as integer y1 as integer y2 as integer col as integer declare sub d(t as string) declare function c(x as integer,y as integer) as integer end type sub button.d(t as string) dim as integer px,py line(...
- Jan 01, 2024 0:05
- Forum: General
- Topic: New Year Challange
- Replies: 1
- Views: 652
New Year Challange
Hi, this challange tests your programming knowlege. You need to get "You dit it!" as output by "print secret" good look. 'rule: dont modify code above "your code here" - good look :) type ultrasecretstring private: s as string acs as boolean public: declare operator cas...
- Aug 06, 2023 20:27
- Forum: Archive
- Topic: Lemonade virtual machine
- Replies: 6
- Views: 2743
Re: Lemonade virtual machine
Compile Freebasic Code as DLL File and bind it into the Twinbasic
This means that the TwinBasic code is main code and the freebasic dlls have the timecritical code. Not tested but theoritical possible.
This means that the TwinBasic code is main code and the freebasic dlls have the timecritical code. Not tested but theoritical possible.
- Mar 21, 2023 8:19
- Forum: Community Discussion
- Topic: VM For FreeBasic as Target?
- Replies: 6
- Views: 1935
Re: VM For FreeBasic as Target?
Hmm.. i think Python Bytecode can be the future 

- Mar 20, 2023 22:01
- Forum: Community Discussion
- Topic: VM For FreeBasic as Target?
- Replies: 6
- Views: 1935
VM For FreeBasic as Target?
My Idea is to add an VM to the Freebasic Compiler as target so that the apllication(binary file) runs everywhere, its simply needed to translate the vm/emulator to the platform.
Is that a good idea?
Is that a good idea?

- Mar 20, 2023 20:15
- Forum: Beginners
- Topic: Close ScrenRes without ending program
- Replies: 5
- Views: 1587
Re: Close ScrenRes without ending program
You can use both, console and screen at same time: screenres 320,240 print "Click the console" Dim a As String Open Cons For Output As #1 Open Cons For Input As #2 Print #1,"Please write something and press ENTER" Line Input #2,a Print #1, "You wrote";a Print #1, "...
- Mar 20, 2023 20:00
- Forum: Beginners
- Topic: win api with -lang qb
- Replies: 6
- Views: 1705
Re: gui with -lang qb
One method is to bypass this with external libarys: Step one: Compile the libary with functionality that you are missing 'save as msgbox.bas and compile with the -dll parameter first. #lang "fb" #include "windows.bi" declare sub msgbox alias "msgbox" ( s as string,title...
- Mar 20, 2023 19:15
- Forum: Beginners
- Topic: Window CMD scroll lines
- Replies: 11
- Views: 3846
Re: Window CMD scroll lines
Otherwise, can you test this? #lang "fblite" Width , 10100 for i=1 to 10000 print i next i sleep Nope #lang "fblite" Width 10100 , 10100 for i=1 to 10000 print i next i sleep works better for me Here is a little sure not that want but more smart :) type logger Redim s(any) as st...
- Mar 20, 2023 8:19
- Forum: General
- Topic: Code request: Need an function that returns true when this function is called in an function or sub
- Replies: 9
- Views: 1171
Re: Code request: Need an function that returns true when this function is called in an function or sub
I did not quite understand what you are exactly looking to do, but the code below might be able to help: Function WhoCalledMe(Byref fct As String) As Boolean If fct = "__FB_MAINPROC__" Or fct = "__FB_MODLEVELPROC__" Then Print "I am called by main" Return False Else Pr...
- Mar 20, 2023 7:47
- Forum: Sources, Examples, Tips and Tricks
- Topic: Protected Variables with Access Managment are possible - Keep it simple :D
- Replies: 0
- Views: 1989
Protected Variables with Access Managment are possible - Keep it simple :D
Ive found a very simple method to add an accsees managment system for strings, this should work with other datatypes too. :) Have a nice day! Update: I think that i have all bug fixed :) #undef true #undef false const true = 1 const false = 0 Type ProtectedString private: protectetstringdata as stri...
- Mar 18, 2023 8:53
- Forum: Community Discussion
- Topic: Need a list of missing Keywords for FBIDE 0.4.6
- Replies: 8
- Views: 2048
Need a list of missing Keywords for FBIDE 0.4.6
I need an update of the Keywords in FBIde 0.4.6 for fbc 1.09.0
Can any one make this for us? Or how can i do it self?
Greeting!
Can any one make this for us? Or how can i do it self?
Greeting!

- Mar 17, 2023 11:42
- Forum: Community Discussion
- Topic: Copy Arrays
- Replies: 17
- Views: 3915
Re: Copy Arrays
I think something like this:
Have must be working in the next release of FreeBasic.. 
Code: Select all
dim as string array_Small(1 to 3)
dim as string array_Big(1 to 10)
array_Big(1 to 3) = array_small(1 to 3)

- Mar 17, 2023 11:37
- Forum: Community Discussion
- Topic: Who can hack this? 2.0 - Work in progress
- Replies: 0
- Views: 1795
Who can hack this? 2.0 - Work in progress
Hi everybody! I am actually working on a new OpenSource Crackme in FreeBasic, based on this: ->Entry<- In the Freebasic forum. The Code ist allready fixed so that the old code ist working now alleady working with fbc 1.09.0 the next step is to rewite the complete Code and fix all the security issuse...
- Mar 17, 2023 7:43
- Forum: General
- Topic: Code request: Need an function that returns true when this function is called in an function or sub
- Replies: 9
- Views: 1171
Code request: Need an function that returns true when this function is called in an function or sub
I need something like this
Is this possible?
Code: Select all
If ThisIsInFunctionOrSubCalled then
return true
else
return false
end if