Search results
From NARS2000
Jump to navigationJump to search
- | Diagnostic Message set to last error message the APL interpreter encountered.}} ...interpreter sets its value when it encounters an error, e.g. <apll>DOMAIN ERROR</apll>.}}1 KB (187 words) - 18:05, 16 April 2018
- <h1>{quad}ELX - Error Latent Expression</h1> | Set action to take on error}}974 bytes (158 words) - 23:11, 11 February 2015
- <h1><aplxx>⎕EM</aplxx> - Error Message</h1> |Return the value of the current error message|}}924 bytes (138 words) - 16:20, 16 April 2018
- ''Example 1 - NARS2000 User APL Function'': '''FileSize''' Uses System Functions/Variables: '''⎕NTIE ⎕NSIZE ⎕NUNTIE ⎕ELX''' <br> ⎕ELX←"→ErrFileSiz" ⍝On error(e.g. file not found), goto ErrFileSiz line <br>2 KB (217 words) - 16:54, 26 January 2015
- <h1>Quad ES - Event Simulate - '''⎕ES''' System Function</h1> ...(⎕EM) or Event Type(⎕ET)] - for debugging, user alerts, detailed at-length error messaging purposes.4 KB (541 words) - 23:28, 20 February 2015
- ==Dyadic Function== ...guments. The left string(L) is executed when the interpreter encounters an error executing the right argument(R).2 KB (316 words) - 23:20, 11 February 2015
- == Chapter 6: "Writing a Function" == == Chapter 14: "Error Handling" ==2 KB (285 words) - 05:40, 5 February 2015
- <h1> {del} — Edit User Function — Keystroke ALT+G — Character 8711 or x2211</h1> ...on, it is not actually used in the header or the body of the function. The system command )EDIT may be used interchangeably with {del}.3 KB (570 words) - 17:58, 24 November 2014
- ...o arguments has no effect; to erase everything in the workspace, use the [[System Command Clear|)CLEAR]] command to start a fresh, clear workspace. function function21 KB (160 words) - 20:22, 13 October 2019
- <apll>⎕SI</apll> is a niladic system function which returns a character matrix of the functions and their line numbers cu SYNTAX ERROR2 KB (264 words) - 16:05, 16 April 2018
- ==Monadic Function== 0 = Error<br>3 KB (489 words) - 00:15, 13 December 2017
- ...cessing was suspended/halted/a break occurred - and is where you or an APL system programmer needs to most closely scrutinize or debug the APL coding. ...s a reminder of where you the APL programmer or an APL user encountered an error. )SI is saved when the workspace is )SAVE'd and is available for the next1 KB (208 words) - 20:35, 13 October 2019
- ...e may be assigned to a quad variable. A value cannot be assigned to a quad function.</noinclude> ! colspan="2" | [[System Functions|Niladic System Functions]]3 KB (392 words) - 02:02, 5 November 2023
- ...e may be assigned to a quad variable. A value cannot be assigned to a quad function.</noinclude> ! colspan="2" | [[Scalar System Variables|System Variables]]916 bytes (125 words) - 16:38, 28 April 2018
- ...as to distinguish them from normal labels. The following table lists the system labels defined so far and the special context in which they are used.</p> <td>is called when an inverse function is needed as in <apll>foo⍣¯1 R</apll>.</td>5 KB (651 words) - 00:53, 19 September 2022
- || <apll>⎕LX←'START'</apll> || Have the workspace execute function START when it is loaded via )LOAD or the '''<u>F</u>ile, <u>O</u>pen''' men | valign="top" |<apll>⎕LX←''</apll> || Do not have any function execute when the workspace is loaded (null string, this is the default).4 KB (718 words) - 18:09, 15 July 2015
- <h1>Quad FX - FIX or Function eXecute - '''⎕FX''' System Function</h1> ==Monadic Function==4 KB (609 words) - 20:55, 3 June 2017
- ...vector whose elements each control a separate experimental Feature of the system.}} ...←⍬</apll> || sets all of the values of the Feature Control vector to their system default state.5 KB (649 words) - 20:40, 12 January 2023
- ...rs in APL, and is not necessarily the most efficient way to implement this function.<br/> ...p; ⎕vr 'roman' {lamp} System function to list the contents of a function<br/>4 KB (524 words) - 12:12, 18 March 2013
- * [[Error codes]] * [[System Commands]] - also known as hook commands, these commands begin with <apll>)4 KB (507 words) - 12:05, 2 October 2022
- ...apll>, etc, are arbitrary functions of any type: primitive, user-defined, system, anonymous, and/or derived.</td> ...above descriptions. Very nicely, they fit into and extend the spectrum of function definition syntax from user-defined to dynamic to trains to operator expres3 KB (467 words) - 19:32, 15 April 2018
- ...apll> is a numeric scalar, vector or matrix; otherwise signal a <apll>RANK ERROR</apll>.</td> <p>For variations on this function, see the [[Variant#Eigenvalues_and_Eigenvectors|Variant Operator]].</p>5 KB (755 words) - 14:58, 8 October 2023
- ...for a dyadic or ambivalent function or for a dyadic or ambivalent derived function from an operator/hyperator.<br /> ...lt is all <apll>0</apll>. All times are in UTC and represent the time the function was last modified.8 KB (1,209 words) - 14:42, 19 March 2019
- ...ach name) or anappropriate length vector argument. Upon invocation of the function/operator/hyperator, these values are assigned one item per name.</p> <p>For example, a function whose header looks like</p>15 KB (2,394 words) - 19:34, 3 April 2019
- ...tended APL Standard in that they replace error-producing behavior with non-error-producing behavior. Note that Extended APL Standard wants you to know that ...tor dieresis-jot]] (<apll><i>f</i>⍤[X] Y</apll>) (rank) is used to apply a function to (monadic) or between (dyadic) cells of the argument(s).17 KB (2,547 words) - 21:20, 13 October 2019
- ...s a model example for '''returning a nested vector to APL''' from a System Function call. Remember per your technical knowledge of APL: '''[[System_Function_E ...ector result''' of the call to <'''qf_ec.c'''>, specifically, from monadic function '''SysFnMonEC_EM_YY'''. '''lpYYRes''' also contains a pointer to an object10 KB (1,408 words) - 16:30, 21 August 2015
- ...vg←{(+⌿⍵)÷≢⍵}</apll>, and named or unnamed may be used in place of any APL function (primitive, operator operand, hyperator hyperand, derived, train, user-defi == Function Arguments ==21 KB (2,816 words) - 19:06, 10 September 2022
- SysVarValid:5, // 000F8000: Index to validation routine for System Vars (see SYS_VARS) UsrDfn:1, // 00100000: User-defined function/operator/hyperator13 KB (1,507 words) - 22:55, 13 October 2019
- <big>'''NARS2000 Creating New Quad System Functions'''</big> ...The basic premise is that '''you''' have an idea for a '''new Quad system function''' command for APL/NARS and wish to implement it, add it to NARS functional30 KB (4,513 words) - 21:24, 13 October 2019
- This function is available in both ''monadic'' and ''dyadic'' forms. ==Monadic Function==13 KB (1,798 words) - 20:07, 18 February 2024
- ...> is the [https://en.wikipedia.org/wiki/Riemann_zeta_function Riemann Zeta function].</td> The number to the left of the <apll><_b/></apll> is the base of the number system for the characters to the right of the <apll><pn>b</pn></apll>. The base m18 KB (2,863 words) - 15:52, 10 September 2022
- ...mdash; <apll>¯128</apll> to <apll>127</apll>); if not, then a <apll>DOMAIN ERROR</apll> is signalled.</p> ...nnot be truncated at the high end without losing data, then a <apll>DOMAIN ERROR</apll> is signalled. For example, if the data in <apll>L</apll> is charact27 KB (4,190 words) - 21:31, 30 January 2024
- This statement exits the current function and is equivalent to <apll>→0</apll>. ...apll>:select</apll> statement's expression. The comparison uses the Match function (≡), so it takes into account rank and shape at every level.18 KB (2,759 words) - 00:24, 16 March 2024
- To demonstrate with an extreme example, consider the following function: ...Contract''', and separated into its constituent parts with a new primitive function '''Distract'''.29 KB (4,040 words) - 08:03, 19 August 2022