Post Reply 
Program fails with new firmware, no CAS function.
04-23-2016, 02:18 PM
Post: #1
Program fails with new firmware, no CAS function.
To aid learning the programming on this beast I have been playing with anothers program. All was fine before the update, now I instantly get "Bad argument type" and 'info' shows the following segment....

while int > 0 do
rem := irem(int,10);
string := IntToChar(rem) + string ;
int := (int - rem)/10;
end;

Any clues as to why this now fails ?. No sign of the CAS function (as mentioned by Tim) anywhere in the whole program.

Regards
Find all posts by this user
Quote this message in a reply
04-23-2016, 02:50 PM (This post was last modified: 04-23-2016 02:51 PM by DrD.)
Post: #2
RE: Program fails with new firmware, no CAS function.
"int", "rem", and "string" are reserved words. Variable names are important.
Find all posts by this user
Quote this message in a reply
04-23-2016, 09:04 PM
Post: #3
RE: Program fails with new firmware, no CAS function.
(04-23-2016 02:50 PM)DrD Wrote:  "int", "rem", and "string" are reserved words. Variable names are important.

I wondered that when I saw them yet it doesn't explain why it worked fine with the last firmware ?!

Regards
Find all posts by this user
Quote this message in a reply
04-23-2016, 10:33 PM
Post: #4
RE: Program fails with new firmware, no CAS function.
More strict enforcement of the rules, in an attempt to prevent ambiguous results, I would guess. The evolution of this firmware version seems to have corrected a lot of things, not to mention new features. This is most likely one of the consequences.
Find all posts by this user
Quote this message in a reply
Post Reply 




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