Version 1.04.0

General discussion for topics related to the FreeBASIC project or its community.
counting_pine
Site Admin
Posts: 6323
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: Version 1.04.0

Post by counting_pine »

I'm not sure why that warning would be specific to boolean variables..
In any case, since booleans are assumed by the compiler to hold 0 or -1, Any should probably just result in a 0 being assigned.

EDIT: actually, a better alternative is, we just accept anything initialised with Any has an undefined value until it is assigned to, and reading it will have undefined results.
For objects initialised with Any, it is actually worse than that, because any assignments may also have undefined results.

But if GCC doesn't like it, then I'm not sure what we can do about it. I guess either disable that warning or give an error.

EDIT: The warning occurs with other types of variable too. (Linux, 64-bit)
fxm
Moderator
Posts: 12577
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Version 1.04.0

Post by fxm »

'= Any' induces none assignment:

Code: Select all

Dim As Boolean a = Any
Print a
Print *Cptr(Byte Ptr, @a)

Sleep

Code: Select all

true
-8
sean_vn
Posts: 283
Joined: Aug 06, 2012 8:26

Re: Version 1.04.0

Post by sean_vn »

I am happy with version 1.04.0
It is very stable and usable on Linux AMD64. I was also able the get the FreeImage and SDL libraries to work first time with no difficulty.
bluatigro
Posts: 660
Joined: Apr 25, 2012 10:35
Location: netherlands

Re: Version 1.04.0

Post by bluatigro »

i cant find the ide for fb 1.04.0

where can i find it
fxm
Moderator
Posts: 12577
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Version 1.04.0

Post by fxm »

3 ide are proposed bottom of the main download page http://www.freebasic.net/get.
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: Version 1.04.0

Post by MrSwiss »

@fxm,

Links to FBEdit point to an older version 1.0.6.8 (still quirky).
The link should point to the german FB site --> version 1.0.7.6c (no known problems).
Thanks.
fxm
Moderator
Posts: 12577
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Version 1.04.0

Post by fxm »

No (IMHO), I already highlighted that the two links provide the same version 1.0.7.6c:
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: Version 1.04.0

Post by Tourist Trap »

bluatigro wrote:i cant find the ide for fb 1.04.0
Do you mean an IDE that delivers last version of fb compiler inside it? I think that can't be found anywhere since a while.
fxm
Moderator
Posts: 12577
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Version 1.04.0

Post by fxm »

Tourist Trap wrote:Do you mean an IDE that delivers last version of fb compiler inside it? I think that can't be found anywhere since a while.
Yes, only with an older version of fbc (0.23.0) that we can find at the dowload page of FBIde site.
sancho2
Posts: 547
Joined: May 17, 2015 6:41

Re: Version 1.04.0

Post by sancho2 »

MrSwiss wrote:@fxm,

Links to FBEdit point to an older version 1.0.6.8 (still quirky).
The link should point to the german FB site --> version 1.0.7.6c (no known problems).
Thanks.
This is a much improved version of FBEdit. There are however problems with that version of FBEdit.
For example:
When intellisense (or whatever we call it) shows a command with at least one overload, you are shown the first implementation, but you cannot access the others. At least nothing I have tried has worked.
Image

Within a type (class) method, code complete is not working with the 'this' keyword.

I have managed to break the code complete within complex layers of types, however I cannot now show a simple example that breaks it.

A most annoying problem is at the bottom of the screen where the window is split between 'output' and 'immediate'. The split is not sizeable/moveable. This results in errors that you have to click on and cursor over to read.
Image
fxm
Moderator
Posts: 12577
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Version 1.04.0

Post by fxm »

sancho2 wrote:When intellisense (or whatever we call it) shows a command with at least one overload, you are shown the first implementation, but you cannot access the others. At least nothing I have tried has worked.
Select among the different syntaxes by using the down/up key.
sancho2 wrote:A most annoying problem is at the bottom of the screen where the window is split between 'output' and 'immediate'. The split is not sizeable/moveable. This results in errors that you have to click on and cursor over to read.
All the FBEdit windows are resizable by putting the mouse cursor exactly on the considered border to obtain the appropriate Windows symbol (approximately "╪"), then with the left click pressed you can move the border.
sancho2
Posts: 547
Joined: May 17, 2015 6:41

Re: Version 1.04.0

Post by sancho2 »

The up/down arrow keys do work. I don't know how I missed that. Being that there are arrows on the pop up, I thought the mouse should be able to interact with that.
There is no way that there is a sizeable window between the output and immediate windows. I can move them up and down, but not size them horizontally. I can't get the sizing cursor to show up at all.
How about a screen shot of your output window sized way over to the right, leaving only a narrow column for the immediate window?
fxm
Moderator
Posts: 12577
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Version 1.04.0

Post by fxm »

Yes, the vertical border between Output window and Immediate window is not movable, but I obtain two windows of same width.
bluatigro
Posts: 660
Joined: Apr 25, 2012 10:35
Location: netherlands

Re: Version 1.04.0

Post by bluatigro »

i downloaded fbedit1068.zip

i can unzip it

i can start it

i edited the fonts and colors

but i cant create a new project
fxm
Moderator
Posts: 12577
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Version 1.04.0

Post by fxm »

- Firstly, test a more recent version of FBEdit:
- Can you see at creating project in fbedit and read the two posts?
Post Reply