[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

need help with cpu problem



          <<< WONDER::SOFT1$:[NOTES$LIBRARY]APPLE_COMPUTERS.NOTE;2 >>>
                       -< Apple II Computer Discussions >-
================================================================================
Note 84.18                   Robotic kit for Apples?                    18 of 18
CSC32::K_BOUCHARD                                    31 lines   8-JAN-1994 13:05
                               -< cpu problem? >-
--------------------------------------------------------------------------------
    I noticed while running the Lego/Logo thing that comparisons didn't work so
    good. I just dismissed it as some sort of quirk of the LOGO language.
    Now,I find that running BASIC,a simple IF/THEN statement won't work
    with certain numbers (it looks like numbers with five or more bits
    can't be compared for equality)

    Here is a BASIC program that fails:

    10 y=3
    20 x=7
    30 num=x^y
    40 if num=343 then print num
    50 end

    substitute x=8 and put 512 in the IF/THEN and it works. (prints out
    num)

    Is there some diagnostic I can run on the cpu? If there is,can I get it
    or is it proprietary like so much other stuff?

    BTW: In case you're wondering,yes the system speed in the control panel
    *was* set to FAST and I lowered it to NORMAL,being *sure* this was the
    problem. No luck,still fails.


   Ken