Wishlist for PureBasic v4.xx - Overview

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Hi Michael,
You wrote:no, no - i donot mean "do while ... loop" ... and a second ... "do ... loop until" - but "do while ... loop until" !
Does this mean that GFA could terminate a loop in two ways. Eg:

Code: Select all

do while x = 2
  ...
loop until quit = True
Along the lines of:

Code: Select all

Repeat
 ...
  If x <> 2
    Break
  EndIf
Until quit = True
; or
While x = 2
 ...
  If quit = True
    Break
  EndIf
Wend
Just curiosity on my part, is all.
@}--`--,-- A rose by any other name ..
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Dare2 wrote: Does this mean that GFA could terminate a loop in two ways. Eg:
Yes, but i get a whole bunch of syntax errors when coding in Gfa again...damn thats long time ago i fired up that editor :lol:

This is the working code
Image
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

:D

Thanks. Interesting and quite a neat idea.
@}--`--,-- A rose by any other name ..
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Well, its nice to see that old GfA editor has...
Procedure folding
Syntax highlightning
Syntax check
Auto indent
Buildin form editor
ect...

The editor was nice, but the compiled exe's are unstable as hell :D
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

the gfa32 compiled exe's were unstable

the gfa16 exe's were rocksolid... but not properly xp compatible :-)
( 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... )
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Good old GFA...

Post by Michael Vogel »

Agree to that, the GFA time is over...

...but the Editor was extremly(!) fast (I loaded the x_lib.pb into the PureBasic 4.00b2-IDE, oh, oh, it took a minute to load, each cursor movement takes a while as well)

...but for nearly all bugs of 16-Bit Basic (like the DIV command, the Bit shifting with << and >>) there have been workarounds [[ and GFA had such normal things, like DIV, MOD, ABS,... and even finer things, like SINQ,]]

...but you could write programs even running on NT or XP machines - just have a look at my small Sudoku program ( http://makeashorterlink.com/?M26911A6C )

Ok, there's an other side, also:
...of course, not everything's fine with 16Bit-GFA (therefore I switched to Pure, at the end;)...
...GFA has no support, there are no future releases, no Inline Code (I loved the 68000-code in the Atari ST version of GFA), the Editor hangs up one or two times a year (not very often, but you know murphy;), and no 32-Bit programming.

Hopefully, PureBasic will have (one day) ALL (good) features of GFA and it's editor, let's see...

Michael
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

Berikco wrote:
This is the working code
Image
Hi, doesn' it look very similar like the (fictitious) code I wrote down in my first mail :)
Nevertheless, a picture is really more impressive like thousand of lines of code :wink:

Michael
Post Reply