11-12-2012, 12:07 AM
britlion Wrote:As an addendum - if I ask it to calculate X^2 in the middle of the loop, it crashes the program. Calculating X*X works fine.This is expected, unfortunately: ZX Basic uses the ROM, and a^b raises Invalid Argument if a < 0.