Editing
Special Symbols
From NARS2000
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Some symbols used by APL or NARS2000 are not operators, but they do have other uses in APL or NARS2000. They are used for user identifiers, magic functions, or are set aside for future use as APL operators which are not yet implemented. ==User Identifiers== Some symbols are available as identifiers (names of functions or variables) instead of as APL operators. These symbols may be used to begin an identifier or some may only be used as the second or subsequent character of an identifier. ===First Character=== The following are allowable as the first character of the name of a variable or user function: * Lower case a through z * Upper case A through Z * Underbar (or ''underline'') <big><big>{underbar}</big></big> * Alpha <big><big>{alpha}</big></big> * Delta <big><big>{delta}</big></big> * Delta Underbar <big><big>{deltaunderbar}</big></big> * Omega <big><big>{omega}</big></big> * While the underlined capital letters <big><big><u>A</u></big></big> through <big><big><u>Z</u></big></big> are available as identifiers, you cannot enter them as NARS2000 does not support entry of underlined letters at this time. You would have to save your workspace then edit the workspace file with a text editor, substituting the characters in the identifier with the names of those letters to be able to use underlined identifiers. Also the definition of the characters is not stable at this time, some fonts do not include underlined characters and some do not use the correct unicode points for them. Underlined capital letters have generally been deprecated since it's now possible to have upper and lower case in identifiers. At some point underlined capital letters should be replaced with plain capital letters. * The pound symbol <big><big>#</big></big> may be used to define a "magic function," a user defined function which is available as a quad function. It cannot be used as the first character of a variable or a normal function. There are special rules involved; See below under '''magic functions'''. ===Subsequent Characters=== The following are allowable as the second or subsequent character of the name of a variable or user function * All of the first characters listed above * Digits 0 through 9 == Magic Functions == :''Main article: [[Magic Functions]].'' Magic functions allow you to create quad operators. The magic function is defined in the same way as a regular function but with a pound sign # as the first character. The function may be [[niladic]], [[monadic]], or [[dyadic]]. The function is then accessed as any of the standard system functions by substituting the quad <big><big>{quad}</big></big> symbol for the pound sign as used in the function definition. A magic function has to be at least two characters, with the # indicating it's a magic function, and the character after the pound sign being the first character of the name, and must follow the rules under '''First character''' above, and characters after the first are allowed to use the '''Subsequent Characters''' set listed above. ==Other Characters== Some characters may be enterable on the keyboard but either are APL operators but are not yet implemented, or are neither APL operators nor usable as a character in an identifier. More later. {{Article footer}} [[Category:Mouse Group 11]]
Summary:
Please note that all contributions to NARS2000 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
NARS2000:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Article footer
(
edit
)
Template:Keyboard
(
edit
)
Template:Language Toolbar
(
edit
)
Template:Language Toolbar Group 1
(
edit
)
Template:Language Toolbar Group 10
(
edit
)
Template:Language Toolbar Group 11
(
edit
)
Template:Language Toolbar Group 12
(
edit
)
Template:Language Toolbar Group 2
(
edit
)
Template:Language Toolbar Group 3
(
edit
)
Template:Language Toolbar Group 4
(
edit
)
Template:Language Toolbar Group 5
(
edit
)
Template:Language Toolbar Group 6
(
edit
)
Template:Language Toolbar Group 7
(
edit
)
Template:Language Toolbar Group 8
(
edit
)
Template:Language Toolbar Group 9
(
edit
)
Template:Language Toolbar Notation
(
edit
)
Template:Symbol footer
(
edit
)
Navigation menu
Page actions
Page
Discussion
Read
Edit
Edit source
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information