Show us why the public should always call a land surveyor

Where are you surveying?

HP PRIME,Step 2, Into the Time Machine

Hp prime,Step 2, Into the Time Machine

Hi Everyone,Step into the Future first ,then we will step back into the Past with this calculator.Like i have already said ,this is not just a calculator,Like you have used in the past,because this one will put you in the future,then take you back into the past because of it programming , the HP PP language.So set back and read how we can do this. The HP Prime is a graphing calculator manufactured by Hewlett-Packard (HP). It contains features common in smartphones, with a touchscreen and apps available to put onto it.[5] There are two sides to the calculator, a numeric home screen and a computer algebra system (CAS) home screen. The calculator can quickly switch between the two, unlike its competitors, which either have a CAS model or a non-CAS model. The CAS is based on the free and open-source Xcas/Giac 1.1.2 engine by Bernard Parisse, who was also the main developer of the CAS system integrated into the HP 49G and successors. The calculator has a 1500 mAh battery, which is expected to last up to 15 hours on a single charge. Prime emulator PC software is available as well. It has also, for now (2016), taken the title for the world's smallest CAS calculator at 18,23×8,58 cm and is also the thinnest CAS calculator available currently, with a thickness of only 1.39 cm.

The HP Prime has a feature called Exam Mode. This enables various features of the calculator (such as CAS functionality, user-created apps, notes, etc.) to be selectively disabled for a specific time, from 15 minutes to 8 hours. This can be done manually within the calculator's menus, or by using a computer with HP's connectivity software.[6] LEDs on the top of the calculator blink to let the instructor see that the calculator is in this mode. Despite this feature, the Prime is still prohibited in many examinations, such as the US's ACT college-entry test.[7] It is however starting to be accepted in other examinations, like those run by the Dutch CvTE,[8] the Swiss IB,[9] or Alberta (Canada)[10] education authorities.

The HP Prime's non-CAS home-screen supports textbook, algebraic and 128-level RPN (aka Advanced RPN) entry logic. However, it uses a new operating system unrelated to HP's legacy Saturn and Saturn-emulated systems, which were used on HP's previous RPN/RPL graphing calculators; therefore, it is not compatible with any User RPL or System RPL or with programming in Saturn or ARMv4T assembly language.

The calculator supports programming in a new, Pascal-like programming language now named HP PPL (for Prime Programming Language, but originally also referred to as HP Basic) that also supports creating apps. This is based on a language introduced on the HP 38G and built in on subsequent models. All of this is the Furture of what calculators are starting to become,they are now more like Math Computers ,than they are calculators.They are just evolveing with the times,in some cases they are moving into the Future .
So how can this calculator take you into the past,Like what has aready been pointed out above,that this calculator programming is not compatible with RPL or RPL system or with programming in Saturn or ARMv4T assembly languages that includes RPN. Just like the RPL calculators that Ran in RPN mode,they still could not do RPN programming ,also the Prime can Run in RPN mode, but cannot do RPN programming. RPN Keystroke programming ,“Keystroke” is the HP equivalent to Microsoft’s “macro”.So with the help of Eddie Shore, He has wrote in HP PPL, Two programs that work in “program” mode. This mode enables the Prime to write and store a series of keystrokes for future use. It’s like a macro in Microsoft Excel. To access programs You use Tool Box,then User Program Function . To write the macro you use editmacro in ***Edit Mode***, to Run the programs you use Tool Box, user Program functions, runmacro (macro name) ,These are like keystoke RPN
Programs that has been used in the Past .The RPL calculators could not do this. So with these two Macro programs you can write and run Two different calculator languages. on the HP Prime, So the language of the Future,will take you back to the Past. Although This is familiar type RPN language,there are some differences.The label is the macro name,LBL 1,2,3 etc. are use as path ways and GTO instructions, You press Enter before you type the constants,Your answers will end on the 4 level stack RPN that you are use to ,but you will see all 4 levels, T,Z,Y,X, so you write the program to end with the possibility of 4 answers at one time,there is no Run/Stop key. What you come up with is a program language that looks like a mixture of RPN from Friden logic system,up to present day. I call it ESN,Eddie Shore Notation, I am sure Eddie would like that, Eddie Shores has been good enough to write these two HP PPL programs and include instructions on how to use them and with your keystrokes and commands.To get these Two programs you must go to MOHPC and view there HP Prime Software Library, page 3, and find Eddie Shore, editmacro,runmacro, 3,9,2015 update, then down load the file. In this file is three folders a Read me,editmacro and runmacro The Read me is where you will find instructions and example's and everything else you need,you must be a member to download these files.So if you are not ,then apply for membership. Then you are on your way to the future and the Past,with this Time Machine.These are not survey programs,they let you write your own RPN programs no matter what they are. So all you old timers step into the Future and you new Surveyors come out of the future and step into the past.With this amazing calculator. HP PRIME.
These programs must be downloaded and installed with the Prime HP Connectivity Kit.

