Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Yes, a real programming question in the lounge...

Yes, a real programming question in the lounge...

Scheduled Pinned Locked Moved The Lounge
helpquestionandroid
20 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Mike HankeyM Mike Hankey

    The manual can be downloaded from here[^]...free

    Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com

    C Offline
    C Offline
    Chris C B
    wrote on last edited by
    #10

    Oh sod it! Just downloaded it, but not had a chance to peruse yet. Coulda saved myself 19 bucks! Never mind - I'll just look on it as a fine for having weak Googlefu. :-\ Any, thanks!

    Mike HankeyM 1 Reply Last reply
    0
    • P phil o

      According to the manual: ANGLE(X,Y) Arctangent of Y/X, in proper quadrant. That is, returns the angle θ formed between the x-axis and the point (x,y), such that -π < θ <= π.

      enum HumanBool { Yes, No, Maybe, Perhaps, Probably, ProbablyNot, MostLikely, MostUnlikely, HellYes, HellNo, Wtf }

      C Offline
      C Offline
      Chris C B
      wrote on last edited by
      #11

      Thanks very much! I now remember it from your description. I also understand why I used it so much in the program, and shall now write my own version of the function. Thanks!

      P 1 Reply Last reply
      0
      • C Chris C B

        Thanks very much! I now remember it from your description. I also understand why I used it so much in the program, and shall now write my own version of the function. Thanks!

        P Offline
        P Offline
        phil o
        wrote on last edited by
        #12

        You're welcome :)

        enum HumanBool { Yes, No, Maybe, Perhaps, Probably, ProbablyNot, MostLikely, MostUnlikely, HellYes, HellNo, Wtf }

        1 Reply Last reply
        0
        • C Chris C B

          Oh sod it! Just downloaded it, but not had a chance to peruse yet. Coulda saved myself 19 bucks! Never mind - I'll just look on it as a fine for having weak Googlefu. :-\ Any, thanks!

          Mike HankeyM Offline
          Mike HankeyM Offline
          Mike Hankey
          wrote on last edited by
          #13

          I do the same thing more often then I care to admit!

          Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com

          C 1 Reply Last reply
          0
          • Mike HankeyM Mike Hankey

            I do the same thing more often then I care to admit!

            Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com

            C Offline
            C Offline
            Chris C B
            wrote on last edited by
            #14

            It's going to save me a lot of time, anyway, as I won't see the CD for at least two weeks. Having now had a browse, I have also found the table of 256 special characters that I used for integers, so I can now backtrack onto all the many constants used in close to a thousand polynomial terms.

            Mike HankeyM 1 Reply Last reply
            0
            • C Chris C B

              It's going to save me a lot of time, anyway, as I won't see the CD for at least two weeks. Having now had a browse, I have also found the table of 256 special characters that I used for integers, so I can now backtrack onto all the many constants used in close to a thousand polynomial terms.

              Mike HankeyM Offline
              Mike HankeyM Offline
              Mike Hankey
              wrote on last edited by
              #15

              Awesome glad it helped. Mr. Google is a pretty smart fella!

              Technician 1. A person that fixes stuff you can't. 2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge. JaxCoder.com

              1 Reply Last reply
              0
              • C Chris C B

                Well, not so much, really. I know you will all forgive me when I tell you it's about BASIC! :laugh: Some while A long time ago I had an HP 95C 75Ccalculator for which I wrote what was at that time a fairly useful program, in the only supported language - HP BASIC. It was larger than would fit in the 24K available, so I had jump through all sorts of hoops to get it to fit - like using ASCII characters to represent some integers. I no longer have the 95C 75C, and have some how lost the manual - unusual for me - but I do still have the code listings, but there are no code comments, as space did not permit. I do have one listing with scribbled comments on it, but they are sparse in the extreme. Now I am in semi-retirement, I thought I would rewrite it for my Android - and here's the problem. I made heavy use of a built-in function ANGLE(X,Y) but I cannot remember precisely what it did. Bear in mind that I was stuck with one character variable names plus A0 through Z9. I presume it took two sides of a right triangle and returned an angle - but which one? :suss: So, gentlemen, your mission, if you choose to accept it, is burrow away in your memories and let me know which two sides were used to provide the angle. :cool: Edit: Me minds goin' - it was a 75C not a 95C! :-O

                T Offline
                T Offline
                TrueCodePoet
                wrote on last edited by
                #16

                Give this a try: Link ANGLE(X,Y) Arctangent of Y/X, in proper quadrant. That is, returns the angle theta formed between the x-axis and the point (x,y), such that -pi < theta <= pi.

                C 1 Reply Last reply
                0
                • T TrueCodePoet

                  Give this a try: Link ANGLE(X,Y) Arctangent of Y/X, in proper quadrant. That is, returns the angle theta formed between the x-axis and the point (x,y), such that -pi < theta <= pi.

                  C Offline
                  C Offline
                  Chris C B
                  wrote on last edited by
                  #17

                  Thanks very much for that - wish I had two days ago! It will help out in understanding some other obscure stuff as well, where I have forgotten what I wrote it for nearly 40 years ago! :omg: In fact it is the same as ArcTan2 with the input reversed. I had used it in a user defined function to turn the angle of a line defined by x and y coordinates into a bearing between 0 and 360 degrees. Anyway, thanks!

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    I don't know that this will help, but ... HP Museum[^] lists a CD scan of the manual for $10: https://www.hpmuseum.org/95cman.jpg[^] Documents on the Museum Document Set[^]

                    Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                    M Offline
                    M Offline
                    mischasan
                    wrote on last edited by
                    #18

                    Thinking of HP: remember SPL/3000? The *system* program language for the HP/3000 -- I never saw any assembler And it was ... Algol ! :-) Clean, powerful. Wikipedia says it survived the transition from the 3000 to PA-RISC.

                    J 1 Reply Last reply
                    0
                    • M mischasan

                      Thinking of HP: remember SPL/3000? The *system* program language for the HP/3000 -- I never saw any assembler And it was ... Algol ! :-) Clean, powerful. Wikipedia says it survived the transition from the 3000 to PA-RISC.

                      J Offline
                      J Offline
                      JohnnyCee
                      wrote on last edited by
                      #19

                      Yes, I remember some SPL. OK, very little. TOS? Was that a register that held a pointer to the top of the stack? I also remember programming HP "smart terminals" with escape sequences. For the more powerful terminals, one could draw polygons with escape sequences and thus produce various charts and other diagrams.

                      JohnnyCee

                      M 1 Reply Last reply
                      0
                      • J JohnnyCee

                        Yes, I remember some SPL. OK, very little. TOS? Was that a register that held a pointer to the top of the stack? I also remember programming HP "smart terminals" with escape sequences. For the more powerful terminals, one could draw polygons with escape sequences and thus produce various charts and other diagrams.

                        JohnnyCee

                        M Offline
                        M Offline
                        mischasan
                        wrote on last edited by
                        #20

                        Yes, the HP/3000 was a stack machine; instruction set made one think of Forth.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups