strange thing with put_screen_char()
Hi !
I was playing with put_screen_char, no problem, until now (why, I don't
know). voici :
---
include get.e
include graphics.e
include image.e
integer temp
temp=graphics_mode(3)
put_screen_char(1, 1, {'A', 152, 'Z', 131})
temp=wait_key()
temp=graphics_mode(-1)
---
this sounds 'normal' no ?
But it gives me an error, talking about slices ends past end ... :
--
image.e:337 in procedure put_screen_char()
slice ends past end of sequence (160 > 4)
line = 1
column = 1
char_attr = {65'A',152,90'Z',131}
scr_addr = 753664
vc = {1,3,25,80'P',0,0,32' ',8}
overflow = -156
.. called from D:\EBOCEIXA\JEU\TEMP.EX:6
--
Strange !!
Hardware problem maybe ?
Gwen
|
Not Categorized, Please Help
|
|