Download  Print this page

Advertisement

Chapter 9
Lists and Sequences

Creating Lists

To enter a list from the keyboard
 3UHVV  7KH EUDFHV LQGLFDWH WKH EHJLQQLQJ DQG HQG RI D OLVW
 (QWHU WKH HOHPHQWV RI WKH OLVW VHSDUDWLQJ HDFK ZLWK D FRPPD >I 
 3UHVV \
1RWH WKDW WKH OLVW LV GLVSOD\HG ZLWKRXW FRPPDV
To assemble a list from a set of stack objects
,I \RX DUH ZRUNLQJ LQ 531 PRGH \RX FDQ DVVHPEOH D OLVW IURP D
FRQWLJXRXV VHW RI REMHFWV DOUHDG\ RQ WKH VWDFN
 (QWHU WKH REMHFWV RQ WKH VWDFN RU SODFH WKHP DW WKH ERWWRP RI WKH
VWDFN OHYHO  OHYHO  DQG VR RQ 
 (QWHU WKH QXPEHU RI REMHFWV \RX ZDQW LQ WKH OLVW RQ WKH ILUVW OHYHO RI WKH
VWDFN
 ([HFXWH WKH →
7KH
FRPPDQG FDQ EH H[HFXWHG E\ SUHVVLQJ <N
UP GDTU
To append a new object to the beginning of a list
 (QWHU RU VHOHFW WKH QHZ REMHFW
 3UHVV =
 (QWHU RU VHOHFW WKH OLVW
 3UHVV \
,Q 531 PRGH IROORZ VWHSV   DQG 
Lists and Sequences
FRPPDQG WR FRQYHUW WKH REMHFWV WR D OLVW
GDTU

GDTU
GDTU
Page 9-1

Advertisement

   Also See for HP 49G

   Related Manuals for HP 49G

Comments to this Manuals

Symbols: 0
Latest comments: