Jump to content



Photo
- - - - -

Color commands


  • Please log in to reply
8 replies to this topic

#1 fergie

fergie

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 29 April 2003 - 06:36 AM

Hi,
I have just purchased a "casio Fx-9750G Plus" calculator, and i've found a few programs on the net I'd like to use on teh calc.
However, the programs have been made with color commands, and so they won't work on my calc. I read some where taht you could edit something so they would work.
Is this true? and if so, how do i do it?
for example - i found this little prog:

Filename:DISTANCE
Cls:ClrText?
"FIRST POINT, X"??A:"Y"??B?
"SECOND POINT, X"??C:"Y"??D?
ClrText:" ":" ":Green " ":Orange " "?
Locate 1,1,"DISTANCE":(C-A)?+(D-B)??Y?
Locate 11,1,?Y:Locate 1,2,"OR ?"?
Locate 12,2,Y?
Locate 1,3,"SLOPE"?
Locate 11,3,(D-B)?(C-A?
Locate 1,4,"MID POINT"?
Orange "X=":Orange "Y="?
Locate 11,5,(A+C)?2:Locate 11,6,(B+D)?2?

I typed it into my calc, but i didn't no wot to do on the color commands - as i don't haev them.
WOT TO DO??
Thanks.
PS - i've just relised - some of teh icons aren't displayed properly, like the arrows etc.

#2 BiTwhise

BiTwhise

    Casio Overgod

  • [Legends]
  • PipPipPipPipPipPipPip
  • 627 posts
  • Gender:Male
  • Location:Guildford, Surry, UK
  • Interests:Programming, games, consoles, martial arts

  • Calculators:
    FX9700WE, CFX9970G, AFX2.0, Classpad 300

Posted 29 April 2003 - 08:04 AM

Simply remove them

#3 rjstephens

rjstephens

    Casio Freak

  • Members
  • PipPipPipPip
  • 239 posts
  • Location:Brisbane, Queensland, Australia

  • Calculators:
    CFX9850GB+

Posted 29 April 2003 - 08:51 AM

trouble is, if you remove them, it might not show up the way it was intended and might be a bit confusing.

i'm not going to bother typing it in, though.

and why are there two smilies in the code?? i couldn't type it in if i wanted to.

#4 Bj2c

Bj2c

    Casio Addict

  • Members
  • PipPipPip
  • 79 posts

Posted 29 April 2003 - 11:27 AM

in this program you don`t need to see the colors , just erase the color in the program , most programs just use color to look good

#5 Casto Productions

Casto Productions

    Casio Freak

  • Members
  • PipPipPipPip
  • 152 posts
  • Location:IL, USA

  • Calculators:
    TI-83, TI-86, CFX-9850, AFX2.0

Posted 29 April 2003 - 05:47 PM

That code was intended for the CFX series. The ::ClrText:" ":" ":Green " ":Orange " ":: was a way of using color text with the locate commands, because just having text in " " was VERY slow, but commands like "Green Locate 1,1,"HI"" would produce a sintax error. So most programers that wanted color but still wanted speed would use two commands like this:

Green " "
Locate 1,1,"HI"

The first command would change any text put on that line of display to green. I think it was actually a flaw in the way the crappy BASIC worked, but it was a helpful one so they never corrected it. In the example you put, the first two lines were supposed to be normal blue, the slope was green and the midpoint was orange. The program should work fine without the color commands, so take out the line with ::ClrText:" ":" ":Green " ":Orange " "?:: in it.

#6 Brazzucko

Brazzucko

    UCF BASIC Programming Champion

  • Super Member
  • PipPipPipPipPipPip
  • 412 posts

  • Calculators:
    FX 1.0, CFX 9850 GB Plus and FX 9750G

Posted 30 April 2003 - 01:01 PM

:blink: I have one FX 9750 G too and I have any problem when I running programs whit ?colours? command?..

As many guys already have said, just remove then?.

Your FX 9750 G Plus is a new or the old model, my FX 9750 G is the old model whit 32Kb of RAM

Maybe the new models can't run programs whit "colours" command.....

#7 fergie

fergie

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 30 April 2003 - 06:33 PM

OK, thanks guys, i got it working!

#8 Bj2c

Bj2c

    Casio Addict

  • Members
  • PipPipPip
  • 79 posts

Posted 01 May 2003 - 12:50 PM

why the AFX isn`t in color , can anybody give me a good reason

#9 BiTwhise

BiTwhise

    Casio Overgod

  • [Legends]
  • PipPipPipPipPipPipPip
  • 627 posts
  • Gender:Male
  • Location:Guildford, Surry, UK
  • Interests:Programming, games, consoles, martial arts

  • Calculators:
    FX9700WE, CFX9970G, AFX2.0, Classpad 300

Posted 01 May 2003 - 02:24 PM

Colour screens are crap

We've been on to this arguement before, so just search colour/color screen and I'm sure you'll find something




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users