Having spent all day learning and experimenting with Interfaces I want this too nowNicTheQuick wrote:Or it would even be cooler with InterfacesCode: Select all
Debug Vector2d(1, 2).add(Vector2Dd(2,2))\length() ; =5
PB 6.0 - ideas
- the.weavster
- Addict
- Posts: 1537
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: PB 6.0 - ideas
Re: PB 6.0 - ideas
For procedure calls and includes (click on the include keyword, not on the filename), you can hold ctrl and double-click.NicTheQuick wrote:+1skywalk wrote:2. Enable jump to definition of item under cursor.
Re: PB 6.0 - ideas
Well here goes nothing... improve existing gadgets and add completely new modern and complex gadgets. I think the IUP framework would suit well. No need to do it all yourself (and impossible too with complex gadgets considering the company size/expertise). http://webserver2.tecgraf.puc-rio.br/iup/
The current gadgets are basic mappings to the same old win32/linux controls. With no convenience functions to speak of. Things like default listview sorting is not there out-of-the-box.
A procedural language can specifically improve from supporting returning multiple procedure values in a simple compact syntax.
Purebasic sometimes suffers from bracket () overload. Using brackets () in lists, arrays, procedure arguments and calling. Why the lists and arrays don't use []?
Autoconvert int to string for Map because mymap(Str(myid)) looks ugly.
It seems that at least HiDPI finally gets the attention it needs and will be resolved
The current gadgets are basic mappings to the same old win32/linux controls. With no convenience functions to speak of. Things like default listview sorting is not there out-of-the-box.
A procedural language can specifically improve from supporting returning multiple procedure values in a simple compact syntax.
Purebasic sometimes suffers from bracket () overload. Using brackets () in lists, arrays, procedure arguments and calling. Why the lists and arrays don't use []?
Autoconvert int to string for Map because mymap(Str(myid)) looks ugly.
It seems that at least HiDPI finally gets the attention it needs and will be resolved
Re: PB 6.0 - ideas
+1 for LLVM or C backend
Even if all the library functions (are not/ cannot be) supported on a generic LLVM/C backend
Right now I code in PB and test out on Windows, and for a non supported platform translate the code to C, and write C code equivalent for PB library functions
Even if all the library functions (are not/ cannot be) supported on a generic LLVM/C backend
Right now I code in PB and test out on Windows, and for a non supported platform translate the code to C, and write C code equivalent for PB library functions
Re: PB 6.0 - ideas
There may be benefits to LLVM or C backend even without PB library support.
I find the warnings generated by a modern C compiler helpful
- for example unused variables can be identified
- code that will never be reached
and so on.
Many of the warnings could be applicable to PB code and help in maintaining larger projects.
I find the warnings generated by a modern C compiler helpful
- for example unused variables can be identified
- code that will never be reached
and so on.
Many of the warnings could be applicable to PB code and help in maintaining larger projects.
Re: PB 6.0 - ideas
I'd like to see
Dword (unsigned 32bit)
Unsigned Word. (I use Unicode, but It looks weird in a way)
Unsigned Integer
Also better fileread support in the error responed.
Example from Manual:
Number.l = ReadLong(#File)
Return value
Returns the read value or zero if there was an error.
But what if the value there actually is Zero? Then you get an error message where there are none.
maybe something like;
Number.i = FileMessage(#File)
#PB_Window_InnerCoordinate & #PB_Window_FrameCoordinate added to OpenWindow and resize.
Dword (unsigned 32bit)
Unsigned Word. (I use Unicode, but It looks weird in a way)
Unsigned Integer
Also better fileread support in the error responed.
Example from Manual:
Number.l = ReadLong(#File)
Return value
Returns the read value or zero if there was an error.
But what if the value there actually is Zero? Then you get an error message where there are none.
maybe something like;
Number.i = FileMessage(#File)
#PB_Window_InnerCoordinate & #PB_Window_FrameCoordinate added to OpenWindow and resize.
-
- Enthusiast
- Posts: 334
- Joined: Mon Feb 04, 2013 5:28 pm
Re: PB 6.0 - ideas
I'd like to see no new features for the time being.
Just the fixing of 3-10 years old bugs before moving forward ...
Just the fixing of 3-10 years old bugs before moving forward ...
Re: PB 6.0 - ideas
Is there a date on a PB 6.0 RC?