EasyManua.ls Logo

HP HP-28S - UP (Move to a Parent Directory)

HP HP-28S
341 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Other manuals for HP HP-28S

Related product manuals