Re: error when using std/console.e
- Posted by DerekParnell (admin) Jun 04, 2010
- 1363 views
_tom said...
The following one line program produces an error:
include std/console.e display( "test" ) -- /root/euphoria/include/std/types.e:742 in type t_display() variable Defined_Sets has not been assigned a value ... called from /root/euphoria/include/std/console.e:785 in procedure display() ... called from test.ex:1
The following one line program works correctly
include std/math.e ? abs( -5 )
The following two line program works correctly
include std/console.e display( "test")
Interesting. I was under the impression that executable code was forbidden on the include statement. I would have expected all those one-liners to fail, but with a different error message. I better look into this.