3-166 Full Command and Function Reference
Flags: Binary Integer Wordsize (-5 through -10), Binary Integer Base (-11, -12)
Input/Output:
Level 1/Argument 1 Level 1/Item 1
#n
1
→
#n
2
See also: ASR, SLB, SR, SRB
SLB
Type: Command
Description: Shift Left Byte Command: Shifts a binary integer one byte to the left.
The most significant byte is shifted out to the left and lost, while the least significant byte is
regenerated as zero. SLB is equivalent to binary multiplication by 2
8
(256) (or executing SL eight
times), truncated to the current wordsize.
Access: !´
BASE LBYTE SLB ( ´ is the left-shift of the Pkey).
…ãL
BYTE SLB (ã is the right-shift of the 3key).
Flags: Binary Integer Wordsize (-5 through -10), Binary Integer Base (-11, -12)
Input/Output:
Level 1/Argument 1 Level 1/Item 1
#n
1
→
#n
2
See also: ASR, SL, SR, SRB
SLOPEFIELD
Type: Command
Description: SLOPEFIELD Plot Type Command: Sets the plot type to SLOPEFIELD.
When plot type is set to SLOPEFIELD, the DRAW command plots a slope representation of a
scalar function with two variables. SLOPEFIELD requires values in the reserved variables EQ,
VPAR, and PPAR.
VPAR has the following form:
{ x
left
x
right
y
near
y
far
z
low
z
high
x
min
x
max
y
min
y
max
x
eye
y
eye
z
eye
x
step
y
step
}
For plot type SLOPEFIELD, the elements of VPAR are used as follows:
• x
left
and x
right
are real numbers that specify the width of the view space.
• y
near
and y
far
are real numbers that specify the depth of the view space.
• z
low
and z
high
are real numbers that specify the height of the view space.
• x
min
and x
max
are not used.
• y
min
and y
max
are not used.
• x
eye
, y
eye
, and z
eye
are real numbers that specify the point in space from which the graph is
viewed.
• x
step
and y
step
are real numbers that set the number of x-coordinates versus the number of y-
coordinates plotted.
The plotting parameters are specified in the reserved variable PPAR, which has this form:
{ (x
min
, y
min
) (x
max
, y
max
) indep res axes ptype depend }
For plot type SLOPEFIELD, the elements of PPAR are used as follows:
• (x
min
, y
min
) is not used.
• (x
max
, y
max
) is not used.
• indep is a name specifying the independent variable. The default value of indep is X.
• res is not used.
• axes is not used.
• ptype is a command name specifying the plot type. Executing the command SLOPEFIELD
places the command name SLOPEFIELD in ptype.
• depend is a name specifying the dependent variable. The default value is Y.