PureBasic 4.40 beta2 released.

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
pcfreak
User
User
Posts: 75
Joined: Sat May 22, 2004 1:38 am

Post by pcfreak »

very nice, thanks :)

PS: can you please make it so that in the "Compiler Options" window, if
you are managing a project and switch between the targets, keeps the
panel index? makes it easier to adjust one option for every target
User avatar
oreopa
Enthusiast
Enthusiast
Posts: 283
Joined: Sat Jun 24, 2006 3:29 am
Location: Edinburgh, Scotland.

Post by oreopa »

Great addition of the structure item autocomplete!

Really helpful with nested structures, and just general forgetfulness ;)

Thanx.
Proud supporter of PB! * Musician * C64/6502 Freak
RE-A
User
User
Posts: 39
Joined: Thu Aug 21, 2008 4:19 pm
Location: Belgium
Contact:

Post by RE-A »

Is there a limit of code lines the beta 2 Linux version 4.40 can compile :shock:

My program is about 12500 lines and compiles fine under 4.31 but when I try it with the new beta version it only compiles 6000 lines and then the I get a ide freeze and have to kill the process :(
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Is this accurate?

Code: Select all

Structure ICONIMAGE
  icHeader.BITMAPINFOHEADER
  StructureUnion
  icColors.RGBQUAD[0]
  icXOR.b[0]
  icAND.b[0]
  EndStructureUnion
EndStructure
According to an article on MSDN, I don't believe this is a union:

http://msdn.microsoft.com/en-us/library/ms997538.aspx

Code: Select all

typdef struct
{
   BITMAPINFOHEADER   icHeader;   // DIB header
   RGBQUAD         icColors[1];   // Color table
   BYTE            icXOR[1];      // DIB bits for XOR mask
   BYTE            icAND[1];      // DIB bits for AND mask
} ICONIMAGE, *LPICONIMAGE;
Thanks for the great update. :)
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

With the ability to new copy structures are there any plans to support passing structure by value to procedures?

Code: Select all

Structure That
  x.f
  y.f
  z.f
EndStructure

This.That\x=1
This.That\y=2
This.That\z=3

That.That=This
Debug That\x
Debug That\y
Debug That\z

;/ Cannot pass structure by value
Procedure Gnat(Grue.l, This.That)
EndProcedure
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Hush, you just uncovered all 4.50 improvements!

:-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

With the IDE for 4.40 crashing on me it's been very unpleasant to test. I keep losing my workspace! And because it crashes every time I close it the workspace never gets saved at all.

Please consider implementing this feature into the IDE:

http://purebasic.fr/english/viewtopic.php?t=35793
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Crashes don't bother me too much anymore since I use numbered saves :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

blueznl wrote:Crashes don't bother me too much anymore since I use numbered saves :-)
It's not the state of my files, blueznl. It's the state of the IDE (tabs, undo/redo stack). The most important thing is just the tabs. It's ridiculously annoying to have to run around and reopen my workspace every single time.
User avatar
nase09
User
User
Posts: 33
Joined: Sat Jun 07, 2008 11:45 am

Backspace Unindent

Post by nase09 »

Backspace Unindent (in the Editor) is still not implemented :(
I hope some day it is..
(I'm not talking about 'Tab-Unindent'-Stuff, it should work like it works in e.g. the Delphi 7 Ide.. If you use it once you'll love it..
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: Backspace Unindent

Post by Mistrel »

nase09 wrote:Backspace Unindent (in the Editor) is still not implemented :(
I hope some day it is..
(I'm not talking about 'Tab-Unindent'-Stuff, it should work like it works in e.g. the Delphi 7 Ide.. If you use it once you'll love it..
You'll have to be more specific. I haven't used Delphi and have no idea what you're talking about.
User avatar
mback2k
Enthusiast
Enthusiast
Posts: 257
Joined: Sun Dec 02, 2007 12:11 pm
Location: Germany

Post by mback2k »

I have used the Delphi IDE before and don't know what he is talking about, too.

The only difference is:
Indent: TAB = STRG+SHIFT+I
Unindent: SHIFT+TAB = STRG+SHIFT+U
User avatar
nase09
User
User
Posts: 33
Joined: Sat Jun 07, 2008 11:45 am

Re: Backspace Unindent

Post by nase09 »

Mistrel wrote: You'll have to be more specific. I haven't used Delphi and have no idea what you're talking about.
Backspace Unindent 'aligns' the cursor with the previous line (if you press backspace it skips empty spaces..) - difficult to explain, but very natural if you know what I mean..
I tried to explain it here : http://www.purebasic.fr/english/viewtop ... highlight=
The Purebasic Editor already supports this 'input style' : if you press Return (the cursor position in the new line is aligned with the previeous line then - and Backspace Unindent does kind of the same for the backspace-key).
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Impressive work guys! I'll try to compile kBilling with it soon.
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Thanks!
to me, now, while Dreamotion3D 5 works on it, you ar going on the right way 8)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply