New version PB

Everything else that doesn't fall into one of the other PB categories.
User_Russian
Addict
Addict
Posts: 1518
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

New version PB

Post by User_Russian »

I would like to learn about the plans of developers (Fred and team) about the new features PB.
I ask, not out of curiosity, but rather to discuss the relevance of the new features. Unfortunately accumulated a lot of topical requests for new features, which for many years not yet added to the PB. For example, unsigned variables, logical shift variables, support thiscall and fastcall, and much more.
I would like to know whether it will be implemented and in what form? For example, in PowerBasic have unsigned variables. What PureBasic it worse, that it is impossible to implement?
It would be great if the community decides which new features will appear in the new version.
mestnyi
Addict
Addict
Posts: 1098
Joined: Mon Nov 25, 2013 6:41 am

Re: New version PB

Post by mestnyi »

I also want to know. :x
  And is there any sense in our proposals, or Fred and the team themselves are sufficient and the opinions of others are not interested?
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: New version PB

Post by luis »

User_Russian wrote:For example, in PowerBasic have unsigned variables. What PureBasic it worse, that it is impossible to implement?
Obviously it's not impossible, about the reason why has not been implemented you already asked it has been already answered:

http://www.purebasic.fr/english/viewtop ... 98#p419598
User_Russian wrote:I would like to know whether it will be implemented and in what form
http://www.purebasic.fr/english/viewtop ... 66#p373166

Unless something changed in their mind in the meantime, that's it.
User_Russian wrote: It would be great if the community decides which new features will appear in the new version.
So they could tell Fred what to do with his own product ? Add this and this and that ?
You can already tell what you would like to happen in the features request forum, that's how you vote for it.
How can you expect that to change ?

disclosure: all my requests are the greatest and want all of them implemented before anyone else's
"Have you tried turning it off and on again ?"
A little PureBasic review
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: New version PB

Post by Little John »

Some remarks in addition to what luis already wrote ...
User_Russian wrote:unsigned variables
PB already has some unsigned variable types: .a, .c, .u.
So please don't spread misinformation, which has the potential to confuse new PB users.
User_Russian wrote:logical shift variables
What is that?
luis wrote:disclosure: all my requests are the greatest and want all of them implemented before anyone else's
:lol:
User_Russian
Addict
Addict
Posts: 1518
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: New version PB

Post by User_Russian »

luis wrote:Obviously it's not impossible, about the reason why has not been implemented you already asked it has been already answered:
But can make simplistic. Most often, the problem arises when comparing variables. Example. http://www.purebasic.fr/english/viewtop ... 79#p414979
Agree, a memory address can not be negative! But in PB is not so! :shock: :shock:
To solve the problem is quite simple. Need a command, similar to Bool(), but interprets all numbers as unsigned.

Code: Select all

*p1 = 1234
*p2 = $FFFFFFFF

if Unsigned(*p2 > *p1)
  Debug "OK"
Else
  Debug "Error"
EndIf
Little John wrote:PB already has some unsigned variable types: .a, .c, .u.
Are there any unsigned variables, similar types: .l, .q, .f, .d, as well as unsigned pointers?
Little John wrote:What is that?
http://www.purebasic.fr/english/viewtop ... 59#p401059
Fred
Administrator
Administrator
Posts: 18161
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: New version PB

Post by Fred »

About the fact we don't listen to feature requests:

http://www.purebasic.fr/english/search. ... mit=Search

Every topic renamed with [Implemented] in the title had their way in PB, and it's actually 823 topics (some are duplicates, but still).
User_Russian
Addict
Addict
Posts: 1518
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: New version PB

Post by User_Russian »

Yes, you have many requests Implemented. I do not deny it.
But some code in PB is difficult to write. Comparison of sign variables as unsigned, necessary to do with using inline assembly.
No logical shift, which also have to solve using inline assembly.
This problem is known for several years, but has not yet been solved (to solve it simple) and we have to use WinAPI. http://www.purebasic.fr/english/viewtop ... =3&t=53212

Some more interesting requests.
http://www.purebasic.fr/english/viewtop ... =3&t=52690
http://www.purebasic.fr/english/viewtop ... =3&t=49489 Interested in creating Static Library.
http://www.purebasic.fr/english/viewtop ... =3&t=48748
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: New version PB

Post by Little John »

User_Russian wrote:
Little John wrote:PB already has some unsigned variable types: .a, .c, .u.
Are there any unsigned variables, similar types: .l, .q, .f, .d, as well as unsigned pointers?
You can look yourself in the reference manual. The answer is "No".

However, in your first post you wrote
for many years not yet added to the PB. For example, unsigned variables
... and that is misleading, since there are unsigned variables in PB.
Little John wrote:
User_Russian wrote:logical shift variables
What is that?
Oh, you probably mean logical shift operators ...
User_Russian
Addict
Addict
Posts: 1518
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: New version PB

Post by User_Russian »

Little John wrote:Oh, you probably mean logical shift operators ...
Yes.
Inaccuracy due to the translation into English.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: New version PB

Post by Danilo »

User_Russian wrote:I ask, not out of curiosity, but rather to discuss the relevance of the new features.
You may not be qualified enough to discuss such features with the compiler / library / language developers.

You said you have no idea about compiler construction, so why do you think the PB developers should talk about new features and decisions with you,
so you could decide what comes in and what not? PB developers have other things to do, than talking to kids with no experience in everything.
User_Russian
Addict
Addict
Posts: 1518
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: New version PB

Post by User_Russian »

Danilo, no, not to me personally (otherwise written in PM), with the community.
User avatar
kryptonn
User
User
Posts: 47
Joined: Wed Apr 18, 2007 7:23 pm

Re: New version PB

Post by kryptonn »

User_Russian, why you write that you from Russia? You start tell lies else at registrations.
You there never were in Russia, you are birth in Republica Moldova, you from Moldova, little village Рыбница, Rottenfishplace.
You not User_Russian, your name is Moldovanka_User.
Last edited by kryptonn on Sun Jan 25, 2015 1:30 pm, edited 2 times in total.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: New version PB

Post by Danilo »

User_Russian wrote:Danilo, no, not to me personally (otherwise written in PM), with the community.
That's what the 28.000+ postings within 4.000+ topics in "Feature Requests and Wishlists" is about.
User_Russian
Addict
Addict
Posts: 1518
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: New version PB

Post by User_Russian »

kryptonn, Fred had already warned you! http://www.purebasic.fr/english/viewtop ... 08#p369908
Post Reply