1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
|
XDir ( dir -- newx )
Finds the X coordinate of the cell in the specified direction.
,XDir ( obj dir -- newx )
Finds the X coordinate of the cell in the specified direction of the
specified object.
XYDir ( dir -- newx newy )
Finds the X and Y coordinates of the cell in the given direction.
YDir ( dir -- newy )
Finds the Y coordinate of the cell in the given direction.
,YDir ( obj dir -- newy )
Finds the Y coordinate of the cell in the specified direction of the
specified object.
=== Block instructions ===
These are block flow controls. They include bodies of other instructions.
and <body> then ( any -- any )
Takes a value from the stack. If it is false, leaves it there and skips the
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
|
XDir ( dir -- newx )
Finds the X coordinate of the cell in the specified direction.
,XDir ( obj dir -- newx )
Finds the X coordinate of the cell in the specified direction of the
specified object.
XStep ( dir -- result )
Will be -1 or 0 or +1 depending on the direction; this is the X step
difference for the specified direction. If it is a relative direction,
it is relative to the Self object.
,XStep ( obj dir -- result )
Similar to XStep but relative directions are relative to the specified
object, instead of necessarily Self.
XYDir ( dir -- newx newy )
Finds the X and Y coordinates of the cell in the given direction.
YDir ( dir -- newy )
Finds the Y coordinate of the cell in the given direction.
,YDir ( obj dir -- newy )
Finds the Y coordinate of the cell in the specified direction of the
specified object.
YStep ( dir -- result )
Will be -1 or 0 or +1 depending on the direction; this is the Y step
difference for the specified direction. If it is a relative direction,
it is relative to the Self object.
,YStep ( obj dir -- result )
Similar to YStep but relative directions are relative to the specified
object, instead of necessarily Self.
=== Block instructions ===
These are block flow controls. They include bodies of other instructions.
and <body> then ( any -- any )
Takes a value from the stack. If it is false, leaves it there and skips the
|