Here are some links that you will need.

http://www.hpmuseum.org/forum/forum-15.html?order=asc&datecut=9999

http://www.hpmuseum.org/forum/forum-15-page-3.html?order=asc&datecut=9999

http://www.hpmuseum.org/forum/thread-3301.html

And you may able to just download from here,but advise to read Eddie page for this download @MOHPC

https://drive.google.com/file/d/0B7R8x9Yi26yGNE5GMGlnYXFaT2s/view?usp=sharing

https://drive.google.com/file/d/0B7R8x9Yi26yGNE5GMGlnYXFaT2s/view?pref=2&pli=1

Once you have the programs on the calculator you are ready the to start,Learning how this New RPN works in macro. So go to Eddie's Read me and look at the first program you will write. these programs will not run in RPN mode, I use Textbook,when doing these programs, that seems to work best, the first macro is area of a circle, these program lines are wrote in "string", but number input is not entered as a"string",So remember this, numbers are not in "strings".then run from program  catalog editmacro or from tool box, user program function, select edit macro Enter, then you will be in ***Edit Mode*** and you can start your program. most of my program i also use DEG mode for my angles, so i set the program in DEG mode,by making it my first line. If your solution needs to be in Radians then do not do this, this is just to make sure i am in Degree mode. So your first line will be 1. "DEG" this program looks like this. as you will see.

1."DEG"

2."INPUT"

3."X^2"

4. "PI"

5."*"

6."END"

END will be automaticlly added to the last line. So when you reach the last line then press Esc

Now you have to name it, so type macro01:= high lite the program line and press ENTER,ENTER,and you will be asked do you want to create a variable  in this name, then press   OK, and you just made your first

macro name macro 01, Now how to run it, Go tool box,user program functions,runmacro, then to vars, user variables macro01 and it will look like this runmacro(marco01) ,then ENTER ,your program will start,you will see a input line type 15 then OK, then you will see the *** STACK***,T,Z,Y,X, in x line your answer 706.858347058, and that is the area of that circle. So stay tune.

You need to be a member of Land Surveyors United - Global Surveying Community to add thoughts!

Join Land Surveyors United - Global Surveying Community

Email me when people reply –

Replies

  • Survey Legend

    You're a True Gem Billy!  Thanks for taking the time of explaining this to us.  It will be useful for years to come...

  • Hi again Everyone,Been trying to get back to this Discussion, one of my favorites, the HP Prime.

     Today i will show you another survey program for it in macro RPN. The reason i said i will show you another program, is because you will not see it any where else. why ,because it does not exist, till i show it to you. This type of programs  are new,so if you find any , anywhere they will be new. This is a new language.

     It is a macro of HP PPL in RPN format, not exactly RPN, but close enough. But actually it is.

      So here is Azimuth to Azimuth Intersection in macro RPN. Written by Billy Brooks as of  Sept. 26,2016.

     aai

    1.'DEG"...................30." RCL 5"

    2."INPUT"................31. " - "

    3."STO 1"................32. "SIN"

    4."INPUT"................33. " / "

    5."STO 2"................34."RCL 5"

    6."INPUT"................35. "SWAP"

    7."STO 3"................36. "RECT"

    8."INPUT"................37. "RCL 1"

    9."STO 4"................38. " + "

    10."INPUT"..............39. "STO 1"

    11.">D"...................40. "SWAP"

    12."STO 5"..............41. "RCL 2"

    13."INPUT"..............42." + "

    14.">D"...................43. " STO 2"

    15. "STO 6".............44. "RCL 5"

    16."RCL 4"..............45.">DMS"

    17."RCL 2"..............46. "STO 5"

    18. " - "...................47."RCL 6"

    19."RCL 3"..............48.">DMS"

    20."RCL 1"..............49. "STO 6"

    21." - "....................50."RCL 5"

    22."POLAR"............51."RCL 6"

    23."SWAP".............52."RCL 1"

    24."RCL 6"..............53. "RCL 2"

    25. "SWAP"............54."END"

    26." - "

    27."SIN"

    28." * "

    29."RCL 6"

     Now how to Run it, After you enter it in editmacro, you have to name it, i use aai, so go to runmacro (   ),

    then Vars then , User Variables , then select aai,you will have runmacro (aai),then ENTER, and your program will begin.

    1.Your first  x   input, line 2 is North 1 ,

    2.next  x  input line 4 is East 1,

    3.next x input line 6 is North 2,

    4. next x input line 8 is East 2,

    5.next x input is line10 is Azimuth 1,from pt 1, DMS

    6.next  x input is line 13 is Azimuth 2, from pt 2, DMS

     So we will use some real numbers.

    line 2 =5000.0000 press OK

    line 4 =5000.0000 press OK

    line 6 =5000.0000 press OK

    line 8 =5208.7103 press OK

    line 10 = 45.0000 DMS, press OK

    line 13 = 315.0000 DMS, press OK

    Press OK

    ****STACK****

    T = 45, AZ 1

    Z = 315,AZ 2

    Y =5104.35515, New North

    X = 5104.35515, New East

    4 answers at one time, well i made it were you could see the Azimuths you used.

    and this helps, but there is your coordinates  to the Az to Az intersection point.

    Any HP user is familiar with this Stack.but this calculator does not have RPN,

    or does it.Well i am not going to tell anyone. So can you survey with a Prime.

    My list of survey Programs is growing. What will the Time Machine do next.

  • Hi Everyone,These key stroke are very important on the Prime,so i do not like for any one not to see them . so i will include them on this discussion also.This is how HMS works on this calculator,and what else could be important than that. You will use it every day.

    Hi Everyone, Just thought i would show how the →HMS( ) and HMS→( ) conversions worked.some one asked me to show this.

    Syntax:  →HMS(value) Converts, a decimal value to hexagesimal, format; that is, in units subdivided, into groups of 60. This includes degrees, minutes, and seconds, as well as hours, minutes, and seconds.

    Example:  →HMS(54.8763) returns 54°52′34.68″

    Syntax:  HMS→(value)

    Converts, a value expressed, in hexagesimal format, to decimal format.

    Example:  HMS→(54°52′34.68″) returns 54.8763.

    Part #3 to →HMS,HMS→, Hi Everyone, back to the prime,most of the time when using the prime,I stay in Textbook entry or Algebraic dealing with the macro RPN programs.But they will not work in RPN Mode on the calculator.That's right,because they are macro programs. I prefer RPN notation,on all my other calculators,but using Textbook and algebraic entry has gave me no problems on this calculator and then there is the CAS the other side of the calculator which works in all three entry's also as does Home.What a calculator,Three entries,and i can write Two different program languages,that one controls the other one and i have Spreadsheets, with a Note pad ,and Two different screens. All right i will get to why i backed up to this page. It is what is in the Reply's above that this is about. If you tried this in RPN entry it will not work,that is true,on one hand ,but it can be done,just a little different If you in RPN and then i will show you a way,then another way,But the conversion above will not work in RPN ,But that's no problem.

    You can calculate too, in RPN notation decimal value to hexagesimal,format.

    So if you type 53.1301 ,ENTER you will see 1. on the left and 53.1301 on the right.

    Then →HMS, ENTER, Now the trick is how to type→HMS and HMS→ ,on the

    input line,you can use Catlg,but →HMS( ),so you will have to delete the ( ),no problem it works,but you can do this type HMS,the shift 9 and you will see a screen that offers a palette of special characters.It works like the math template palette.So you have already type 53.1301,then ENTER, now you see 1.on the left 53.1301 on the right,

    Now shift 9 special symbols plate ,choose →type HMS,(→HMS),ENTER ,and you

    will see you answer 53°07'48.36",Now on to hexagesimal format, to decimal format.This works the same way,using shift 9 special symbols plate.

    So you type 53°07'48", ENTER,you will see 1. on the left and 53°07'48" on the right.

    this time type HMS, then shift 9,choose → (HMS→),ENTER and you will see the answer 53.13 and that is one way. Now the Best way i have found in any of the three entries,Textbook and Algebraic,work like this and RPN to ,but here is how.First Textbook and Algebraic,key in 53.13,then ENTER,you will see 53.13 on the left and

    53.13 on the right,now press shift [a b/c] key the same as alpha E , on it you will see

      ° ' " on the bottom of it and E in orange also, this shift is in blue.HMS or DMS,your return will be 53°07'48" now for HMS,Key in 53°07'48", and this is how you enter HMS is 53 shift [a b/c] 07 shift [a b/c] 48 shift [a b/c] then ENTER and you will see both on the left and the right 53° 07' 48"  then shift [a b/c] then the return ,53.13 .When you see the same variable on LT. and RT. this lets you know that you are in either Textbook or Algebra,because when your in RPN you will see a 1. on the left,this is indicating a stack number.this tell you that you are in RPN,with out looking.So using the Triangle app is no problem,because you answer or in Decimal of a Degree.This is a Amazing Calculator that is well capable of taking you in to the Future as well as the Past.So far i have showed you 3 different ways to do this conversion and there are more in programming.I think that is a Record for calculators


    .

    http://characters.It/
  • Hi Everyone , I have been focusing on the past talking about macro RPN, so here is some info  on using

    RPN in Home on HP PPL programming this is a tip, This moves you back into the future There are two ways to call created programs in RPN mode of the HP Prime: Here is Eddie Shore with this tip.

    http://edspi31415.blogspot.com.es/2013/11/hp-prime-tip-rpn-and-crea...

  • Hi Everyone , All you old timers,That are not use to the New Hp Prime Language,can now apply your science of RPN power of keystroke programming and start to learn this new macro RPN.The Trick is to end your programs on a 4 level Stack or to Pause them on one level of X as your answer ,then continue the program for the next solutions needed.The great possibility is you can answer to Four solution at one time ,simply by solving four problems and storing them and as the program runs to end  arrange it with four Recalls to the four display Stack of T,Z,Y,X, this has always existed,you just did not see it because the calculators either,was one display or two, you then had to roll the stack to view them, or in programming,use Run/Stop. In this language you can see the 4 level Stack at one time. I think that would be the next improvement a RPN calculator could have,to have a four level Stack Display,How about it HP.

    Built one they will come buy it.The HP 35s was keep low tech.because of the rules of test,that are given.

    Not only just survey test,but many different types of test ,that is taken even by students of math and science.That why this calculator even has a EXAM. Mode for it. A lot of extra's were put into the prime for this reason,and still it is banded from a lot of test. The HP 35 is right on the Border line of not being allowed for the Survey Exam. But there is always room for a new model or could a new Hp35s be advanced and also have a Exam Mode ,I think RPN will stay alive ,because of this very reason.

    But you never know what the future will bring . LONG LIVE RPN. So turn your Prime into RPN calculator,

    plus you can have your Hp PPL programs also,this is Double programming power in one package.

    I know i am.

  • Hi Everyone ,Most of the time when i talk about calculators it is the HP it is well known as this but it is the Hewlett-Packard Company,first time i saw one i think it was a HP 25 ,but the HP 35 did exist.I was at work on a dredging project,on a river and one off my co-workers,new, walks up to me and says ,want to know how to get rich,I said do what?,then he pulls out a small calculator,turns it on and type some numbers,then showed them to me, 7107735 , i asked what does that mean ?,he then flips the calculator over upside down and it said SELLOIL, at this time displays were in LED ,not LCD as of today calculators , and that is what i read,I asked what kind of calculator is that,not that it mattered  about what he had done, Oh! this is a Hewlett-Packard HP 25,at this time calculators ,did not even have constant memory so when you turn them off you lost everything.Also when i look at the calculator,i did not see a = key, I asked where is the = equal key, He said there is no equal key, it uses RPN,  then how does it work,he quickly showed me how to add an everything else,I said that is more like a computer,with this ENTER key.  Now i had my TI calculator always with me,so i show it to him.He asked can you program it ? ,no was my answer ,but it is scientific calculator,then told me i can program this one,and he showed me a real quick program  ,

    line:

    00. clear program

    01.RCL 01

    02.X²

    03.RCL 02

    04.X²

    05. +

    06.√

    07.RTN

    This was  a Recall Register program, you first store your variables in Registers, then the program recalls them as the program runs,this was new to me.

    This  a² +b² √ or √ a²+ b² ,this equation is used in surveying a lot,After he showed me this , my next ? is where did you buy it.Because i quickly saw the potential of being able  to do this, Now i had not worked for this company too long and not too short after this i met the Civil Engineer over this project. and when i walk into his office , i saw a Large calculator ,with a printer made into it on his desk, and on it was this name , Hewlett-Packard, So we spoke,and talk a little,then i had to asked,does this calculator  used this RPN? Yes it does it is a HP 97 was his answer, My next ? can you program it,He then answer  me, yes  two ways,one is key stroke and the other i prefer is using magnetic cards,he then show me how to loaded a program and then ran it,doing a traverse and the whole time it was printing out the coordinates as i watch, from then on i was sold on Hewlett-Packard Calculators.Do not get me wrong, i promote the use of any Brand of calculators,I myself have own T I's ,Casio's and Sharp calculators and maybe some i do not even remember,but there was a time ,when a surveyors best friend was his calculator and it should be even to day in our ever changing world we live in. Do not depend on one system,Two is always better than one. The Traverse program i showed you in macro RPN,Recalls the stack T,Z,Y,X ,T and Z has the new north and the new east, and Y=N and X=E,  has the occupied point coordinates on it as your answer.

    first i will show you a short Traverse program you can use from one point to the next,I call this one,

    macro (travap) the ap is for "a program " ,

    macro ( travap)  in macro RPN for the Hp prime,These program where wrote by Billy Brooks as of this date of September  , 09-04-2016 .

    macro (travap),,,,,,,,,,,,,,,,,,,,macro (travbp),,,,,,,,,,,,,,

    1."DEG"---------------------------1."DEG"

    2."INPUT"-------------------------2."INPUT"

    3."STO 1"-------------------------3."STO 1"

    4."INPUT"-------------------------4."INPUT"

    5."STO 2"-------------------------5."STO 2"

    6."INPUT"-------------------------6."LBL 1"

    7."INPUT"-------------------------7."RCL 1"

    8."RECT"--------------------------8."RCL 2"

    9."SUM 1"-------------------------9.'INPUT"

    10."SWAP"----------------------10.">D"

    11."SUM 2"----------------------11."INPUT"

    12.'RCL 1 "-----------------------12."RECT"

    13."RCL 2 "----------------------13."SUM 1"

    14."END"-------------------------14."SWAP"

    ---------------------------------------15."SUM 2"

    ---------------------------------------16."RCL 1"

    ---------------------------------------17."RCL 2"

    ---------------------------------------18."PAUSE"

    ---------------------------------------19."GTO 1"

    ---------------------------------------20."RTN"

    ---------------------------------------21."END"

    What is the difference in these two programs ,first one is shorter than the other,but the real difference, travap, will give you the same answer ,but you must re-enter beginning coordinates every time you rerun the program,it will solve from point to point as needed. Program travbp is a continuing program,were you restart from the last coordinates that was solved ,each has it's advantages of what you like to do.Program travbp is more advanced than travap,both have there place . Both of these give Lat. and Dep. in the T and Z Stack as you will always see T,Z,Y,X as your answer,it like having a calculator with a four ( 4 ) line display.So now i have show you how to write your own Inverse and Traverse in this new macro RPN

    on the HP Prime.As you see,the calculator is using two programs at one time to solve these variables.And my macro programs are using simple keystroke programming to do this,while the HP PPL programs are controlling them .And Thanks to Eddie Shore,for helping with this,and to be available to every one. I will continue with more survey programs to come,as we step into the Future and step back into the Past with the Time Machine.

    • Part #2 of the above Reply-----------------------------------------------------------------------------               Hi Everyone , I like to Reply on the above macro programs ,on input,as you can see on the program (travap) ,i left out DMS to DEC. on purpose on the Azimuth input,this is of my on  choosing , on line #6 , I am using Decimals of a Degree input,if you like to input HMS or DMS.then have it converted add this "string"  ,on line #7 ,make it string ">D" , this is Go To >DEC, in this language, in Regular RPN you may have use → hr or HMS→ on the HP 35s ,in macro RPN the key is ">D" ,then your 36°.52'12" ,will change to 36.8699 The macro (travbp) i wrote to include this. Just wanted to make all this clear,so there would be no confusion on entry types.

  • Hi Everyone ,i do not know ,what happen,it was there at one time,next it was gone,but maybe this will fix it.oh! I am talking about using the Shift X key on the key board of the Hp Prime,this is the Angle key.

    I should say this is complex number notation,transforms from rectangular to polar are polar to rectangular in Home Dir.But here is what i wrote.

    Hi Everyone, A little more on the prime,this time not on a program ,but still on a very important subject. This is using the shift X key and what you can do and how to use it.this is the Angle key,on the Times key and also on the Alpha key X. I thought it important to include it on two different discussion ,so it would not be missed ,So here is Using the shift X key.

    Hi Everyone,Using the shift X key, also known as the Times key x or *, also the alpha key X and the key i will be talking about the Angle key, that looks like a Less than sign ,with a arc through it. I have used this symbol, in surveying many years as my angle sign in my notes that i have kept and the first time i think that i saw on a calculator may have been the 48 GX, I think?,or that is what i recall. But here i will talk about using it on the Prime. What can it do , well in Home Dir. you can switch from rectangular to Polar are back with it,this is just one more way, if in Home you type 3+4*i,then ENTER,then shift X and you will see on the left what you ENTER,and on the right,shift X and you will see ,5 Angle 53.1301, then if you shift X again then it will reverse back to 3+4*i . Take care on your Zero lat's and dep's but it will work, now next type 5 shift X, 36.8699, you will have 5 angle 36.8699 , ENTER,this will be on left and right, Now shift X again and you will have 4+3*i ,this is in home.Now if you switch to CAS  Dir. ,you have to use polar_coordinates() ,type in 3,4 in the ( ) ,then ENTER, you will get the polar answer,then for rectangular_coordinates() ,type in 5,53.1301 in the ( ) ,and you will get the rectangular answer. So this is how to use shift X in HOME and P to R and R to P in CAS. But this is complex number notations,in the HP Prime.

    Hope this helps.

    • Hi Everyone, Just a little more on Complex number notation in CAS, DIR.

      First Modulus complex numbers  using abs,notice this is in lower case,

       abs (3+4*i) ,then Enter, | 3+4*i | ,answer 5

      Now argument of complex numbers using arg,notice this is lower case.

       arg (3+4*i) , Enter , answer 53.1301023542 ,

      This is in CAS using complex numbers. Shift X is used in Home DIR.

      Right Triangles ,no problem!

  • Hi Everyone, Many times learning a new language,takes a little time.and some refer to the New HP PPL

    language is new, But not exactly, it was first wrote for the HP 38G as,  HP Basic, But where did it get it's roots,some say Pascal,but are there other languages that might have played a part of it creation .

    I'd suggest looking up some Pascal references on the internet (there are many), or check out the freepascal.org website and look over some of the documentation/tutorials. Admittedly I just downloaded  more files today but my first glance tells me this is closer to Pascal than BASIC or other languages (and I've been through a lot of them). The challenge is always keeping them in sync, and also making sure you don't drag the other languages way behind.Pascal most likely as pointed out. Really, I tried to make it so it would feel pretty universal and if you'd used any programming languages it will make sense just looking at it.One important difference: Pascal is a strongly typed language, PPL is not.
    so in PPL:
    Local i;
    i:=1;
    i:=1.2;
    i:="abc";

    are all legal and ok to do.

    In Pascal:
    var i:int; //defines i as an integer variable
    i:=1; //ok 1 is an integer
    i:=1.1; //error 1.1 is a real number
    i:="abc"; //error "abc" is a string

    so when looking at program examples in Pascal keep this in mind. Strongly typed languages will tend to reduce programming errors, on the other hand you have to do type casts if you need to go from one thing to the other e.g. from a real to an integer, in PPL they are the same thing. It can be useful when writing non trivial programs in a PPL like language to adopt conventions such as appending something like _i to all variables that are supposed to be integers; _r to all variables that are supposed to be real; _s to all variables that are supposed to be stings, then if you find yourself doing something like pi_r:="3.14" than you need to ask yourself why you are assigning a string to something that is supposed to hold a real number.

    For what it's worth, you can obtain the benefit of typed variables in PPL by using the built-in variables (which are strongly typed) instead of creating your own. For example:

    • A through Z can only contain real numbers
    • Z0 through Z9 can only contain complex numbers
    • G0 through G9 can only contain graphics
    • L0 through L9 can only contain lists
    • M0 through M9 can only contain arrays (vectors or matrices)

    So if you really do want strongly typed variables, they are available in PPL .

    They are global variables which entails problems too also the names are not very intuitive, of course in small programs it makes little difference.Overall PPL does look like a highly structured language or can it be, one would never really expected one in a calculator or should you. Pascal most likely as pointed out. Really, I tried to make it so it would feel pretty universal  like I already said,and if you'd used any programming language it will make sense just looking at it. You should have based on C/C++/Java/C#/javascript style syntax then, all of which are very similar syntactically. Pascal is pretty much dead or not, Ah the good old days, I still remember my HP-25 and 67 manuals, those were great masterpieces.As to Pascal being dead, don't tell the FreePascal, Lazarus and Delphi communities where programs can and are being written in Pascal...Long live Pascal. I wish PPL had more features from it, pointers would be nice, not to mention stack manipulation commands...and some good documentation too the full PDF manual seems to leave a lot out.But where ever it came from,I think it is here to stay and how strange is it comparing a Computer language to one you are using in your Calculator.You can tell we are in the Future of what calculator are becoming.And now we are exploring a new macro RPN,so you see, how something that was good in the past is now finding it's way back into the Future.So long live RPN and things to come from it. I hope HP has it in their plans to continue with their line of RPN Calculators.

    So ,here i will write two simple Traverse programs,one in RPN,for HP 32s or HP 33s also and the other one in macro RPN for the HP Prime. You compare.

    ,,,,,,,,,,,,,HP 32s,,,,,,,,,,,,,,,,,,,HP Prime

    program T,,,,,,,,,,,,,,,,,,,,,,,,,,,,,macro (trav)

    1.LBL T,,,,,,,,,,,,,,,,,,,,,,,,,,1."INPUT",,,,,,,,,N1

    2.INPUT N,,,,,,,,,,,,,,,,,,,,,,2."STO 1",,,,,,,,,N

    3.INPUT E,,,,,,,,,,,,,,,,,,,,,,3."INPUT,,,,,,,,,,E1

    4.INPUT A,,,,,,,,,,,,,,,,,,,,,,4."STO 2",,,,,,,,,E

    5.INPUT D,,,,,,,,,,,,,,,,,,,,,,5."INPUT",,,,,,,,,BEAR.

    6.RCL A,,,,,,,,,,,,,,,,,,,,,,,,,6."INPUT",,,,,,,,DIST.

    7. →HR,,,,,,,,,,,,,,,,,,,,,,,,,,7."RECT",,,,,,,,

    8.RCL  D,,,,,,,,,,,,,,,,,,,,,,,,8."RCL 1,,,,,,,,

    9.Θ,r→y,x,,,,,,,,,,,,,,,,,,,,,,,9."+",,,,,,,,,,,,,

    10.RCL+N,,,,,,,,,,,,,,,,,,,,,,10."SWAP",,,,,

    11.STO N,,,,,,,,,,,,,,,,,,,,,,,11."RCL 2",,,,,,,,,,,,,,,,,,,,,,***STACK***,,,example,,

    12.X<>Y,,,,,,,,,,,,,,,,,,,,,,,,,12.  "+",,,,,,,,,,,,,,,,,,,,,,,,,,T: 5000,,,,Traversed

    13.RCL+E,,,,,,,,,,,,,,,,,,,,,,13."RCL 1",,,,,,,NEW N,,,Z:5208.71

    14.STO E,,,,,,,,,,,,,,,,,,,,,,,14."RCL 2",,,,,,,NEW E,,,Y:5000,,,occupied

    15.RCL N,,,,,,,,,,,,,,,,,,,,,,,,15."END",,,,,,,,,,,,,,,,,,,,,,,X:5000

    16.STOP

    17.RCL E

    18. STOP

    19.GTO T

    20.RTN

    You can also use  on line 15. VIEW N ,and line 16. VIEW E ,then 17. GTO T001 and 18.RTN.

    some may like using VIEW better as it shows N= and E = .

    The 32s Program does not use recall N or E to a final stack,instead R/S displays the New North and the New East.

    This is using Azimuth entry on both programs in that they are equal,however the macro program uses recall in RCL 1 and RCL 2 to the final stack,this could not be done in both program if desired ,but simple

    RCL N and RCL E with R/S as shown. But these two are as simple as it gets in a traverse program wrote in RPN.

    The HP PPL Program is in control the macro RPN , it is using two languages at one time to evaluate the answer ,that has been computed. This is mostly only be done on a computer not a calculator ,

    so how cool is that.

This reply was deleted.