Search found 1776 matches

by Imortis
Feb 27, 2024 1:00
Forum: Sources, Examples, Tips and Tricks
Topic: polymorphism revisit - 2023
Replies: 28
Views: 3495

Re: polymorphism revisit - 2023

Why on earth are you asking an AI to write code for something you don't understand? How are you supposed to debug it when it doesn't do what you intend? You would be better served learning what polymorphism is and then learning how to implement that in FB.
by Imortis
Feb 23, 2024 16:22
Forum: Libraries & Headers
Topic: Library, Project, Example Code Archive
Replies: 7
Views: 1995

Re: Library, Project, Example Code Archive

Just to let people know: I have been working on this off and on. I have something that I think would be a good start, but I don't have a place to host it just yet. I recently bought a home and so both my time and money are a bit on the scarce side right now. Once I am in a more stable position, I am...
by Imortis
Feb 15, 2024 15:41
Forum: General
Topic: A replacement for MessageBox.
Replies: 21
Views: 1175

Re: A replacement for MessageBox.

Well, that was interesting. 608 views and only two members responded; one wanted the source code and the other tried to undermine my efforts on two occasions, having a dig at PowerBASIC on the second occasion. Nothing changes, does it? I was curious to see what you were doing and how it was done. I...
by Imortis
Feb 01, 2024 23:57
Forum: General
Topic: A replacement for MessageBox.
Replies: 21
Views: 1175

Re: A replacement for MessageBox.

Interesting. I would be interested in seeing the code for this. :D
by Imortis
Dec 28, 2023 15:51
Forum: Windows
Topic: Win 11 installation problem
Replies: 6
Views: 1724

Re: Win 11 installation problem

Installed FreeBasic with scoop. Attempt to run fires up a window which disappears immediately. Disabled windows defender. No Change. Can't think of anything else. Can anyone help? Thanks - Richard FBC is a command line program. It is opening the console and closing it as soon as the program finishe...
by Imortis
Nov 27, 2023 23:00
Forum: Sources, Examples, Tips and Tricks
Topic: Data Compression Different Methods
Replies: 26
Views: 5607

Re: Data Compression Different Methods

@moderators I probably should quit posting about compressing random data before I get permanently banned from the FreeBasic Forum like another member was. Yes? You are not making yourself a public nuisance, posting dubious medical advice, or any of the many other things that went into the other mem...
by Imortis
Nov 16, 2023 19:59
Forum: Community Discussion
Topic: [offtopic]Some cheap and tiny ARM devices.
Replies: 69
Views: 25080

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

I am wearing a PineTime right now. I like it, but it is not so friendly to adding new apps/watch faces yet. Still, at $27, it is a steal.
by Imortis
Nov 13, 2023 19:14
Forum: Windows
Topic: Icon cache corruption
Replies: 22
Views: 4711

Re: Icon cache corruption

Every time you post the view count in this thread, you prolong the life of a thread that no one is interacting with because people, myself included, want to see if there is any new real content being posted. At this point, each time you post about view counts it is effectively the same as replying t...
by Imortis
Nov 13, 2023 15:50
Forum: DOS
Topic: [SOLVED] its possible Read a method from a executable file ?
Replies: 9
Views: 1987

Re: its possible Read a method from a executable file ?

See https://www.freebasic.net/wiki/ProPgSharedLibrariesDOS Thank you for your kind reply, unfortunately the example shown in the link works perfectly under Windows and Linux but under MSDOS 6.22 and FreeDOS it gives an error when compiling m1.bas and m2.bas below is the answer when I proceed using ...
by Imortis
Oct 19, 2023 14:05
Forum: Community Discussion
Topic: FreeBASIC IDEs/Editors
Replies: 44
Views: 34893

Re: FreeBASIC IDEs/Editors

In that case, I may just fork it. No need to bother you if you don't intend to maintain it.
by Imortis
Oct 19, 2023 13:26
Forum: Community Discussion
Topic: FreeBASIC IDEs/Editors
Replies: 44
Views: 34893

Re: FreeBASIC IDEs/Editors

I believe the link is the "Cherry" fork. You have to compile it using the Make file. You will also need to modify Make.ini for your own computer's configuration. It's a pity that there is not pre-owned compiled version. I'm confused - I did provide a prebuilt download... Check the release...
by Imortis
Sep 30, 2023 1:00
Forum: Windows
Topic: Console Input/Output at Console Application
Replies: 5
Views: 1513

Re: Console Input/Output at Console Application

With a console application there is no need to do anything fancy to write to the console.

Code: Select all

Dim a As String

Line Input  "Please write something and press ENTER"; a
Print "You wrote : ";a

Sleep
by Imortis
Sep 30, 2023 0:58
Forum: General
Topic: Question on internal workings of Allocate
Replies: 4
Views: 1400

Re: Question on internal workings of Allocate

You shouldn't be mixing Allocate/DeAllocate and New/Delete. If you use Allocate, also use deallocate. If you use New. also use Delete. Allocate allocates memory of the size you request and spits out a pointer. DaAllocate takes a pointer and marks it invalid. It doesn't destroy anything, which is why...
by Imortis
Sep 28, 2023 23:49
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 886
Views: 128268

Re: VisualFBEditor - IDE for FreeBasic

I was going to try to compile this on my own to test, but I can't seem to get the knack of it. I will just wait for the next release and let you know how it works out.
by Imortis
Sep 28, 2023 15:37
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 886
Views: 128268

Re: VisualFBEditor - IDE for FreeBasic

I tried using VisualFBEditor on my linux machine. I have a 4k display, and when using a Display scaling (HighDPI in windows) I get the following results: https://cdn.discordapp.com/attachments/689809966915518545/1156977728604606504/image.png?ex=6516eefa&is=65159d7a&hm=998fd1ee7cf43ef9adaff37...