Subj : Re: More dumb questions
To   : Mortifis
From : echicken
Date : Fri Jul 19 2019 03:58 pm

 Re: Re: More dumb questions
 By: Mortifis to echicken on Fri Jul 19 2019 16:33:27

Mo> I see conio.textcolor and conio.textbackground but I am unsure how to use
Mo> it ... I tried conio.textcolor=3 but it displays jibberish and completely
Mo> hoses the output

I completely forgot that thing existed.  Can't remember ever using it, though.

I would imagine that if you want to use it for i/o, you should use its methods and no others.

I just whipped up this quick test and it seemed to do what I expected:

conio.init();
conio.clrscr();
conio.textcolor = 14;
conio.cputs('hihi');
conio.getch();

---
echicken
electronic chicken bbs - bbs.electronicchicken.com
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com