Libraries‎ > ‎Library‎ > ‎Logging‎ > ‎

Log area

BehaviourComposer: ignore everything before this.

Begin micro-behaviour:

Begin description:

Add the area where messages can be added.

End description

Log area

Begin NetLogo code:

substitute-text-area-for upper-left-corner-x 624   
substitute-text-area-for upper-left-corner-y 10   
substitute-text-area-for lower-right-corner-x 1246  
substitute-text-area-for lower-right-corner-y 546  
substitute-text-area-for font-size 12 
create-output-area    
  "upper-left-corner-x" "upper-left-corner-y"  ; upper left corner (from the upper left corner of the applet) 
  "lower-right-corner-x" "lower-right-corner-y"  ; lower right corner
  "font-size"  ; font size

End NetLogo code

Variants

You can change the position and dimensions of the output area and the font size.

How this works

This defines the corners of the area where NetLogo textual output is placed on start up.

Related micro-behaviours

History

Log message was implemented by Ken Kahn.

BehaviourComposer: ignore everything after this.

Comments