Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print color bug (*solved*)
#1
Code:
Declare sub CenterText (ByVal Row as ubyte, ByVal Text as string)

Ink 6
Paper 1
Print at 20, 0; "\k";

Ink 7
Paper 0

'Print ; 'Put here to update colors, there is a bug in the compiler.
CenterText (21, "Hello")


Sub CenterText (ByVal Row as ubyte, ByVal Text as string)

Dim i As UInteger

i = Len(Text) / 2
i = 16 - i
Print at Row, i; Text;

End sub

Hi there Boriel.

The above code does not work correctly, both the "K" and the word "Hello" come out with blue paper and yellow ink unless you unrem the print statement. Then the "Hello" comes out with black paper and white ink.

This was not a problem before, this is a recent problem. I can use this "print" workaround for the time being but there is a bug in the complier.
Reply


Messages In This Thread
Print color bug (*solved*) - by Darkstar - 10-03-2022, 08:18 PM
RE: Print color bug - by boriel - 10-04-2022, 06:54 AM
RE: Print color bug - by Darkstar - 10-04-2022, 09:44 AM
RE: Print color bug - by boriel - 10-04-2022, 10:53 AM
RE: Print color bug - by Darkstar - 10-05-2022, 12:44 AM
RE: Print color bug - by boriel - 10-05-2022, 07:01 AM
RE: Print color bug - by Darkstar - 10-05-2022, 07:59 AM
RE: Print color bug - by boriel - 10-11-2022, 06:15 PM
RE: Print color bug - by Darkstar - 10-11-2022, 06:57 PM
RE: Print color bug - by boriel - 10-05-2022, 10:27 AM
RE: Print color bug - by Darkstar - 10-07-2022, 01:09 AM
RE: Print color bug - by boriel - 10-07-2022, 10:53 PM
RE: Print color bug - by Darkstar - 10-08-2022, 01:36 AM
RE: Print color bug - by Darkstar - 10-08-2022, 03:11 AM
RE: Print color bug - by boriel - 10-08-2022, 08:04 AM
RE: Print color bug - by Darkstar - 10-08-2022, 08:37 AM
RE: Print color bug - by boriel - 10-09-2022, 06:30 PM
RE: Print color bug - by Darkstar - 10-09-2022, 08:27 PM
RE: Print color bug - by Darkstar - 10-10-2022, 04:20 AM
RE: Print color bug - by boriel - 01-19-2023, 10:56 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)