Operating System - Linux
1753819 Members
8166 Online
108805 Solutions
New Discussion

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