Help file wrong example

Beta Testing discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

Help file wrong example

#1 Post by Kalain » 31 Mar 2009 15:48

Hi,

In "Predefined Globals and Constants" help page, section "Math constants", it's written :
In addition, several commonly used math constants are predefined in mikroBasic PRO for PIC:

PI = 3.1415926
PI_HALF = 1.5707963
TWO_PI = 6.2831853
E = 2.7182818
In Type Qualifier Help page, this example is given :

Code: Select all

const PI as byte = 3.14159
But you can't use any more PI as const. (compiler returns an error.)

Only valid examples should be written in Help file ?
Alain

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

#2 Post by filip » 30 Apr 2009 14:16

Hi,

It will be fixed.

Regards.

Post Reply

Return to “mikroBasic PRO for PIC Beta Testing”