v 4.80 Beta: Real type out of range - AV after comlilation

Beta Testing discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
sasa72
Posts: 89
Joined: 21 Apr 2011 05:21

v 4.80 Beta: Real type out of range - AV after comlilation

#1 Post by sasa72 » 03 May 2011 19:35

Compiling following code results an AV:

Code: Select all

var
   r: real;
begin

  r:=1.e45;
  ...
Notice the number is out of range. The same behavior in dsPIC beta version.

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: v 4.80 Beta: Real type out of range - AV after comlilati

#2 Post by tihomir.losic » 04 May 2011 14:18

Hello,

Here is an overview of simple types in mikroPascal PRO for PIC:
real.PNG
real.PNG (13.13 KiB) Viewed 2149 times
Best regards,

Losic Tihomir
mikroElektronika [Support team]

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: v 4.80 Beta: Real type out of range - AV after comlilati

#3 Post by janni » 04 May 2011 14:40

Still, using out of range constant shouldn't result in an Application Error :( .

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: v 4.80 Beta: Real type out of range - AV after comlilati

#4 Post by tihomir.losic » 04 May 2011 14:52

Hello,

this is bug. I passed that report to our developers.

Sorry for the inconvenience.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

Post Reply

Return to “mikroPascal PRO for PIC Beta Testing”