SoundFrequency() is indeed vanished, enhanced by a pair of new commands, GetSoundFrequency() and SetSoundFrequency().Did SoundFrequency() be vanished?
PureBasic 5.10 - Granted wishes release - is out !
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: PureBasic 5.10 - Granted wishes release - is out !
BERESHEIT
Re: PureBasic 5.10 - Granted wishes release - is out !
BTW: just tried MacroExpandedCount and TypeOf(), they can be very useful thank you !
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: PureBasic 5.10 - Granted wishes release - is out !
Thanks! That is helpful.STARGÅTE wrote:thx for #PB_Compiler_IsIncludeFile and #PB_Compiler_IsMainFile!
Now I can add a sample code in the include, and it will not compile if it is included, only if the include run alone.
I have CompilerIf - Test code - CompilerEndIf in each of my include files.
Code: Select all
; With v5.0 and below...
CompilerIf #TestLib1 ;<-- need multiple #TestLib2, #TestLib3, etc. for each lib.
DoSomeTest()
CompilerEndIf
; With v5.1 I can drop the unique #TestLibxx constants:
CompilerIf #PB_Compiler_IsMainFile
DoSomeTest()
CompilerEndIf
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 5.10 - Granted wishes release - is out !
Yeah! I've been looking for this one! Thx Fred & Co!skywalk wrote:Thanks! That is helpful.STARGÅTE wrote:thx for #PB_Compiler_IsIncludeFile and #PB_Compiler_IsMainFile!
Now I can add a sample code in the include, and it will not compile if it is included, only if the include run alone.
I have CompilerIf - Test code - CompilerEndIf in each of my include files.
( 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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )