GCWizard icon indicating copy to clipboard operation
GCWizard copied to clipboard

Bug in Web version (Android works fine) GCW Script Sum function

Open Linsty opened this issue 9 months ago • 10 comments

Hi

When I was writing a script in GCW script in the web version I received a CAST error at the position of Sum(T) error GCW Script Web version

When I transfered this script to my phone (Android) the code works correct: executed GCW Script Android version

It's the same script as presented on: https://blog.gcwizard.net/manual/en/mathmatics/sum-2/

I had the same issue with the script Almost perfect numbers (which is similar)

DIM T FOR I = 15 TO 99 LISTCLEAR(T) DIVISORS(T, I) S = SUM(T) - I D = I - 4 IF S = D THEN PRINT I, D, T ENDIF NEXT afbeelding

Feel free to contact if you have questions.

Kind regards,

Marcia

Linsty avatar May 25 '24 21:05 Linsty