Wishlist for PureBasic v4.xx - Overview

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

Does anyone know how long more before the PB4 beta would be released?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

I guess:
Fred's proud doesn't allow a 4.0 with bugs.
That's why it is taking longer. :D :wink:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

We do our best. Actually the compiler and libraries are now fully finished, we are working on the IDE and the Debugger.
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

Great! Yippee! :D
Fable Fox
User
User
Posts: 29
Joined: Fri Dec 12, 2003 4:52 am

good news

Post by Fable Fox »

I just purchased Pure Basic yesterday, this is a _goo_ news ;-) woohoo 4.0 ;-)
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

Welcome Fable. I'm waiting patiently... (bites nails)
Pinhead
User
User
Posts: 47
Joined: Fri Sep 09, 2005 11:24 pm

Post by Pinhead »

Hi,
my wish is a FreeBSD version of Purebasic!
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

V4.00-Observations of a newcomer

Post by Michael Vogel »

Just a list of some beta observations (and wishes to think about changing some things, maybe;)...

Directory structure
----------------------
(I'd like to have everything compact;)
- why Tools.prefs and Template.prefs could not be included in the PureBasic.prefs? Wouldn't it be eniugh to have a [Tools] and a [Template] section inside the master file?
- the "Debugger" directory just includes one file, I would move it to the "Compilers" directory
- there are two WindowsUnicode.res files, is it possible to eliminate the "Residents\Unicode" directory?
- optional: I would expect, that everyone kills non-spoken language files from the "Catalogs" directory, so it will be nearly empty - maybe it can me "merged" with the "Help" directory content to a single directory...
- and: what about changing the subdirectories in "Examples"? I would put one "Archive" directory inside, which contains all sources not have been updated to PB4 syntax. All working examples should be in divided in categories, like "Graphics" (Drawing, Sprite, 3D), "In&Out" (File, Keyboard, etc.), "Maths", "Network", "Windows" (API, Dialog, DLL, Font, Windows, etc.), "Tools", "Tutorial" and "Extras", where all other stuff, like OnError and Advanced Things could be placed...
this would help to understand PB4 faster, especially for newcomers like me: I do not want to learn V3.94 now and some weeks later V4 again!


Editor (IDE):
--------------
- please try to implement an auto ident mode, some "cool" editors even show dotted lines within If/Endif constructs
- as I work on a small notebook (800x600), there's not much space for the tools, like the "Procedure browser". So I use the auto hide function, which works fine. But why there is no easy possibility to access to these tools by keyboard? I can activate the tool by ALt-something, but the cursor remains in the source window...
- what about a possibility to define a second shortcut for some functions? I would like to use alt-q for folding, but would like to keep F4 also for "compatibility"
- other stuff, i liked on the gfa-editor, like...
- i think, the auto complete function is not very efficient (pops up slowly), a dictionary which translates some often used words automatically, when a space is pressed after a dictionary word (proc->Procedure, procr->ProcedureReturn, etc.), would be an alternative (otherwise I have to do this with Autohotkey;)
- the "External Help" entry in the popu up menu is not justified correctly
- I'd like to be able to create a "own" color setting which can be named (in GFA-Style;)
- maybe it's here, I didn't find it: a shortcut to delete a line?! (nice would also be a shortcut which cuts the text from the cursor position to the end of the line into the clipboard)

Maths:
--------
Good to know, ".d" has standard quality (compared to GFA, etc.), but was is ".f"? For what reason should this type be used? (just a rhetoric question)

a.d=1.0000001
For i=1 To 26
a=a*a
Next i
Debug(a-821)


Conditions:
-------------
Once again, something I liked - GFA-Basic allowed to use conditions within expressions, like this...

FUNCTION onoff$(n&)
// Print "Value is set to"@onoff$(1) prints out "Value is set to on"
RETURN MID$(" off on",-PRED(SHL(n& <> 0,2)),4)
ENDFUNC


Loops:
--------
PureBasic seems to do the standard program (while/wend, repeat/until), I miss the genius do/loop thing from GFA-Basic. Why? Have a look:

error=0
i=0
:
do while i<9
i++
:
if blabla then error=9
:
loop until error


So, that's all for the moment,
Michael
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

gfa:

do while ... loop
do ... loop until

pure:

while ... wend
repeat ... until
( 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
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

blueznl wrote:gfa:
do while ... loop
do ... loop until
I requested for that loving feature for PB years ago. When this forum didn't exist. :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Hatonastick
Enthusiast
Enthusiast
Posts: 149
Joined: Wed Apr 27, 2005 11:50 am
Location: Adelaide, Australia
Contact:

Post by Hatonastick »

An updated help file as I'm not a real programmer - I employ an infinite number of monkeys, and I think maybe a couple of them can read. :)
Last edited by Hatonastick on Sat Feb 11, 2006 4:13 pm, edited 1 time in total.
Please forgive my poor English, I'm an Australian.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Good to know, ".d" has standard quality (compared to GFA, etc.), but was is ".f"? For what reason should this type be used? (just a rhetoric question)
.f is a float. A double is double (2x) floats afaik.
Now what if you do not NEED to have so many decimals? Then you use a smaller variable.
Thats also why you have words and bytes.. Or at least one of the reasons.

Code: Select all

Debug SizeOf(float)   ;<- FLOAT.
Debug SizeOf(double)  ;<- DOUBLE.

Debug SizeOf(word)    ;<- WORD.
Debug SizeOf(long)    ;<- LONG.
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

man, pure basic <> gfa basic, blitz basic and everything else. i hate wishes for changing the own pure basic design/style. nothing personal. :)

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

nco you're right, but there is nothing wrong with... learning :-) from another language (well, borrowing, stealing, copying, you decide on the wording :-))
( 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:

Post by Michael Vogel »

blueznl wrote:gfa:

do while ... loop
do ... loop until

pure:

while ... wend
repeat ... until
Hi.

no, no - i donot mean "do while ... loop" ... and a second ... "do ... loop until" - but "do while ... loop until" !
Post Reply