Euphoria 4.1 problem - as relates to tinewg
- Posted by jessedavis Apr 28, 2016
- 3656 views
Original euphoria: "4.1.0 development (6300:57179171dbed, 2015-02-02 14:18:53)" on Windows 7 pro
See http://openeuphoria.org/forum/129577.wc#129577 as it relates to this.
Using Euphoria 4.1.0 I cannot get the following to work. It returns atoms that don't appear to point to anything useful.
include tinewg.exw include tinEWG_const.ew include std/console.e include std/pretty.e include euphoria/info.e global atom font_15 = NewFont("Courier New",15,True,False,False) global atom font_18 = NewFont("Courier New",18,True,False,False) global atom font_24 = NewFont("Courier New",24,True,False,False) sequence fonts = {font_15,font_18,font_24} pretty_print(1,fonts,{2}) puts(1,"\n\n") printf(1,"Version: %d \n",version()) any_key() abort(1)
This code produces
{-1828056919,-838201182,-1240854361} Version: 40100
Using Euphoria 4.00.04 the above code does work properly.
{2030702338,185208919,420089942} Version: 40004
Both the SWITCH problem and this problem seem to relate to memory storage issues; however, I'm only guessing.
Thanks in advance,
jd