Post Reply 
Unexxpected Procedure Call (Solved) when variable undefine
11-16-2016, 08:53 AM (This post was last modified: 11-16-2016 09:03 AM by StephenG1CMZ.)
Post: #3
RE: Unexpected Escape when variable undefined
Here is what I see when I run the program and tap ESC.

I did write some code a few months ago that waited for a keypress and MSGBOXed ESCAPE, whilst debugging some other program. But if I tap something other than ESC I get the system "!", whereas my old code would have ignored other keypress or printed the ASCII code.

The code here originally measured the available precision in bits, then multiplied by log(2) to show decimal digits of precision. That worked, but I decided to separate the bit-measuring into a separate procedure and accidentally had the LOCAL KK in the wrong procedure - and the program began waiting for an ESC. Defining KK in the correct procedure fixed that.

It might be relevant that for some time now, my Android phone has been warning that it is running out of storage space.


Attached File(s) Thumbnail(s)
   

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Unexpected Escape when variable undefined - StephenG1CMZ - 11-16-2016 08:53 AM



User(s) browsing this thread: 1 Guest(s)