GCWizard
GCWizard copied to clipboard
Bug in Web version (Android works fine) GCW Script Sum function
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)
When I transfered this script to my phone (Android) the code works correct:
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
Feel free to contact if you have questions.
Kind regards,
Marcia