From 9d263253c8ca598063a5d3c9c4f6e212efc2a735 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 28 Jun 2004 14:32:24 +0000 Subject: [PATCH] Index to "INTEGER Statement". --- doc/mad-manual.xml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/doc/mad-manual.xml b/doc/mad-manual.xml index 21568d8..57bc972 100644 --- a/doc/mad-manual.xml +++ b/doc/mad-manual.xml @@ -786,7 +786,8 @@ notation", such as 3.1 × 10-6 are called floating point numbers.] Constants, Floating Point Numbers are assumed to be in the floating-point mode unless otherwise declared, as in the INTEGER -statement in the example. The WHENEVER statement above is to be +statement in the example. INTEGER +Statement The WHENEVER statement above is to be interpreted in the sense: Whenever the following condition (in this case Z < aj) is satisfied, do the specified action (Z = aj), otherwise just go on. @@ -1155,6 +1156,7 @@ alphabetic, and Boolean. Integer Constants Constants, Integer +Integer Constants Integer constants contain from 2 to 10 decimal digits. The decimal point is assumed to be immediately to the right of the @@ -1310,7 +1312,8 @@ variable Z5D.) D are integers, the result is again an integer; e.g., the "fractional part" of the true quotient is truncated (not rounded). For example, if Z5 = 7, and D = 3, the Z5 = D will have the value 2. -Division +Division +Integer Division Exponentiation, written as ".P.", e.g., Z5.P.D, and @@ -1543,6 +1546,8 @@ The precaution is that if the integer being converted is greater than 134,217,728 (i.e. 227) then an improper conversion will take place. +Integer Conversions + In some cases, however, the user must understand the sequence in which the conversions will be made. Consider the expression @@ -1684,6 +1689,8 @@ location "Y"; i.e., Y would again have the floating point value 1., but in this case the conversation of the integer is unnecessary, thus speeding up the computation. +Integer Conversions + When a floating point number is to be converted to an integer, it is first expressed as a number with both an integer part and a fractional part, and then the fractional part is truncated. Thus, the @@ -2288,9 +2295,13 @@ available for use by successive SAVE statements. Input-Output Statements +Input-Output Statements + The Retrocomputing Museum implementation does not implement TAPE and DRUM statements. +Input-Output List + In this section the follwing definition the following definitions will hold. &scriptF; is the location of a format specification vector (see ) which must @@ -2909,6 +2920,8 @@ storage).Bocks, Input-Output Relationship between the List and the Specification +Input-Output List + The "list" consists of a set of names of variables to or from which information is to flow. Except for Hollerith strings imbedded in the format specification itself (see Function ArgumentsArguments of Functions Function StatementExecute Statement Function ValueValue of a Function -Hierarchy of ParrenthesesParentheses +Hierarchy of ParenthesesParentheses +Individual VariablesSingle Variables +Input-Output BlocksBlocks, Input-Output -- 2.43.0