FANDOM


A list is information in Logo enclosed in square brackets. Lists can contain numbers, words, other lists or any combination. Each item inside the square bracket of a list is an element of the list. Each list is a single object in Logo, although there is no limit to the number of elements in a single list. Examples of lists include:

? LIST? [1 2 3 GO!]

Result: TRUE

? LIST? [[RED BLUE] [ORANGE GREEN ] [BLACK YELLOW]]

Result: TRUE

? LIST? [PD FD 50 RT 90]

Result: TRUE

?

An empty list ([]) is a list with no elements.

? LIST? []

Result: TRUE

? COUNT []

Result: 0

?

Additional commands which are used with words and lists include:

ASCII FPUT NAME
BUTFIRST FROMMEMBER NAMES
BUTLAST ITEM NAME?
BUTMEMBER LAST NUMBER?
CHAR LIST SENTENCE
THING
EMPTY? LPUT WORD
EQUAL? MAKE
FIRST MEMBER?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.