Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Another hair brain idea
#11
Good lesson on this brainy subject, I'll definitely remember this. I was thinking a hairy brain thinks muddled whereas a hare brain thinks small. Things that make you go huuuum.

Phil, that's another unique approach, will it work on a graphic screen and _Uprintstring statements? Don't answer that, I'll give it a go.
Reply
#12
(12-05-2025, 11:52 AM)bplus Wrote: I thought hairbrained is when your hair grows the wrong way.

Here in Appalachia America, I was told "hairbrained" was "when someone brains you upside the hair".   IE, like the time I came hope late at night, snuck into my parent's house at 3AM and was tip toeing around, and my dear sweet mama thought some intruder was prowling the house.  She eased out of bed, snuck through the bathroom to the kitchens, grabbed up a cast iron frying pan and TWANGED me upside the back of my head.  I was "hairbrained" for days after that, ears ringing, barely able to concentrate, not really even certain who I was or what the heck was going on.

She hairbrained me for a hairbrained idea and left me hairbrained, and no hares and no brains were involved.
Reply
#13
(12-04-2025, 07:08 PM)ahenry3068 Wrote:
(12-04-2025, 06:51 PM)Dimster Wrote: What if the colors could be converted to strings... I know what your thinking .. brilliant idea...

So it would go like this 
$Color:32

Presently it goes like this:
Color Brown
_Uprintstring (C,R)," This is the color brown"
C=C+75
Color Lime
_Uprintstring (C,R)," and now the color is Lime"


But, whatif

Color Brown
Lime$=str$(Color Lime)
_Uprintstring (C,R)," This is the color Brown"+Lime$+" and now the color is Lime"

Easy peasy right.
This isn't exactly the same.  But you MIGHT find this useful.

By the way.  This is EXACTLY how the old Commodore platforms already work as well as anytime your doing stuff on a terminal.    It's not really a full string but it is a control character that does stuff like move the cursor around, clear screens AND control colors.    Programming tools for those platform often let you enter that string symbolically.   That's where I got the idea for my tprint SUB in the first place.    tprint cheats in a manner of speaking in that it uses the color command internally.   But for usage it lets me write my code the way I'm used to on other platforms !
Reply


Forum Jump:


Users browsing this thread: