PureBasic 4.40 beta2 released.
Is this accurate?
According to an article on MSDN, I don't believe this is a union:
http://msdn.microsoft.com/en-us/library/ms997538.aspx
Thanks for the great update. 
Code: Select all
Structure ICONIMAGE
icHeader.BITMAPINFOHEADER
StructureUnion
icColors.RGBQUAD[0]
icXOR.b[0]
icAND.b[0]
EndStructureUnion
EndStructure
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;

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
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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
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
Please consider implementing this feature into the IDE:
http://purebasic.fr/english/viewtopic.php?t=35793
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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
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.blueznl wrote:Crashes don't bother me too much anymore since I use numbered saves
Backspace Unindent
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..

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..
Re: Backspace Unindent
You'll have to be more specific. I haven't used Delphi and have no idea what you're talking about.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..
Re: Backspace Unindent
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..Mistrel wrote: You'll have to be more specific. I haven't used Delphi and have no idea what you're talking about.
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).
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
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
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact: