Search found 2900 matches

by DoubleDutch
Thu Jul 15, 2021 11:13 am
Forum: Feature Requests and Wishlists
Topic: Printer
Replies: 2
Views: 813

Re: Printer

The print library needs improving, hopefully that will happen sometime in pb6.xx...
by DoubleDutch
Tue Jul 13, 2021 6:54 pm
Forum: Coding Questions
Topic: Immediate Mode Graphical User interface
Replies: 6
Views: 2427

Re: Immediate Mode Graphical User interface

This looks good. Now that PureBasic will soon be compiled in C, it may be easier to interface to?
by DoubleDutch
Mon Jul 12, 2021 9:38 pm
Forum: Bugs - C backend
Topic: pb6.00 a3 - first compile gives error, second compile ok
Replies: 2
Views: 953

Re: pb6.00 a3 - first compile gives error, second compile ok

On the command line there appears to be no problem. G:\OneDrive\Desktop\Projects\ReportComplete>"C:\Program Files\PureBasic\Compilers\pbcompilerc.exe" reportcomplete.pb /THREAD /XP /USER /ICON "Images\liveicon.ico" ****************************************** PureBasic 6.00 Alpha 3...
by DoubleDutch
Sun Jul 11, 2021 4:08 pm
Forum: Bugs - C backend
Topic: pb6.00 a3 - first compile gives error, second compile ok
Replies: 2
Views: 953

pb6.00 a3 - first compile gives error, second compile ok

In my large program, the first time I compile (c compiler only) I get this error, if I recompile after that - no errors! https://deluxepixel.com/images/screenshots/pb6a3.png It doesn't matter if it's NOT that program that is compiled first - as long as IT is not the first one compiled! Eg, I compile...
by DoubleDutch
Fri Jul 09, 2021 4:10 pm
Forum: Announcement
Topic: PureBasic 6.00 Alpha 3 released !
Replies: 162
Views: 23449

Re: PureBasic 6.00 Alpha 3 released !

That's a shame, maybe gcc could be modded to send back progress?
by DoubleDutch
Fri Jul 09, 2021 3:51 pm
Forum: Announcement
Topic: PureBasic 6.00 Alpha 3 released !
Replies: 162
Views: 23449

Re: PureBasic 6.00 Alpha 3 released !

re alpha 3: My >60,000 line program compiles and works on both the asm and c compilers! :) @Fred, it would be good if the 'compilation in progress' window let the programmer know what was going on after the initial 'Creating executable file' - as it can take some time, especially if optimisation has...
by DoubleDutch
Mon Jun 21, 2021 4:47 pm
Forum: Announcement
Topic: PureBasic 6.00 Alpha 3 released !
Replies: 162
Views: 23449

Re: PureBasic 6.00 Alpha 2 released !

This is already reported in bugs, I'm sure @fred has sorted it for alpha 3.
by DoubleDutch
Mon Jun 21, 2021 11:05 am
Forum: Bugs - C backend
Topic: [Done] Boolean simple empty string
Replies: 10
Views: 1674

Re: Boolean simple empty string

Using if to see if a string is empty or not is used all the time in the examples and other code. It should work imho.
by DoubleDutch
Sat Jun 19, 2021 6:08 pm
Forum: Bugs - C backend
Topic: [Done] If problem
Replies: 6
Views: 1424

Re: If problem

Yes, especially for cases like this.
by DoubleDutch
Sat Jun 19, 2021 10:25 am
Forum: Bugs - C backend
Topic: [Done] pb 6.00 a2 - polink error (c:\program.obj)
Replies: 11
Views: 1444

Re: pb 6.00 a2 - polink error (c:\program.obj)

I used a fresh install of Windows 10, together with a press install of PB - all default paths.
by DoubleDutch
Sat Jun 19, 2021 7:06 am
Forum: Bugs - C backend
Topic: [Done] pb 6.00 a2 - polink error (c:\program.obj)
Replies: 11
Views: 1444

[Done] pb 6.00 a2 - polink error (c:\program.obj)

On my program the initial compile works file, then there is a polink error, does the PureBasic C compiler try create files in c:\ ?

See this screenshot:

Image
by DoubleDutch
Mon May 24, 2021 3:38 pm
Forum: Bugs - Windows
Topic: ASM syntax error
Replies: 13
Views: 1400

Re: ASM syntax error

The eventual output will be assembler, but via the C compiler. The C compiler may have had more time invested in optimising the output than regular PureBasic - so it could be faster.
by DoubleDutch
Mon May 24, 2021 1:00 pm
Forum: Bugs - Windows
Topic: ASM syntax error
Replies: 13
Views: 1400

Re: ASM syntax error

Under the new version, it could also be that the code runs faster as the c compiler may be better at optimising the code.
by DoubleDutch
Mon May 24, 2021 11:13 am
Forum: Bugs - Windows
Topic: ASM syntax error
Replies: 13
Views: 1400

Re: ASM syntax error

Basically, what you need to do is study what that procedure did and re-write it in purebasic, not assembler.