Closed inexorabletash closed 7 years ago
In addition to:
ifelse :x > 0 [show "pos] [show "neg] while :x < 10 [show :x make "x :x + 1]
...UCBLogo supports the syntax:
ifelse [:x > 0] [show "pos] [show "neg] while [:x < 10] [show :x make "x :x + 1]
Both are supported for IF, IFELSE and TEST.
IF
IFELSE
TEST
Only the list notation (tfexpression) for WHILE, DO.WHILE, UNTIL, and DO.UNTIL in UCBLogo because they are implemented as library functions.
tfexpression
WHILE
DO.WHILE
UNTIL
DO.UNTIL
In addition to:
...UCBLogo supports the syntax:
Both are supported for
IF
,IFELSE
andTEST
.Only the list notation (
tfexpression
) forWHILE
,DO.WHILE
,UNTIL
, andDO.UNTIL
in UCBLogo because they are implemented as library functions.