Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Windows Crash

From: cyphre:seznam:cz at: 29-Sep-2003 16:32

Hi Matt, Although Rebol interpret is very stable and good piece of code there are still some bugs which could crash it. here are two example which bothers me in View(in both try to press "hide box button"): FIRST CRASH EXAMPLE a: make face [ size: 50x50 color: red ] b: make face [ color: blue pane: [a] ] view layout [ bx: box with [ pane: [b] ] button "hide box" [ hide bx ] ] SECOND CRASH EXAMPLE a: make face [size: 50x50 color: red] view layout [ box with [ color: blue pane: reduce [a] ] button "hide box" [ hide a/parent-face ] ] Also drawing filled polygons bigger than visible area of window using DRAW dialect can cause problems like strange console message "not-enough memory" like: view layout [box 200x200 effect [draw [fill-pen red polygon 406x-672 227x43 1022x782 fill-pen blue polygon 406x-672 1022x782 -44x126]]] regards, Cyphre PS: there is probably more situations in other fields than graphics how to crash Rebol but I remember those because I spent lot of time when debugging them...