mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
Release calc version 2.12.0
This commit is contained in:
18
help/pop
18
help/pop
@@ -15,25 +15,25 @@ DESCRIPTION
|
||||
This function is equivalent to calling delete(lst, 0).
|
||||
|
||||
EXAMPLE
|
||||
> lst = list(2,"three")
|
||||
; lst = list(2,"three")
|
||||
|
||||
list (2 elements, 2 nonzero):
|
||||
[[0]] = 2
|
||||
[[1]] = "three"
|
||||
|
||||
> pop(lst)
|
||||
; pop(lst)
|
||||
2
|
||||
> print lst
|
||||
; print lst
|
||||
|
||||
list (1 elements, 1 nonzero):
|
||||
[[0]] = "three"
|
||||
|
||||
> pop(lst)
|
||||
; pop(lst)
|
||||
"three"
|
||||
> print lst
|
||||
; print lst
|
||||
list (0 elements, 0 nonzero)
|
||||
> pop(lst)
|
||||
> print lst
|
||||
; pop(lst)
|
||||
; print lst
|
||||
list (0 elements, 0 nonzero)
|
||||
|
||||
LIMITS
|
||||
@@ -61,8 +61,8 @@ SEE ALSO
|
||||
## received a copy with calc; if not, write to Free Software Foundation, Inc.
|
||||
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
##
|
||||
## @(#) $Revision: 29.2 $
|
||||
## @(#) $Id: pop,v 29.2 2000/06/07 14:02:33 chongo Exp $
|
||||
## @(#) $Revision: 29.3 $
|
||||
## @(#) $Id: pop,v 29.3 2006/05/07 07:25:46 chongo Exp $
|
||||
## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/pop,v $
|
||||
##
|
||||
## Under source code control: 1994/03/19 03:13:20
|
||||
|
Reference in New Issue
Block a user