In the old days, when you were still part egg, the way to do it was to print a hidden character, like chr$(0), in an unused place on the screen and then use the 1 switch in the SCREEN command to read the attribute of that character. Then you had to divide it by 16 and use mod 16 to find the foreground and background colors, and, of course, remove the hidden character.
Yeah, I know we're roughly the same age, but I couldn't resist cracking that egg joke, and since it was about being part egg, let's just leave it at the yolks on you.
Pete :D
- Dammit, I miss my smileys!