[GNC] Stock quotes

Michael Hendry hendry.michael at gmail.com
Mon May 27 02:40:29 EDT 2019


> On 27 May 2019, at 00:02, Jean-David Beyer via gnucash-user <gnucash-user at gnucash.org> wrote:
> 
> On 5/26/19 4:34 PM, Steve wrote:
>> That was it. I still had one set up as Alphavantage. "Unknown error"
>> is not the most helpful error message.
>> 
> 
> I wrote a big program once, and at one point in the program, I had it
> print out the error message, "WAHOO!"
> 
> It actually came out once and the user called me on the telephone to
> complain about the unhelpful message. But think about the code that
> generated the message and answer this: what error message would you have
> printed. Assembler code
> 
> TZE  C (transfer if zero)) to location C
> TPL  A (transfer if positive) to location A
> TMI  B (transfer if negative) to location B
> 
> PRINT "WAHOO!"
> 
> It must have been a machine error. There was no logical way to get to
> that PRINT statement.


Have you thought about a fault elsewhere in your program which caused a jump to the third line (TMI B…) with a positive or zero value in the appropriate register?

Michael



More information about the gnucash-user mailing list