ASK
Syntax ASK number list 
ASK list list
 
Explanation

ASK causes the object(s) named in its first argument to execute the commands in its second argument. ASK makes it possible to send commands to an object that is not currently active without making it active.

The first argument to ASK may be either a single turtle number or an object name or a list of turtle numbers or object names. To ASK a turtle, it must be defined with the SETTURTLES command. The input may also be any visible Logo component like windows, bitmaps, or buttons. Even normal Logo names may be ASKed, but they do not understand movement commands. You can, however, ASK any Logo name to set a property or to return a property. The following commands have the same meaning:
 

ASK "JOE [MAKE "AGE 45]
ASK JOE [:AGE]
PPROP "JOE "AGE 45
GPROP "JOE "AGE

See also EACH, TELL, TURTLES, and WHO.
 

Examples

TopIndex