It is currently Sun May 26, 2013 3:50 am

All times are UTC + 1 hour




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 224 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14, 15  Next
Author Message
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Thu Sep 09, 2010 1:56 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Aug 19, 2003 11:36 am
Posts: 1113
Location: Doubs - France
GG wrote:
GG wrote:
Sorry if this error is already mentioned, but for DatabaseUpdate() in chm help file (databaseupdate.html) , the example doesn't mention 2 param, only one (the db handler is ommitted).

DatabaseUpdate("UPDATE employee SET checked=1 WHERE id="+GetDatabaseString(#Database, 0))

That would be corrected as :

DatabaseUpdate(#database,"UPDATE employee SET checked=1 WHERE id="+GetDatabaseString(#Database, 0))


GG wrote:
In the french .chm help file,
- AddCipherBuffer(), StartAESCipher(), GetXMLStandalone(), FinishDatabaseQuery(), AESEncoder(), FinishCipher() and AESDecoder() description are in english.
- Same thing for "Compilation d'un programme" (ide_compiler.html), from "Enable Debugger" paragraph to "constantes" paragraph.
- Same thing for "Compilation d'un programme" (ide_compiler.html), for "Constantes personnalisées" paragraph.
- In "les outils externes" (PureBasic.chm::/Reference/ide_externaltools.html), the "Enable Tool on a per-source basis" paragraph is in english.
- In "Utiliser le debugger" page (PureBasic.chm::/Reference/ide_debugger.html), the following sentence is in english : "The code view also provides the mouse-over feature from the integrated debugger to quickly view the content of a variable.".
- One paragraph for AddMailAttachment() is in english.



These small errors are still present in 4.51.


The French community can help in the translation here:)

_________________
Please correct my english
http://purebasic.developpez.com/


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Fri Sep 10, 2010 8:40 pm 
Offline
Always Here
Always Here
User avatar

Joined: Mon Sep 22, 2003 6:45 pm
Posts: 7304
Location: Norway
The page of GetFunction() refers to CallFunctionFast() and CallCFunctionFast(). It would be better if it referred to the prototypes.

_________________
Woa, I set up a web server.


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Fri Sep 24, 2010 7:38 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Apr 23, 2008 7:51 am
Posts: 322
Location: Saint-Petersburg, Russia
Function AddMailAttachment() have desicriptions of mime types.
Some desicriptions written on in French:

Code:
application/sla           | st�r�olithographie   stl
application/step          | de donn�es STEP  step
application/iges          | Format d'�change CAO IGES   igs,iges


ETC :?

_________________
World's biggest ZX Spectrum music collection.


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Mon Sep 27, 2010 3:25 am 
Offline
Addict
Addict
User avatar

Joined: Mon Jul 25, 2005 3:51 pm
Posts: 2401
Location: Utah, USA
As part of the cipher library the function AESEncoder() and AESDecoder() are documented as:
Quote:
Result$ = AESEncoder(*Input, *Output, Size, *Key, Bits, *InitializationVector [, Mode])
Quote:
Result$ = AESDecoder(*Input, *Output, Size, *Key, Bits, *InitializationVector [, Mode])


The return type is incorrectly shown as being a string but it is actually the length in bytes of the string placed in the output buffer. The documentation for each of the two functions does not specify anything about what this return value actually contains or how to interpret it.

Also the return value for AESEncoder() equals zero if the input string was unable to be encoded (due to its length being less than 16 bytes).


For discussion related to this see this thread http://www.purebasic.fr/english/viewtopic.php?f=4&t=43762

_________________
Image


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Fri Oct 08, 2010 9:03 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 13, 2007 12:42 pm
Posts: 1307
Location: Manchester, UK
Pressing F1 on InputEvent3D() brings up the help with a "This program cannot display the webpage" message.


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Fri Dec 03, 2010 3:30 pm 
Offline
Always Here
Always Here
User avatar

Joined: Mon Sep 22, 2003 6:45 pm
Posts: 7304
Location: Norway
Linux 4.51:
On the page for FrontColor() there is a link to the color table, but nothing happen when you click it.

_________________
Woa, I set up a web server.


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Thu Jan 06, 2011 10:36 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Jul 25, 2005 3:51 pm
Posts: 2401
Location: Utah, USA
General Rules wrote:
Constants

All constants are preceded by #. They can only be declared once in the source and always keep their predefined values. (The compiler replaces all constant names with their corresponding values when compiling the executable.)

It is possible to declare constants more than once if they are declared with the same value each time.


Under this topic
General Rules wrote:
Expressions

An expression is something which can be evaluated. An expression can mix any variables, constants, or functions, of the same type. When you use numbers in an expression, you can add the Keyword $ sign in front of it to mean a hexadecimal number, or a Keyword % sign sign to mean a binary number. Without either of those, the number will be treated as decimal. Strings must be enclosed by inverted commas.

Please add a remark regarding the evaluation of strings in conditional expressions:
Code:
If the result of a conditional expression is a non-empty string it will evaluate as True.
a$ = "Test"
If a$
  Debug "not empty"
Else
  Debug "empty"
EndIf

If Mid(a$, 2, 1)
  Debug "not empty"
Else
  Debug "empty"
EndIf
This remark might be better place under the topic of If:Else:EndIf

_________________
Image


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Sat Jan 08, 2011 6:45 pm 
Online
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 1387
Location: Boston, MA
Please add this to the Help Section - Customizing the IDE
If you press Tab or Enter twice, it will insert the corresponding end keyword (for example "EndSelect" to "Select" or "EndIf " to "If") to the keyword you have just inserted. The end keyword will be inserted after the cursor, so you can continue typing after the first keyword that was inserted. "If" requires File - Preferences... - AutoComplete - Characters needed before opening the list = 2"

With the setting = 3 and typing "If", the style would immediately change to if, but the closing "EndIf" is not triggered with double [Enter]'s.

_________________
To understand recursion, you must first understand recursion. ~ unknown
I never make stupid mistakes. Only very, very clever ones. ~ John Peel


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Thu Jan 13, 2011 4:51 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Sep 15, 2003 5:55 am
Posts: 929
minus on 4 and 8?
Code:
  Priority Level |     Operators
  ---------------+---------------------
       8 (high)  |      ~, - <--- ?
       7         |    <<, >>, %, !
       6         |       |, &
       5         |       *, /
       4         |       +, - <--- ?
       3         | >, >=, <, <=, =, <>
       2         |       Not
       1 (low)   |  And, Or, XOr

c ya,
nco2k

_________________
If OSVersion() = #PB_OS_Windows_ME : End : EndIf


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Thu Jan 13, 2011 5:16 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Jul 25, 2005 3:51 pm
Posts: 2401
Location: Utah, USA
nco2k wrote:
minus on 4 and 8?

4 is for subtraction operator, 8 is for unary sign operator

_________________
Image


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Wed Jan 19, 2011 6:38 pm 
Online
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 1387
Location: Boston, MA
http://www.purebasic.com/documentation/menu/setmenuitemstate.html
Quote:
Changes the specified MenuItem state. This functions allows you to display a 'check mark' next to the menu item text. The check is displayed when State equals 1, if State equals something else then the 'check mark' will not be displayed.



Actually, the SetMenuItemState() is set to checked(ON) with any non-zero entry, -1,+1,99,etc.

_________________
To understand recursion, you must first understand recursion. ~ unknown
I never make stupid mistakes. Only very, very clever ones. ~ John Peel


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Tue Jan 25, 2011 1:26 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 26, 2003 1:11 am
Posts: 1300
Texture : Loadtexture() can even
load *.DDS files,
a feature of ogre3d

_________________
SPAMINATOR NR.1


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Wed Mar 09, 2011 3:50 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Aug 16, 2010 4:29 am
Posts: 241
I just noticed that structure related Compiler Functions have been left out of my PB 4.51, Win64, Help Index. InitializeStructure, CopyStructure, and ClearStructure should be added to the Index.


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Sun Mar 13, 2011 12:21 pm 
Offline
Addict
Addict
User avatar

Joined: Mon Sep 15, 2003 5:55 am
Posts: 929
http://www.purebasic.com/documentation/image/imagedepth.html
Code:
PB_Image_InternalDepth -> #PB_Image_InternalDepth
PB_Image_OriginalDepth -> #PB_Image_OriginalDepth

c ya,
nco2k

_________________
If OSVersion() = #PB_OS_Windows_ME : End : EndIf


Top
 Profile  
 
 Post subject: Re: PureBasic Docs - Errors & needed improvements to the man
PostPosted: Sun Mar 13, 2011 1:10 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1462
CreateImage() is no longer restricted to 8192x8192, but is now 32000x32000.

_________________
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 224 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14, 15  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye