Post Reply 
Error Msg : Unmatch control word
01-06-2015, 12:06 AM (This post was last modified: 01-06-2015 12:09 AM by bobkrohn.)
Post: #5
RE: Error Msg : Unmatch control word
I originally had all Subroutines as separate entities.

But, when I did a BackUp then Restore, all the calls to the Subroutines would not work.
They all worked fine before the BackUp then Restore.
Apparently, they all need to be "recompiled", or whatever it's called in HP.
My understanding is that there are "hidden" executables attached to each listed program. You have to open and close each one to "recompile".
That would require manually visiting each of the 70+ subs/programs.
Someone suggested including all the subroutines into one big file.
That's what I did. In the Connectivity Kit.
I Copied/Pasted each one and wrote name down on paper to check myself.
Low and behold, random subroutines would go missing from the big file as I tried to run the big main "Mother Program".
Was able to recover them from previous BackUps, make a new .zip file and Restore that.
Did it at least 3 times for three different Subs. (No way did I drop 3 on my own)
The "Mother Program" seems to call the Subs OK however, so that's good.

I get no errors when I do the Check in Program Editor.

I may have located the source of the "Unmatch control word" msg.
Another Sub that had gone missing. It was on my handwritten check list.
I was able to locate the Call by observing what the program was attempting to do when it bombed. Yup, missing Sub.
Error WAS NOT located by an informative HP-Prime generated error message showing line number, etc.

The other immediate problem now is the capricious way that String Variable Input is working.
I've gone around and around with this.
Soon as I gather some steam I'll try a different tack on that too.
Don't use String Variables for input.

I had to do that with the same silly buggy behavior of the Shift DMS key for input.
I gave up and wrote some Subs to take the old "HP-41" input style, i.e. 45.15301234 for 45° 15’ 30.1234”. Actually, it's less trouble to key in now.
(Yes, I know you can use the Template Menu Key)

What I'm scared of is the "missing Subs" problem may be a symptom of something more evil. Random scrambling/deleting of code within a Sub.

Program Editors sure could use a Find and a Find-Replace features.
Especially in the Connectivity Kit.
Anyone with even a beginners level of expertise would know that that is a necessary function.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Error Msg : Unmatch control word - bobkrohn - 01-06-2015 12:06 AM
RE: Error Msg : Unmatch control word - Han - 01-06-2015, 01:20 PM



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