Re: Phix 1.0.1 uploaded
- Posted by petelomax Nov 27, 2021
- 2033 views
demo\rosetta\Plot_coordinate_pairs.exw:
h:\Phix\builtins\IupGraph.e:7 in function redraw_graph_cb() type check failure, ???(symtab[8091][S_name]=0) is 6.071772942e+18
Some of progams I tried don't work either:
Draw_a_sphere.exw
DragonCurve.exw
Thanks, those work on 32 bit but not 64 bit. The indicated lines just need integer /*posx*/, /*posy*/ changing to atom /*posx*/, /*posy*/
I have added a check in IupSetCallback() which should help prevent me from creating any more of those in the future, the new error is (eg)
Draw_a_sphere.exw:76 "canvas ACTION callback must have func(Ihandle,ATOM,ATOM) sig"
Also fixed: 2048.exw, Abelian_sandpile_model.exw, animate_pendulum2.exw, Archimedean_spiral.exw, BarnsleyFern.exw... hold on a minute...
I think IUP may (on 64 bit) be passing back 32-bit integers but I'm treating them as 64-bit, I'll get back to you.
OpenGL.exw
OpenGLShader.exw
Not getting an error here, on either 32 or 64 bit.