Add this to PB3.50 Docs

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

Hi Fred,
please add and explan the operators ">" in the docs of 3.50 and how to get/set a bit...

Futuremore i still hope that we can find the flags for "ChangeGamma(R, G, B, Flags)" i reported since some releases... :wink:



PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> please add and explan the operators ">" in the docs

They already are... under "Variables and Types".
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

Hi PB and Fred..
i have checked it again.. The > operaters are listed in the english docs but not in the german 3.40 docs!

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

Btw the flags for "ChangeGamma()" are not listed in the german NOR in the english docs as i reported since every last releases!

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Andre.
The > operaters are listed in the english docs but not in the german 3.40 docs!
I will add this for v3.50. (Had included this already in the PDF-manual, but forgot to add it in the help file. Sorry!)

Regards
André

*** German PureBasic Support ***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

No problem Andre :wink:
You did a great job with the german docs...
Happy xmas...



PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by WolfgangS.

Question:

Will be in the 3.50 Docs some "look also to" infos ?
E.g.: At the infos about str() a "look also to strf()" ?

MFG
WolfgangS
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Andre.
Will be in the 3.50 Docs some "look also to" infos ?
E.g.: At the infos about str() a "look also to strf()" ?
I've added references to the other functions at Str(), StrF() and StrU(). The same for Val() and ValF(). More suggestions?

Regards
André

*** German PureBasic Support ***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by ebs.

Fred,

Also, the sense of your shift operators is reversed from usage in C.
In C ">>" is a right shift, and ">" in the docs of 3.50 and how to get/set a bit...

Futuremore i still hope that we can find the flags for "ChangeGamma(R, G, B, Flags)" i reported since some releases... :wink:



PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
[/quote]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Pupil.

[quote]Originally posted by ebs

Fred,

Also, the sense of your shift operators is reversed from usage in C.
In C ">>" is a right shift, and ">' is a right shift and '>4
Debug Bin(a)
a<<4
Debug Bin(a)
[/code]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by ebs.

Pupil,

In the Help file, under Variables and Types, it shows ">>" as a LEFT shift and "> 1 ; The value of a will be %10110.

If the compiler actually works the same way as C, that's good. Then only the Help file needs to be corrected.

Eric

Originally posted by Pupil
Originally posted by ebs

Fred,

Also, the sense of your shift operators is reversed from usage in C.
In C ">>" is a right shift, and ">' is a right shift and '>4
Debug Bin(a)
a<<4
Debug Bin(a)
[/code]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Pupil.

Ok, i see -haven't checked the help file on this and indeed it says that '>>' is a left shift operator, but that's not the case i assure you. just try my previous example and you'll see.

conclusion: error in manual - change pronto!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Andre.
conclusion: error in manual - change pronto!
tinman and I have fixed english and german docs, Sir! :)

Regards
André

*** German PureBasic Support ***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Pupil.
Originally posted by Andre
tinman and I have fixed english and german docs, Sir! :)
Good work! At ease! :wink:
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

What about to add the FontProblem viewtopic.php?t=2794 to the Docs...!? Maybe (only if possible) it would make sence to get as result "0" if the given font was not found (this will not happen atm as the docs said)... Maybe return "-1" or whatever if another font will be used...

But returning "0" will no happen here..


PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
Post Reply