Navigation Bar AgentSheets Education R&D Support About Us Manuals Tutorial Movies FAQ Books Classes

String Parameter

Definition: The String parameter identifies a word or phrase.

When the string parameter is used in the Say action, it can contain references to agent Attributes or Simulation Properties. For example, if an agent has an attribute called "age" whose value is currently 11, and the String in the Say action is "I am ~age years old", then the Say command would print "I am 11 years old" in the worksheet's message area.

When the string parameter is used in the WWW Read condition, it is a word or phrase that is used to search the specified web page. The string, in this case, can contain wildcards ("*").

An example of the String parameter ("hello") is shown below as it is used in the Say action:

reference manual | ©2010 AgentSheets, Inc. | contact us