The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
strange irem problem - SOLVED
01-20-2022, 09:35 PM (This post was last modified: 01-21-2022 01:26 AM by tgallo.)
Post: #1
strange irem problem - SOLVED
I have a program that runs fine on my calc but doesn't in the virtual calc. I narrowed it down to the irem function.

rem := irem(integer,10);

if I step through the program I check the following values right after this line is executed:

integer = 45
irem(45,10) = 5 <--- just checking irem returns proper value if given non-variable input
rem = integer

what does that even mean? rem should equal 5

Another strange thing is that OCCASIONALLY it works.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
strange irem problem - SOLVED - tgallo - 01-20-2022 09:35 PM
RE: strange irem problem - Joe Horn - 01-20-2022, 10:08 PM
RE: strange irem problem - tgallo - 01-20-2022, 10:32 PM
RE: strange irem problem - pinkman - 01-20-2022, 11:29 PM
RE: strange irem problem - tgallo - 01-20-2022, 11:54 PM
RE: strange irem problem - tgallo - 01-21-2022, 01:02 AM
RE: strange irem problem - tgallo - 01-21-2022, 01:21 AM



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