File: array_002dhas_002dfill_002dpointer_002dp.html

package info (click to toggle)
gcl 2.6.14-21
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 60,864 kB
  • sloc: ansic: 177,407; lisp: 151,509; asm: 128,169; sh: 22,510; cpp: 11,923; tcl: 3,181; perl: 2,930; makefile: 2,360; sed: 334; yacc: 226; lex: 95; awk: 30; fortran: 24; csh: 23
file content (91 lines) | stat: -rw-r--r-- 3,769 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>array-has-fill-pointer-p (ANSI and GNU Common Lisp Document)</title>

<meta name="description" content="array-has-fill-pointer-p (ANSI and GNU Common Lisp Document)">
<meta name="keywords" content="array-has-fill-pointer-p (ANSI and GNU Common Lisp Document)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="index.html" rel="start" title="Top">
<link href="Arrays-Dictionary.html" rel="up" title="Arrays Dictionary">
<link href="array_002ddisplacement.html" rel="next" title="array-displacement">
<link href="array_002delement_002dtype.html" rel="prev" title="array-element-type">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en">
<span id="array_002dhas_002dfill_002dpointer_002dp"></span><div class="header">
<p>
Next: <a href="array_002ddisplacement.html" accesskey="n" rel="next">array-displacement</a>, Previous: <a href="array_002delement_002dtype.html" accesskey="p" rel="prev">array-element-type</a>, Up: <a href="Arrays-Dictionary.html" accesskey="u" rel="up">Arrays Dictionary</a> &nbsp; </p>
</div>
<hr>
<span id="array_002dhas_002dfill_002dpointer_002dp-_005bFunction_005d"></span><h4 class="subsection">15.2.14 array-has-fill-pointer-p                                         [Function]</h4>

<p><code>array-has-fill-pointer-p</code>  <i>array</i> &rArr;  <i>generalized-boolean</i>
</p>
<span id="Arguments-and-Values_003a_003a-326"></span><h4 class="subsubheading">Arguments and Values::</h4>

<p><i>array</i>&mdash;an <i>array</i>.
</p>
<p><i>generalized-boolean</i>&mdash;a <i>generalized boolean</i>.
</p>
<span id="Description_003a_003a-433"></span><h4 class="subsubheading">Description::</h4>

<p>Returns <i>true</i> if <i>array</i> has a <i>fill pointer</i>;
otherwise returns <i>false</i>.
</p>
<span id="Examples_003a_003a-310"></span><h4 class="subsubheading">Examples::</h4>

<div class="example">
<pre class="example"> (array-has-fill-pointer-p (make-array 4)) &rArr;  <i>implementation-dependent</i>
 (array-has-fill-pointer-p (make-array '(2 3))) &rArr;  <i>false</i>
 (array-has-fill-pointer-p
   (make-array 8 
               :fill-pointer 2 
               :initial-element 'filler)) &rArr;  <i>true</i>
</pre></div>

<span id="Exceptional-Situations_003a_003a-142"></span><h4 class="subsubheading">Exceptional Situations::</h4>

<p>Should signal an error of <i>type</i> <b>type-error</b> if its argument is not an <i>array</i>.
</p>
<span id="See-Also_003a_003a-354"></span><h4 class="subsubheading">See Also::</h4>

<p><a href="make_002darray.html">make-array</a>
, 
<a href="fill_002dpointer.html">fill-pointer</a>
</p>
<span id="Notes_003a_003a-235"></span><h4 class="subsubheading">Notes::</h4>

<p>Since <i>arrays</i> of <i>rank</i> other than one cannot have a <i>fill pointer</i>,
<b>array-has-fill-pointer-p</b> always returns <b>nil</b> when its argument
is such an array.
</p>



</body>
</html>