problems with 4.0.3
- Posted by useless Oct 08, 2011
- 1202 views
I tried again to switch from euphoria 40b4-3412, which i have been using for some time now, to v4.0.3. I ran into two problems, one of which will stop me from ever using v4.0.3. And both problems have occured on two computers.
Problem one is when tracing a program using v4.0.3, i cannot F1/F2 to see the output of puts(1,"blarg"). Nothing happens when pressing any function keys. This puts a significant dent in tracing.
Problem two is remove_all() doesn't, on v40b4-3412 or on v4.0.3.
-- test the idiot remove_all() with trace include std\sequence.e object data trace(1) data = "<a href=\"?selectlang=ru\"><img>" puts(1,data&"\n") -- <a href="?selectlang=ru"><img> -- cannot F1 or F2 here, nothing happens, -- i cannot see the puts in 4.0.3 -- i CAN see the puts in 40b4-3412 data = remove_all("?selectlang=ru",data) puts(1,data&"\n") -- <a href="?selectlang=ru"><img> -- cannot F1 or F2 here, nothing happens, -- i cannot see the puts in 4.0.3 -- i CAN see the puts in 40b4-3412 -- but data still contains "?selectlang=ru" abort(0) -- something to end the trace on
But this works fine on both versions:
place1 = match("?selectlang=ru",data) while place1 do data = data[1..place1-1] & data[place1+14..$] place1 = match("?selectlang=ru",data) end while
What i want to end up with in the example above is:
data = "<a href=\""><img>"
useless