Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better explanation and links for err and // +minor fix
  • Loading branch information
lichtkind committed Apr 22, 2012
1 parent a8732d2 commit 85c9ec0
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions docs/appendix-a-index.txt
Expand Up @@ -250,7 +250,9 @@ quantifier for zero or more findings
<a id="double-asterisk-op"/>
**\*\***
*[«numeric op»](tablet-4-operators.html#numeric-context)* &mdash;
raises a number to a power, forces numeric context
raises a number to a power, forces numeric context &mdash;
example: `2 ** 3` is 8 because its `2 * 2 * 2` &mdash;
alias to **[exp](#exp)**

<a id="double-asterisk-metachar"/>
**\*\***
Expand Down Expand Up @@ -395,7 +397,7 @@ rational number \([immutable type](appendix-b-grouped.html#immutable-types)
last created match object of this
*[block](appendix-g-glossary.html#block)*

<a id="double-slash-op"/>
<a id="double-slash-op"/><a id="high-err"/>
**//**
*[«logical op»](tablet-4-operators.html#logical-selection)* &mdash;
short circuit *defined or*, returns the first defined value
Expand Down Expand Up @@ -431,7 +433,7 @@ example: *`$pair = :key('value')`*
start of all test methods
(r w x o R W X O e z s f d l p S b c t u g k T B M A C)
in the adverbial form &mdash;
example: *`$filename.IO ~~ :X`*
example: `$filename.IO ~~ :X`

<a id="colon-twigil"/>
**:**
Expand Down Expand Up @@ -1796,7 +1798,7 @@ contrast with static **[=](#triple-equal)**
**err** *[«logical op»](tablet-4-operators.html#logical-selection)* &mdash;
short circuit defined or, returns the first defined value from
the left, short circuit or,low precedence version of
**[//](#high-err)**
**[//](#double-slash-op)**

<a id="ERR-global-var"/>
**\$\*ERR**
Expand Down Expand Up @@ -1866,10 +1868,9 @@ stops all program execution, and returns
Int $status (first parameter) to the calling environment

<a id="exp"/><a id="exp-op"/>
**exp** &mdash;
exponentiate, alias method to: $base (first parameter)
**[\*\*](#double-asterisk-op)** $exponent (second
parameter - defaults to e - the euler constant)
**exp**(Num $base, Num $exp? --> Num) &mdash;
exponentiate, alias method to: $base **[\*\*](#double-asterisk-op)** $exp
(defaults to e - the euler constant)

<a id="export"/><a id="export-rouine-trait"/>
**export**
Expand Down Expand Up @@ -2312,10 +2313,12 @@ file handle for thestandard input (command line mostly), see also
*[«special var»](appendix-b-grouped.html#global-variables)* &mdash;
include pathes (but not for standard library modules), is @INC in P5

<a id="index"/>
**index** *(string method)* &mdash;
finds the first occurrence of a substring in a string
and returns the numerical position, opposite or **[rindex](#rindex)**

<a id="Inf/>
**Inf** &mdash;
indicates infinity, useful to generate infinite lazy
lists, does in most context same as **[\*](#asterisk)**
Expand Down

0 comments on commit 85c9ec0

Please sign in to comment.