Rob: Potential bug fixed in PD-source?
Ok.. so I ran Spectrum.exw with the PD-source and got this error message:
spectrum.exw:141 in procedure UpdateSpectrum()
lengths do not match on assignment to slice
... called from C:\EUPHORIA\LIBRARY\win32lib.ew:8406 in function invokeHandler()
... called from C:\EUPHORIA\LIBRARY\win32lib.ew:31798 in function fDoTimer()
... called from C:\EUPHORIA\LIBRARY\win32lib.ew:32898 in function MessageProcess
or()
... called from C:\EUPHORIA\LIBRARY\win32lib.ew:32946 in function WndProc()
^^^ call-back from Windows
... called from C:\EUPHORIA\LIBRARY\w32dll.ew:283 in procedure w32Proc()
... called from C:\EUPHORIA\LIBRARY\win32lib.ew:33454 in procedure eventLoop()
... called from C:\EUPHORIA\LIBRARY\win32lib.ew:33666 in procedure WinMain()
... called from spectrum.exw:241
--> see ex.err
Press Enter...
So I go to line 795 in in execute.e:
if sequence(rhs) and length(rhs) != len then
RTFatal("lengths do not match on assignment to slice")
end if
I add a couple of print statements to see the values of length(rhs) and len;
they are:
length(rhs) = 11
len = 11.14285714
When I change it to "floor(len)", the the program runs fine. Should "len" be an
integer, or is it sometimes suppost to be floating point value?
Whats happening you think?
Regards,
Vincent
|
Not Categorized, Please Help
|
|