Operating System - Linux
1827853 Members
1631 Online
109969 Solutions
New Discussion

Re: HP BASIC "variable buffer overflow"

 
SOLVED
Go to solution
Henry Chua
Super Advisor

HP BASIC "variable buffer overflow"

Hi Guys,

Are there anyone who is familiar with HP BASIC? I have a problem.. my integer and real declaration has only a range of -32767 to 32767 but I need to calculate figure larger than this. What can be done??

Best regards
Henry
1 REPLY 1
Antoniov.
Honored Contributor
Solution

Re: HP BASIC "variable buffer overflow"

Hi Henry,
based on HP documentation
http://docs.hp.com/cgi-bin/doc3k/B3271590001.10189/19
it appear you declared SHORT INTEGER instead of INTEGER. Same for REAL.

Antonio Vigliotti
Antonio Maria Vigliotti