Re: PureBasic Docs - Errors & needed improvements to the man
Posted: Tue Jun 08, 2010 5:34 pm
GetClipboardImage() mentions obsolete constant #PB_Image_DisplayFormat.
http://www.purebasic.com
https://www.purebasic.fr/english/
Now it's " compatible which " ... almost there !luis wrote:Help on DESFingerprint()
"compatiable which any standard linux hash password " should be "compatible with ..."
Now the link to the sample program it's vanished altogetherluis wrote:in 4.40 B7
in the PureBasic - Map (overview) the link to the sample program Map.pb doesn't work, at least on my system...
Still there.luis wrote:AddMapElement()
Affecting ? Maybe should be "assigning" ? Or "storing a value into them" ?Note: This function isn't mandatory when dealing with maps, as elements are automatically added when affecting a value to them
Still there.luis wrote: Maps - Overview
Maybe "access them back" ?You can add as many elements as you want (or as many as will fit into the memory of your computer), and accessing it back using a key.
Just found this me too, still present in 4.50 finalTrond wrote:- Typing ArraySize() and pressing F1 leads to the wrong manual page (Array instead of ArraySize()).
Code: Select all
Structure People
Name$
LastName$
Age.l
EndStructure
*Student.People = AllocateMemory(SizeOf(People))
*Student\Name$ = "Paul"
*Student\LastName$ = "Morito"
*Student\Age = 10
ClearStructure(*Student, People) ; this is needed to release the strings
; Will print empty strings as the whole structure has been cleared. All other fields have been resetted to zero.
Debug *Student\Name$
Debug *Student\LastName$
Debug *Student\Age
FreeMemory(*Student) ; now is safe to release the memory
Code: Select all
Structure People
Name$
LastName$
Age.l
EndStructure
Student.People\Name$ = "Paul"
Student\LastName$ = "Morito"
Student\Age = 10
ClearStructure(@Student, People)
; Will print empty strings as the whole structure has been cleared. All other fields have been resetted to zero.
;
Debug Student\Name$
Debug Student\LastName$
Debug Student\Age
Code: Select all
; Shown using binary numbers as it will be easier to see the result
a.w = ~%1000 ; Result will be %0111
b.w = ~%1010 ; Result will be %0101
I've cross-checked the helps with PB 4.41. The current help popsup correct with the former version and the old help neither with PB 4.50 so it should be a bug within the IDE.Demivec wrote:None of the commands in the LinkedList library (i.e. AddElement(), SwapElements(), etc.) are brought up when pressing F1 in the IDE.
The help file displays "This program cannot display the webpage" instead.
The help file does contain the information, it just isn't available using F1 from the IDE so I might need to post this in the Bug section instead. Please let me know.
@Vera: Thankyou for your response I've reported it in thread http://www.purebasic.fr/english/viewtopic.php?f=4&t=42616Vera wrote:I've cross-checked the helps with PB 4.41. The current help popsup correct with the former version and the old help neither with PB 4.50 so it should be a bug within the IDE.Demivec wrote:None of the commands in the LinkedList library (i.e. AddElement(), SwapElements(), etc.) are brought up when pressing F1 in the IDE.
The help file displays "This program cannot display the webpage" instead.
The help file does contain the information, it just isn't available using F1 from the IDE so I might need to post this in the Bug section instead. Please let me know.
If that's evident enough to report, please do so.
Code: Select all
If OpenWindow(0, 0, 0, 500, 400, "Embed Icon", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TrayIcon = CatchImage(1, ?Icon)
Tray = AddSysTrayIcon(2, WindowID(0), TrayIcon)
SysTrayIconToolTip(2, "Embedded Icon Example")
Quit = #False
Repeat
Event = WaitWindowEvent()
Select event
Case #PB_Event_CloseWindow
RemoveSysTrayIcon(2)
Quit = #True
EndSelect
Until Quit = #True
CloseWindow(0)
EndIf
;Embed Tray Icon into exe using DataSection
DataSection
Icon:
IncludeBinary "c:\Images\MyIcon.ico" ;Change This!
EndDataSection
Michael Vogel wrote:Just found one (small) problem, but maybe some more could be added to this thread![]()
PB4.50 German
• Page "Anpassen der IDE": pictures missing below "Editor - Einrückung" and "Compiler"
This warning now seems to be obsolete, because MovieStatus() worksNote: Be careful with this function when using sounds (e.g. MP3) as no pictures (frames) exist.