Printing the value of variables
After considering the line of code for a moment, you probably
want to know the value of the variable cardsleft.
(dbxtra) print cardsleft 0As suspected, the illegal instruction is the result of an attempt to divide by zero -- by way of the modulus operator -- but that is not the source of the problem. This variable should never have had a zero in it: we'll have to investigate why it did.
-- MORE --.