about output in HP 48G+


I'm running a program to give an angle in degrees mins, and secs, with the characters, but i also keep getting C$ 10 before the angle. I also get the symbols for deg, min and sec. How do i get rid of C$ 10? thanks,



Ah... by fixing your program. The C$ nnn is an alternate form of displaying a string, generally when you attempt to edit giant-sized strings. The nnn is the number of characters in the string.

What is the program? Try the [PRG][NXT] RUN DEBUG command and SST to see what's happening during execution.



Hi Jason;

The result you are getting is normal. It is refered to as a counted string. Normally you would not see the C$ unless you tried to edit the string. This occurs because the string contains double quotes. As an example;

If the display shows

""How Are You?""

that is with two double quotes at the beginning of the string and two double quotes at the end of the string, and you press the down arrow key to edit this string, you will see;

C$ 14 "How Are You?"

C$ means that it is a counted string, 14 is the length of the string and "How Are You?" is the string, with the double quotes. In your case I'll bet you are using double quotes to designate seconds, i.e. 51°13'34" as an example. Because of the double quotes this is converted into a counted string if you attempt to edit it. If you print or display this counted string it will print or display correctly, without the C$. You can also create a string which contains double quotes using this method. Press alpha alpha C$ nn and then the string, where nn is the length of the resultant string, not counting the automatic double quotes placed at the beginning and end of the string by the os. In fact any string can be created this way, although not as easily as simply entering the string. As an example;

C$ 24 This Is A Double Quote "

will result in this string

"This Is A Double Quote ""

on the display.

Hope this has answewred your question and has helped you.

Take care.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Riemann's Zeta Function update (HP-28S, HP-48G/GX/G+, HP-49G/G+/50g) Gerson W. Barbosa 0 108 06-30-2013, 01:01 AM
Last Post: Gerson W. Barbosa
  OT: DIFFERENTIAL EQUATIONS using the HP-48G/GX Ivan Rancati 2 157 06-04-2013, 04:11 AM
Last Post: Frank Boehm (Germany)
  Able to set HP 48G axis tick marks at integers? Randal B 1 114 01-24-2013, 12:40 AM
Last Post: Chris Dreher
  HP 48G -- entering more than one equation into the PLOT application Randal B 1 116 01-24-2013, 12:25 AM
Last Post: Chris Dreher
  HP 48G series -> 20 years NACHO 0 100 12-13-2012, 09:40 AM
Last Post: Nacho
  HP42s input output of programs and files aurelio 17 472 09-01-2012, 10:18 PM
Last Post: Raymond Del Tondo
  ROOT bug? HP 48S/48G Eddie W. Shore 8 338 07-13-2012, 07:05 PM
Last Post: Eddie W. Shore
  RPL prog for Fibonacci on HP 48G needs minor modification. help. wildpig 68 1,317 07-09-2012, 09:38 AM
Last Post: Gilles Carpentier
  HP-48G not responding Walt 3 158 05-20-2012, 08:03 PM
Last Post: Allen
  HP 50g pivot output from command "rref" peacecalc 0 67 04-07-2012, 02:38 PM
Last Post: peacecalc

Forum Jump: