Download  Print this page

Up (move To A Parent Directory) - HP -28S Manual

Advanced scientific calculator.
Hide thumbs

Advertisement

UP (Move to a Parent Directory)
Create a menu that contains the names of the parent directory, its
parent directory, and so on, back to the HOME directory.
Arguments
Results
1 :
1 :
Techniques:
• List of parent directories. UP uses PATH to return the names of the
current directory and all parent directories.
• Subset of a list. UP uses SUB to remove the name of the current
directory from the PATH list.
• Custom menu. UP uses MENU to create a custom menu of parent
directories from the modified PATH list.
Program
PATH
1
OVEI': ::; I ZE 1 -
:3UB
MEtW
I
ENTER
I
c:::J
UP
I
STO
I
Comments
Begin the program.
Put the path list on the stack.
Put 1 on the stack.
Put
size -
1 on the stack.
Create a subset of the PATH list
that includes all names but the
last name (the current directory).
Create a menu of parent
directories.
End the program.
Put the program on the stack.
Store the program as UP.
276
28: Programming Examples

Advertisement

Table of Contents

   Also See for HP HP-28S

   Related Manuals for HP HP-28S

Comments to this Manuals

Symbols: 0
Latest comments: