/usr/share/doc/nip2/html/nipguidese24.html is in nip2 7.38.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title>Syntax</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<!-- 3,html -->
<meta name="src" content="nipguide.tex">
<meta name="date" content="2014-01-18 12:46:00">
<link rel="stylesheet" type="text/css" href="nipguide.css">
</head><body
>
<!--l. 50--><div class="crosslinks"><p class="noindent">[<a
href="nipguidese25.html" >next</a>] [<a
href="nipguidese23.html" >prev</a>] [<a
href="nipguidese23.html#tailnipguidese23.html" >prev-tail</a>] [<a
href="#tailnipguidese24.html">tail</a>] [<a
href="nipguidech6.html#nipguidese24.html" >up</a>] </p></div>
<h3 class="sectionHead"><span class="titlemark">6.3 </span> <a
id="x34-600006.3"></a>Syntax</h3>
<!--l. 52--><p class="noindent" >The most basic sort of definition looks like this:
<div class="verbatim" id="verbatim-20">
// very simple!
 <br />fred = 12
</div>
<!--l. 57--><p class="nopar" >
<!--l. 59--><p class="noindent" >This defines a function called <span
class="phvr7t-x-x-80">fred </span>whose value is the
number 12. The <span
class="phvr7t-x-x-80">// </span>marks a comment: everything to the end
of the line is skipped. Case is distinguished, so <span
class="phvr7t-x-x-80">Fred </span>and
<span
class="phvr7t-x-x-80">fred </span>are two different functions. You can use letters,
numbers, underscores and single quotes in function
names.
<!--l. 65--><p class="indent" > You can have patterns on the left of the equals sign. For
example:
<div class="verbatim" id="verbatim-21">
[fred, petra] = [12, 13]
</div>
<!--l. 69--><p class="nopar" >
<!--l. 71--><p class="noindent" >defines <span
class="phvr7t-x-x-80">fred </span>to have the value 12 and <span
class="phvr7t-x-x-80">petra </span>to have the value
13. See <span
class="cmsy-10">§</span><a
href="nipguidese30.html#x41-730006.9">6.9<!--tex4ht:ref: sec:pattern --></a> for details.
<!--l. 75--><p class="indent" > Functions may take parameters:
<div class="verbatim" id="verbatim-22">
/⋆ A function with parameters.
 <br /> ⋆/
 <br />jim a b = a + b + 12
</div>
<!--l. 81--><p class="nopar" >
<!--l. 83--><p class="noindent" >This defines a function called <span
class="phvr7t-x-x-80">jim </span>which takes two parameters
and whose value is the sum of the two parameters, plus 12.
The <span
class="phvr7t-x-x-80">/* </span>and <span
class="phvr7t-x-x-80">*/ </span>enclose a multi-line comment.
<!--l. 88--><p class="indent" > Functions may have several right-hand-sides, each
right-hand-side qualified by a guard expression. Guards are
tested from top to bottom and the first guard which has the
value <span
class="phvr7t-x-x-80">true </span>causes the function to have the value of that
right-hand-side. If no guard evaluates to <span
class="phvr7t-x-x-80">true</span>, then the last
right-hand-side is used.
<div class="verbatim" id="verbatim-23">
jenny a b
 <br />  = 42, a + b >= 100
 <br />  = 43, a + b >= 50
 <br />  = 44
</div>
<!--l. 99--><p class="nopar" >
<!--l. 101--><p class="noindent" >This defines a function called <span
class="phvr7t-x-x-80">jenny </span>which takes two
parameters and whose value is 42 if the sum of the
parameters is 100 or greater; 43 if the sum is greater than or
equal to 50 but less than 100; and 44 if the sum is less than
50.
<!--l. 107--><p class="indent" > Any function may be followed by any number of local
functions, enclosed in curly braces. So <span
class="phvr7t-x-x-80">jenny </span>could be
written as:
<div class="verbatim" id="verbatim-24">
jenny a b
 <br />  = 42, sum >= 100
 <br />  = 43, sum >= 50
 <br />  = 44
 <br />{
 <br />  sum = a + b;
 <br />}
</div>
<!--l. 118--><p class="nopar" >
<!--l. 120--><p class="noindent" >Note that you need a semi-colon after each local function. A
local function may refer to anything in an enclosing scope,
including itself.
<!--l. 124--><p class="indent" > You can write <span
class="phvr7t-x-x-80">if-then-else </span>expressions:
<div class="verbatim" id="verbatim-25">
david a = if a < 12 then "my cat"
 <br />  else "likes lasagne"
</div>
<!--l. 129--><p class="nopar" >
<!--l. 131--><p class="noindent" >This is exactly equivalent to:
<div class="verbatim" id="verbatim-26">
david a
 <br />  = "my cat", a < 12
 <br />  = "likes lasagne"
</div>
<!--l. 138--><p class="nopar" >
<!--l. 140--><p class="noindent" ><span
class="phvr7t-x-x-80">if-then-else </span>expressions are sometimes easier to read than
guards.
<!--l. 143--><p class="indent" > Functions application is with spaces (juxtaposition). For
example:
<div class="verbatim" id="verbatim-27">
harry = jim 2 3
</div>
<!--l. 147--><p class="nopar" >
<!--l. 149--><p class="noindent" >defines <span
class="phvr7t-x-x-80">harry </span>to have the value 17.
<!--l. 152--><p class="indent" > All functions are curried, that is, they can accept their
arguments in stages. For example:
<div class="verbatim" id="verbatim-28">
sandro = jim 1
</div>
<!--l. 157--><p class="nopar" >
<!--l. 159--><p class="noindent" >defines <span
class="phvr7t-x-x-80">sandro</span>, a function which takes one parameter and
will add 13 to it. This trick becomes very useful with list
processing, see <span
class="cmsy-10">§</span><a
href="nipguidese28.html#x39-710006.7">6.7<!--tex4ht:ref: sec:lists --></a>.
<!--l. 163--><p class="indent" > <span
class="phvr7t-x-x-80">nip2 </span>has some built-in functions, see Table <a
href="#x34-600011">6.1<!--tex4ht:ref: tb:builtin --></a>. They
mostly take a single argument. All other functions are
defined in the various standard toolkits and can be edited in
the program window.
<!--l. 168--><p class="indent" > <a
id="x34-600011"></a><hr class="float"><div class="float"
>
<div class="center"
>
<!--l. 168--><p class="noindent" >
<div class="tabular"> <table id="TBL-3" class="tabular"
cellspacing="0" cellpadding="0" rules="groups"
><colgroup id="TBL-3-1g"><col
id="TBL-3-1"></colgroup><colgroup id="TBL-3-2g"><col
id="TBL-3-2"></colgroup><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-1-1"
class="td11">Function </td><td style="white-space:nowrap; text-align:left;" id="TBL-3-1-2"
class="td11">Description </td>
</tr><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-2-1"
class="td11"><span
class="phvr7t-x-x-80">dir </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-2-2"
class="td11">List names in scope </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-1"
class="td11"><span
class="phvr7t-x-x-80">has</span><span
class="phvr7t-x-x-80">_member </span><span
class="ptmri7t-">[char] any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-3-2"
class="td11">Does class have member </td>
</tr><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-1"
class="td11"><span
class="phvr7t-x-x-80">name2gtype </span><span
class="ptmri7t-">[char] </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-4-2"
class="td11">Search for a GType by name </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-5-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-1"
class="td11"><span
class="phvr7t-x-x-80">gtype2name </span><span
class="ptmri7t-">real </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-5-2"
class="td11">Return the name of a GType </td>
</tr><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-6-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-1"
class="td11"><span
class="phvr7t-x-x-80">error </span><span
class="ptmri7t-">[char] </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-6-2"
class="td11">Stop with error message </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-7-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-1"
class="td11"><span
class="phvr7t-x-x-80">print </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-7-2"
class="td11">Convert to string </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-8-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-1"
class="td11"><span
class="phvr7t-x-x-80">expand </span><span
class="ptmri7t-">[char] </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-8-2"
class="td11">Expand environment variables in string </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-9-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-1"
class="td11"><span
class="phvr7t-x-x-80">search </span><span
class="ptmri7t-">[char] </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-9-2"
class="td11">Search for a file </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-10-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-1"
class="td11"><span
class="phvr7t-x-x-80">_ </span><span
class="ptmri7t-">[char] </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-10-2"
class="td11">Translate string </td>
</tr><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-11-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-1"
class="td11"><span
class="phvr7t-x-x-80">is</span><span
class="phvr7t-x-x-80">_image </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-11-2"
class="td11">Test for image </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-12-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-12-1"
class="td11"><span
class="phvr7t-x-x-80">is</span><span
class="phvr7t-x-x-80">_bool </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-12-2"
class="td11">Test for boolean </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-13-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-13-1"
class="td11"><span
class="phvr7t-x-x-80">is</span><span
class="phvr7t-x-x-80">_real </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-13-2"
class="td11">Test for real </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-14-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-14-1"
class="td11"><span
class="phvr7t-x-x-80">is</span><span
class="phvr7t-x-x-80">_class </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-14-2"
class="td11">Test for class </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-15-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-15-1"
class="td11"><span
class="phvr7t-x-x-80">is</span><span
class="phvr7t-x-x-80">_char </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-15-2"
class="td11">Test for char </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-16-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-16-1"
class="td11"><span
class="phvr7t-x-x-80">is</span><span
class="phvr7t-x-x-80">_list </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-16-2"
class="td11">Test for list </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-17-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-17-1"
class="td11"><span
class="phvr7t-x-x-80">is</span><span
class="phvr7t-x-x-80">_complex </span><span
class="ptmri7t-">any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-17-2"
class="td11">Test for complex </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-18-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-18-1"
class="td11"><span
class="phvr7t-x-x-80">is</span><span
class="phvr7t-x-x-80">_instanceof </span><span
class="ptmri7t-">[char] any </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-18-2"
class="td11">Test for instance of class </td>
</tr><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-19-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-19-1"
class="td11"><span
class="phvr7t-x-x-80">re </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">complex</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-19-2"
class="td11">Extract real part of complex </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-20-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-20-1"
class="td11"><span
class="phvr7t-x-x-80">im </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">complex</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-20-2"
class="td11">Extract imaginary part of complex </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-21-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-21-1"
class="td11"><span
class="phvr7t-x-x-80">hd </span><span
class="ptmri7t-">list </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-21-2"
class="td11">Extract head of list </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-22-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-22-1"
class="td11"><span
class="phvr7t-x-x-80">tl </span><span
class="ptmri7t-">list </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-22-2"
class="td11">Extract tail of list </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-23-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-23-1"
class="td11"><span
class="phvr7t-x-x-80">sin </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-23-2"
class="td11">Sine </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-24-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-24-1"
class="td11"><span
class="phvr7t-x-x-80">cos </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-24-2"
class="td11">Cosine </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-25-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-25-1"
class="td11"><span
class="phvr7t-x-x-80">tan </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-25-2"
class="td11">Tangent </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-26-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-26-1"
class="td11"><span
class="phvr7t-x-x-80">asin </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-26-2"
class="td11">Arc sine </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-27-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-27-1"
class="td11"><span
class="phvr7t-x-x-80">acos </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-27-2"
class="td11">Arc cosine </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-28-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-28-1"
class="td11"><span
class="phvr7t-x-x-80">atan </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-28-2"
class="td11">Arc tangent </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-29-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-29-1"
class="td11"><span
class="phvr7t-x-x-80">log </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-29-2"
class="td11">Natural log </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-30-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-30-1"
class="td11"><span
class="phvr7t-x-x-80">log10 </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-30-2"
class="td11">Base 10 log </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-31-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-31-1"
class="td11"><span
class="phvr7t-x-x-80">exp </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-31-2"
class="td11">e to the power </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-32-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-32-1"
class="td11"><span
class="phvr7t-x-x-80">exp10 </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class</span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-32-2"
class="td11">10 to the power </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-33-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-33-1"
class="td11"><span
class="phvr7t-x-x-80">ceil </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-33-2"
class="td11">Round up </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-34-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-34-1"
class="td11"><span
class="phvr7t-x-x-80">floor </span><span
class="ptmri7t-">image</span>/<span
class="ptmri7t-">number</span>/<span
class="ptmri7t-">class </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-34-2"
class="td11">Round down </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-35-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-35-1"
class="td11"><span
class="phvr7t-x-x-80">gammq </span><span
class="ptmri7t-">real real </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-35-2"
class="td11">Normalised incomplete Gamma function</td>
</tr><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-36-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-36-1"
class="td11"><span
class="phvr7t-x-x-80">vips</span><span
class="phvr7t-x-x-80">_image </span><span
class="ptmri7t-">[char] </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-36-2"
class="td11">Load image from file </td>
</tr><tr
style="vertical-align:baseline;" id="TBL-3-37-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-37-1"
class="td11"><span
class="phvr7t-x-x-80">read </span><span
class="ptmri7t-">[char] </span></td><td style="white-space:nowrap; text-align:left;" id="TBL-3-37-2"
class="td11">Load file as a string </td>
</tr><tr
class="hline"><td><hr></td><td><hr></td></tr><tr
style="vertical-align:baseline;" id="TBL-3-38-"><td style="white-space:nowrap; text-align:left;" id="TBL-3-38-1"
class="td11"> </td></tr></table></div></div>
<br /><div class="caption"
><span class="id">Table 6.1: </span><span
class="content"><span
class="phvr7t-x-x-80">nip2 </span>built in functions</span></div><!--tex4ht:label?: x34-600011 -->
<!--l. 236--><p class="noindent" ><a name="nip_label_tb:builtin"></a>
</div><hr class="endfloat" />
<!--l. 239--><div class="crosslinks"><p class="noindent">[<a
href="nipguidese25.html" >next</a>] [<a
href="nipguidese23.html" >prev</a>] [<a
href="nipguidese23.html#tailnipguidese23.html" >prev-tail</a>] [<a
href="nipguidese24.html" >front</a>] [<a
href="nipguidech6.html#nipguidese24.html" >up</a>] </p></div>
<!--l. 239--><p class="indent" > <a
id="tailnipguidese24.html"></a>
</body></html>
|