Water 5-Software Life-cycle-Documentation
class doc
Contract
Parameter keyDefault valueType
onreq
summaryoptstring
labeloptstring
authoropt
titleopt
status"released"type.<one_of "alpha" "beta" string/>
see_alsoopt
doc_folderfalsetype.<one_of false resource.filesystem.folder/>
show_browser_windowfalseboolean
fieldsopt
preconditionoptstatic_content
postconditionoptstatic_content
testsopttype.<vector_of test/>
base_hreffalseboolean
footeropt
content_vectoropt
typical_valuesopt
run_testsfalseboolean
write_filefalseboolean
cache_every_instancetrueboolean
of<thing <do bk.chapter_group.of.system_interfaces/>=<ref doc/> <do bk.chapter.of.rich_ui_input/>=<ref doc/> <do bk.topic.of.deploy_thin/>=<ref doc/> <do bk.chapter.of.format_xmls/>=<ref doc/> <do bk.chapter_group.of.string_to_object/>=<ref doc/> <do bk.chapter_group.of.type_and_object_system/>=<ref doc/> <do bk.chapter.of.if/>=<ref doc/> <do bk.chapter_group.of.data_types/>=<ref doc/> <do bk.chapter.of.getting_started/>=<ref doc/> <do bk.chapter_group.of.life_cycle/>=<ref doc/> <do bk.chapter_group.of.meta_programming/>=<ref doc/> <do biz.places/>=<ref doc/> <do bk.chapter.of.doc/>=<ref doc/> <do bk.chapter_group.of.intro/>=<ref doc/> <do bk.topic.of.quick_reference/>=<ref doc/> <do bk.chapter_group.of.advanced/>=<ref doc/> <do bk.chapter.of.water_contract/>=<ref doc/> <do bk.chapter.of.thread/>=<ref doc/> <do street_address/>=<ref doc/> <do bk.chapter.of.html_layout/>=<ref doc/> <do bk.topic.of.deploy_server/>=<ref doc/> <do bk.chapter_group.of.flow/>=<ref doc/> <do bk.chapter_group.of.method_class/>=<ref doc/> <do bk.chapter.of.fields/>=<ref doc/> <do bk.chapter.of.expression/>=<ref doc/> <do bk.chapter.of.java_water/>=<ref doc/> <do bk.chapter.of.soap_and_wsdl/>=<ref doc/> <do bk.chapter.of.special_xml/>=<ref doc/> <do bk.chapter.of.syntax/>=<ref doc/> <do bk.chapter.of.regex/>=<ref doc/> <do bk.chapter.of.boolean/>=<ref doc/> <do width_height/>=<ref doc/> <do bk.htm_index_entries/>=<ref doc/> <do bk.chapter.of.ekind/>=<ref doc/> <do lat_long/>=<ref doc/> <do bk.chapter.of.type_system/>=<ref doc/> <do bk.chapter.of.level_1_examples/>=<ref doc/> <do bk.chapter_group.of.ui/>=<ref doc/> <do bk.special_symbol.of.new_class/>=<ref doc/> <do bk.chapter.of.rich_ui_layout/>=<ref doc/> <do bk.topic.of.class_hierarchy/>=<ref doc/> <do doc/>=<ref doc/> <do bk.chapter_group.of.concurrent/>=<ref doc/> <do bk.term.of/>=<ref doc/> <do bk.chapter_group.of.object_to_string/>=<ref doc/> <do bk.topic.of.standalone/>=<ref doc/> <do bk.chapter.of.Method/>=<ref doc/> <do bk.chapter_group.of.syntax/>=<ref doc/> <do bk.chapter.of.html_input/>=<ref doc/> <do bk.chapter.of.level_2_examples/>=<ref doc/> <do bk.topic.of.hosted/>=<ref doc/> <do bk.chapter.of.active_values/>=<ref doc/> <do bk.chapter.of.format_other/>=<ref doc/> <do bk.topic.of.inspect/>=<ref doc/> <do biz.places.of.0/>=<ref doc/>/>thing
Parameter kindDefault valueType
Other unkeyed argumentsopt with ekind of stringwob
Water Contract
<class doc
  on            =req
  summary       =opt=string
  label         =opt=string
  author        =opt
  title         =opt
  status        ="released"=<type.one_of "alpha" "beta" string/>
  see_also      =opt
  doc_folder    =false=<type.one_of false resource.filesystem.folder/>
  show_browser_window=false
  fields        =opt
  precondition  =opt=<type.one_of string hypertext _name="static_content"/>
  postcondition =opt=<type.one_of string hypertext _name="static_content"/>
  tests         =opt=<type.vector_of test/>
  base_href     =false
  footer        =opt
  content_vector=opt
  typical_values=opt
  run_tests     =false
  write_file    =false
  cache_every_instance=true
  of            =<thing <do bk.chapter_group.of.system_interfaces/>=<doc on=bk.chapter_group.of.system_interfaces on_path="bk.chapter_group.of.system_interfaces"/> <do bk.chapter.of.rich_ui_input/>=<doc on=bk.chapter.of.rich_ui_input on_path="bk.chapter.of.rich_ui_input"/> <do bk.topic.of.deploy_thin/>=<doc on=bk.topic.of.deploy_thin on_path="bk.topic.of.deploy_thin"/> <do bk.chapter.of.format_xmls/>=<doc on=bk.chapter.of.format_xmls on_path="bk.chapter.of.format_xmls"/> <do bk.chapter_group.of.string_to_object/>=<doc on=bk.chapter_group.of.string_to_object on_path="bk.chapter_group.of.string_to_object"/> <do bk.chapter_group.of.type_and_object_system/>=<doc on=bk.chapter_group.of.type_and_object_system on_path="bk.chapter_group.of.type_and_object_system"/> <do bk.chapter.of.if/>=<doc on=bk.chapter.of.if on_path="bk.chapter.of.if"/> <do bk.chapter_group.of.data_types/>=<doc on=bk.chapter_group.of.data_types on_path="bk.chapter_group.of.data_types"/> <do bk.chapter.of.getting_started/>=<doc on=bk.chapter.of.getting_started on_path="bk.chapter.of.getting_started"/> <do bk.chapter_group.of.life_cycle/>=<doc on=bk.chapter_group.of.life_cycle on_path="bk.chapter_group.of.life_cycle"/> <do bk.chapter_group.of.meta_programming/>=<doc on=bk.chapter_group.of.meta_programming on_path="bk.chapter_group.of.meta_programming"/> <do biz.places/>=<doc on=biz.places on_path="biz.places"/> <do bk.chapter.of.doc/>=<doc on=bk.chapter.of.doc on_path="bk.chapter.of.doc"/> <do bk.chapter_group.of.intro/>=<doc on=bk.chapter_group.of.intro on_path="bk.chapter_group.of.intro"/> <do bk.topic.of.quick_reference/>=<doc on=bk.topic.of.quick_reference content_vector=<vector <h3 "Concise XML Syntax &amp;nbsp; &amp;nbsp; &amp;nbsp; " <i "source &amp;nbsp; =&amp;gt; &amp;nbsp; result"/>/> <test result="ignore" on=tests.other_f_test name="Full closing tag" source="<body> the content </body>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Short closing tag" source="<body> the content </>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="No content" source="<body/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="4" on=tests.other_f_test name="Attributes hold any object or expression" source="<thing age=<plus 2 2/> male=true/>.age" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="123" on=tests.other_f_test name="Pass arg via keyword" source="<class boat weight=req/> &amp;#13;
<boat weight=123/>.weight" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="123" on=tests.other_f_test name="Pass arg via position" source="<class boat weight=req/> <boat 123/>.weight" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Comment" source="<!-- code in here is ignored. -->" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="5" on=tests.other_f_test name="Subject of call" source="2.<plus 3/> <!-- 2 is the _subject of the call to plus -->" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Object System: everything is an object"/> <test result="ignore" on=tests.other_f_test name="Objects" do_not_run=true source="Objects have fields, each of which has a key and a value.&amp;#13;
Values can be any type of object. So can keys." containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="wob" on=tests.other_f_test name="Root: Water Object" source="<!-- all objects have both a _parent field and &amp;#13;
wob as an ancestor, except wob itself --> wob" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="thing" on=tests.other_f_test name="Generic object" source="thing <!-- a thing can have any fields -->" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Named &amp;amp; vector fields" source="wob.<set foo=<thing x=100 y=555 20 30 40/> />" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="100" on=tests.other_f_test name="value of field 'x'" source="wob.foo.x" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="40" on=tests.other_f_test name="value of field 2" source="wob.foo.2" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="Instance of class?" source="10.<is_a number/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Basic Operations: get, set, remove"/> <test result="5" on=tests.other_f_test name="Dot notation" source="<thing bar=5/>.bar" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"hi"' on=tests.other_f_test name="Get value" source='<thing 6="hi"/>.<get 2.<times 3/>/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="0" on=tests.other_f_test source='<thing 6="hi"/>.<get 5 lookup=false &amp;#13;
if_missing=0/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"value1"' on=tests.other_f_test name="Assign variable(s)" source='<set key1="value1" key2="value2"/> key1' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"wood"' on=tests.other_f_test name="Assign field" source='thing.<set material="wood"/>  thing.material' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="Field exists?" source='thing.<has "material"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="false" on=tests.other_f_test source='thing.<has "junk"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"wood"' on=tests.other_f_test name="Remove field" source='thing.<remove "material"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="false" on=tests.other_f_test source='thing.<has "material"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "boolean: true and false"/> <test result="false" on=tests.other_f_test name="and" source="true.<and false/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="or" source="true.<or false true/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="false" on=tests.other_f_test name="not" source="true.<not/> <not true/> 123.<not/> <!--any arg but false returns false-->" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="Same object?" source="5.<is 5/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="false" on=tests.other_f_test source="<thing/>.<is <thing/>/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="Same valued fields" source="<thing foo=5/>.<equal <thing foo=5/> />" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="false" on=tests.other_f_test name="false values using boolean.from. Other args result in true." source='boolean.<from "false"/> boolean.<from "no"/> &amp;#13;
boolean.<from "null"/> boolean.<from null/> &amp;#13;
boolean.<from 0/> boolean.<from -1/>&amp;#13;
<!-- all return false -->' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "number"/> <test result="true" on=tests.other_f_test name="integer" source="42.<is_a integer/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test source="-1.<is_a integer/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="double: floating point" source="4.53.<is_a number.double/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test source="-0.11.<is_a number.double/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Arithmetic" do_not_run=true source="plus minus times divide remainder" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="5.3" on=tests.other_f_test name="plus" source="2.<plus 3.3/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="9" on=tests.other_f_test name="_subject defaults to 0" source="<plus 2 3 4/> <!--plus and times take any number of args-->" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="9.0" on=tests.other_f_test name="( 5 * 6 ) / 3 - 1" source="5.<times 6/>.<divide 3/>.<minus 1/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="5" on=tests.other_f_test name="Rounding" source="integer.<from 5.3 direction='down'/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="1" on=tests.other_f_test name="Modulus" source="10.<remainder 3/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="Comparators" source="7.<more 5/> 5.<less 7/> 5.<more_or_equal 5/> 5.<less_or_equal 5/> &amp;#13;
<!-- all return true -->" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "string"/> <test result='"a_string"' on=tests.other_f_test name="Create string" source="&amp;quot;a_string&amp;quot;   'a_string'    <string>a_string</string>  <![CDATA[a_string]]>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"you2me"' on=tests.other_f_test name="Concatenate" source='"you".<join 2 "me"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="5" on=tests.other_f_test name="Length" source='"Water".<length/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<char "W"/>
' on=tests.other_f_test name="Get a character" source='"Water".0' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"Wat"' on=tests.other_f_test name="Substring" source='"Water".<subvector start=0 end=3/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="2" on=tests.other_f_test name="Index of value" source='"Water".<key_of <char "t"/> />' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"better"' on=tests.other_f_test name="Replace string" source='"Water".<replace "Wa" "bet"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="Strings are interned" source='"a".<is "a"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="Loose equality" source='" CM".<equal "cm" same_case=false same_whitespace=false/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Data collection or array: vector"/> <test result="ignore" on=tests.other_f_test name="Create vectors" source='<vector 5 "a" "bcd"/> <vector> 5 "a" "bcd" </vector>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="synonym for vector" source='<v 5 "a" "bcd"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"a"' on=tests.other_f_test name="Get field value" source='<vector 5 "a"/>.1' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"a"' on=tests.other_f_test name="Indirect" source='<set x=1/> <vector 5 "a"/>.<get x/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="2" on=tests.other_f_test name="Vector length" source='<vector 5 "a"/>.<length/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<vector "a" "m" "x"/>
' on=tests.other_f_test name="Sorting" source='<vector "m" "a" "x" />.<sort/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<vector "z" "y" "x"/>
' on=tests.other_f_test name="Reverse" source='<vector "x" "y" "z" />.<reverse/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="6" on=tests.other_f_test name="2D vector" source="<set Q=<vector 4 5 <vector 6 7 8/> /> />    Q.2.0" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="25" on=tests.other_f_test name="Get from end" source="<vector 5 10 15 20 25 30/>.<last 1/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<vector "a" "z"/>
' on=tests.other_f_test name="Push value on end" source='<vector "a"/>.<insert "z"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<vector "z" "a"/>
' on=tests.other_f_test name="Insert at index" source='<vector "a"/>.<insert "z" at_key=0/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="<vector 6 7 8 9/>
" on=tests.other_f_test name="Append vector values" source="<v 6 7/>.<insert _other_unkeyed=<v 8 9/> />" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"b"' on=tests.other_f_test name="Remove" source='<vector "a" "b" "c"/>.<remove 1/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="<vector 7 8/>
" on=tests.other_f_test name="Subvector" source="<vector 6 7 8 9/>.<subvector start=1 end=3/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "datetime, etc"/> <test result="50" on=tests.other_f_test name="Create datetime" source="<datetime year=2000 month=12 day=25 hour=5 &amp;#13;
 minute=50 second=45  millisecond=750/>.minute" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="true" on=tests.other_f_test name="Now" source="datetime.<current/>.<is_a datetime/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="<duration months=1 days=9/>
" on=tests.other_f_test name="Create duration" source="<duration months=1 days=9/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="<date 2005 5 3/>
" on=tests.other_f_test name="date plus duration" source="<date 2005 4 1/>.<plus <duration days=32/>/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Grouping expressions: do"/> <test result="1.0" on=tests.other_f_test name="Execute all ..." source="<do 0.<sin/> 0.<cos/> />" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"all done"' on=tests.other_f_test name="&amp;amp; return last result" source='<do> <set x="all done"/> x </do>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="<h1 0=8/>
" on=tests.other_f_test name="Code within HTML" source="<h1> <do 2.<power 3/>/> </h1>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Conditional flow control: if"/> <test result='"just right"' on=tests.other_f_test name="Condition-action pairs, use do for big action, 'else' means true, return executed action" source='<if> number.double.pi.<more 4/> "high"&amp;#13;
     number.double.pi.<less 3/> <do> <echo "bug"/> "low" </do>&amp;#13;
     else "just right" &amp;#13;
</if>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="null" on=tests.other_f_test name="Returns null if no match" source='<if> 3.<is 2/> "never happens" </if>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Iteration: for_each"/> <test result='<v 1 "b"/>
' on=tests.other_f_test name="Iterate over vector fields, return last" source='<vector "a" "b"/>.<for_each> <vector key value/></>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="15" on=tests.other_f_test name="Iterate over string fields" source="<thing a=7 b=8/>.<for_each include=string_key combiner=plus> &amp;#13;
  value </for_each>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="6" on=tests.other_f_test name="Iterate over 0 thru 3" source="4.<for_each combiner=plus> value </>  <!-- 0.<plus 1 2 3/>-->" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="<v 70 80 90/>
" on=tests.other_f_test name="Return vector of values" source="<vector 7 8 9/>.<for_each combiner=insert> value.<times 10/> </>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<v "k1" "k2"/>
' on=tests.other_f_test name="Return filtered vector" source='<v "k1" "j1" "j2" "k2"/>.<for_each combiner=insert>&amp;#13;
        <if> value.<starts_with "k"/> value &amp;#13;
             else skip&amp;#13;
        </if> </for_each>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="<vector 98/>
" on=tests.other_f_test name="Exclude fields" source="<vector 97 98 99/>.<for_each exclude=<vector 0 2/> combiner=insert>&amp;#13;
 value </for_each>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Methods, Functions, Macros: method"/> <test result="5" on=tests.other_f_test name="method &amp;amp; call" source="<method five> 5 </>        <five/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="6" on=tests.other_f_test name="One required arg" source="<method twice x=req> x.<plus x/> </>        <twice 3/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Method on person" do_not_run=true source="person.&amp;lt;method hire" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Required arg" do_not_run=true source="manager=req" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Typed arg" do_not_run=true source="position=req=string" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Default value" do_not_run=true source="date=<datetime/>.<current/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Optional, no default" do_not_run=true source="salary=opt=number" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="End parameters" do_not_run=true source="&amp;gt;" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Implementation" do_not_run=true source='<join "Boss: " manager  " hires: "  position />' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="End method" do_not_run=true source="&amp;lt;/method&amp;gt;" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"Boss: J.B. hires: sales"' on=tests.other_f_test name="Call the method" do_not_run=true source='person.<hire "J.B."  "sales"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<v 9 "junk"/>
' on=tests.other_f_test name="Execution kinds permit delayed execution" source='<method m x=req=string=ekind.string> &amp;#13;
 <if> x.<starts_with "<"/> <execute source=x/> else x </if></>&amp;#13;
<v <m <plus 4 5/>/> <m junk/>/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Classes: class"/> <test result="person" on=tests.other_f_test name="Define class" source="<class person first=req last=opt zip=opt/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="person" on=tests.other_f_test name="... with param types" source="<class person first=req=string &amp;#13;
  last=req=string zip=opt=integer/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Construct instance" source='<person zip=10483 first="Mike" last="Jones"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="...without keywords" source='<person "Mike" "Jones" 10483/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="person.employee " on=tests.other_f_test name="Define subtype" source="<class person.employee/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="person" on=tests.other_f_test name="Define a class with a method and a subtype" source='<class person last=req first=opt><!--put req params 1st-->&amp;#13;
   <method hire> "code" </method>&amp;#13;
   <class employee employee_id=req> "more defs" </> </class>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Get subclass" source="person.employee <!-- classes hold subclasses in fields -->" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="person" on=tests.other_f_test name="Special methods are : 'make' as constructor, 'to_htm' for display" source="<class person name=req>&amp;#13;
 <method make> _subject.<set age=10/> _subject </>&amp;#13;
 <method to_htm> <h1><do .name/></h1>.<to_htm/> </> </>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Multiple inheritance" source='<<union <class car wheels=4/> <class boat hull="mono"/>/>&amp;#13;
   wheels=4 hull="twin"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Presentation: XHTML and Hypertext"/> <test result="ignore" on=tests.other_f_test name="All XHTML is included in Water" do_not_run=true source="html, body, table, form, script, style, div, span, b, i, etc.&amp;#13;
(Tag names can use either upper or lower case.)" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Mix html and Water" source="<font size=3.<plus 4/>> <i>Now <do datetime.<current/>/></i></font>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="CSS" do_not_run=true source='<h1 style=<style color="red"/> >Title</h1>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Web server using HTML form"/> <test result="ignore" on=tests.other_f_test name="XHTML input" do_not_run=true source="form, input, select, textarea" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Web app on integer. Action is method to call with arg from input when submit button clicked" source='<method integer.square in=2>&amp;#13;
   <FORM action="/square">&amp;#13;
     Enter an integer:<INPUT name="in" value=in.<power 2/> />&amp;#13;
     <INPUT type="submit" value="Square It"/> </FORM></method>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Launch server" source="<server integer port=9090/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Get page from Water" source='<resource "http://localhost:9090/square?"/>.content' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Browse the app" do_not_run=true source='<open_browser_window "http://localhost:9090/square?"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Importing/parsing"/> <test result="123" on=tests.other_f_test name="string to primitive" source='primitive.<from "123"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<v "C" "Fry" "2"/>
' on=tests.other_f_test name="Returns vector" source='"C,Fry,2".<make_object field_separator=","/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<person first_name="M" last_name="Joy" zip="28840"/>
' on=tests.other_f_test name="Returns person" source='<class person first_name=req last_name=req zip="00000"/>&amp;#13;
"M|Joy|28840".<make_object maker=person field_separator="|"/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='<v <person "C" "Fry" "28838"/> <person "M" "Plusch" "02481"/>/>
' on=tests.other_f_test name="Vector of objects" source='"C,Fry,28838===M,Plusch,02481".&amp;#13;
  <make_objects person field_separator="," object_separator="==="/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="'<body bgcolor=&amp;quot;red&amp;quot;>&amp;#13;
hello&amp;#13;
</body>'" on=tests.other_f_test name="Convert to XHTML" source='"<body bgcolor=red>hello</body>".<html_to_xhtml/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Output"/> <test result='"<b>Water</b>"' on=tests.other_f_test name="Object to String" source="<b>Water</>.<to_htm/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"<thing>&amp;#13;
 <fields>weight=123 </fields></thing>"' on=tests.other_f_test name="Format XML 1.0" source="<thing weight=123/>.<to_xml/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"number.integer"' on=tests.other_f_test name="Make path if possible" source="number.integer.<to_cxs/>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result='"thing size=xl"' on=tests.other_f_test name="Text, no markup" do_not_run=true source='<thing size="xl"/>.<to_txt/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <h3 "Tools"/> <test result="5" on=tests.other_f_test name="Print to Java console" source='<echo "X: " <plus 2 3/>/> <!-- all arg values printed-->' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="8" on=tests.other_f_test name="Inspect object or path" do_not_run=true source='"foo".ii    thing.<iip p/>    3.<plus 4/>.ii.<plus 1/>' containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Make test case" source="<test result=5> 5.<minimum 8/> </test>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/> <test result="ignore" on=tests.other_f_test name="Make documentation" source="<doc on=minimum> return the smallest number</doc>" containing_file="file:///Users/mseelig/Documents/workspace/steam_working/doc/bk.topic.of.quick_reference_f_doc.h2o"/>/> "
&amp;#13;
<h3>Concise XML Syntax &amp;nbsp; &amp;nbsp; &amp;nbsp; <i>source &amp;nbsp; =&amp;gt; &amp;nbsp; result</i></>&amp;#13;
&amp;#13;
<test name=&amp;quot;Full closing tag&amp;quot; result=ignore> &amp;#13;
    <body> the content </body>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Short closing tag&amp;quot; result=ignore> &amp;#13;
    <body> the content </>&amp;#13;
</test> &amp;#13;
&amp;#13;
<test name=&amp;quot;No content&amp;quot; result=ignore> &amp;#13;
    <body/>&amp;#13;
</test>   &amp;#13;
&amp;#13;
<test name=&amp;quot;Attributes hold any object or expression&amp;quot; result=4>&amp;#13;
  <thing age=<plus 2 2/> male=true/>.age&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Pass arg via keyword&amp;quot; result=123>&amp;#13;
  <class boat weight=req/> &amp;#13;
  <boat weight=123/>.weight&amp;#13;
</test>  &amp;#13;
&amp;#13;
<test name=&amp;quot;Pass arg via position&amp;quot; result=123>&amp;#13;
  <class boat weight=req/> <boat 123/>.weight&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Comment&amp;quot; result=ignore>&amp;#13;
  <!-- code in here is ignored. -->&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Subject of call&amp;quot; result=5> &amp;#13;
  2.<plus 3/> <!-- 2 is the _subject of the call to plus -->&amp;#13;
</>&amp;#13;
&amp;#13;
<h3>Object System: everything is an object</>&amp;#13;
<test name=&amp;quot;Objects&amp;quot; result=ignore do_not_run=true> &amp;#13;
  Objects have fields, each of which has a key and a value.&amp;#13;
  Values can be any type of object. So can keys.&amp;#13;
</test>&amp;#13;
<test name=&amp;quot;Root: Water Object&amp;quot; result=wob> &amp;#13;
  <!-- all objects have both a _parent field and &amp;#13;
  wob as an ancestor, except wob itself --> wob&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Generic object&amp;quot; result=thing> &amp;#13;
  thing <!-- a thing can have any fields -->&amp;#13;
</test> &amp;#13;
&amp;#13;
<test name=&amp;quot;Named &amp;amp; vector fields&amp;quot; result=ignore>&amp;#13;
  wob.<set foo=<thing x=100 y=555 20 30 40/> />&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;value of field 'x'&amp;quot; result=100>   &amp;#13;
  wob.foo.x&amp;#13;
</>&amp;#13;
<test name=&amp;quot;value of field 2&amp;quot; result=40>&amp;#13;
  wob.foo.2&amp;#13;
</>&amp;#13;
&amp;#13;
<test name=&amp;quot;Instance of class?&amp;quot; result=true> &amp;#13;
  10.<is_a number/>&amp;#13;
</test> &amp;#13;
&amp;#13;
<!-- cut for space reasons &amp;#13;
 <test name=&amp;quot;New copy&amp;quot; result=<thing direction=&amp;quot;up&amp;quot;/>>&amp;#13;
  <thing direction=&amp;quot;up&amp;quot;/>.<copy/>&amp;#13;
</test> -->&amp;#13;
 &amp;#13;
<h3>Basic Operations: get, set, remove</>&amp;#13;
&amp;#13;
<test name=&amp;quot;Dot notation&amp;quot; result=5>  <thing bar=5/>.bar </>&amp;#13;
&amp;#13;
<test name=&amp;quot;Get value&amp;quot; result=&amp;quot;hi&amp;quot;> <thing 6=&amp;quot;hi&amp;quot;/>.<get 2.<times 3/>/></>&amp;#13;
&amp;#13;
<test  result=0>&amp;#13;
   <thing 6=&amp;quot;hi&amp;quot;/>.<get 5 lookup=false &amp;#13;
   if_missing=0/>&amp;#13;
</test>&amp;#13;
&amp;#13;
&amp;#13;
&amp;#13;
<test name=&amp;quot;Assign variable(s)&amp;quot; result=&amp;quot;value1&amp;quot;> &amp;#13;
  <set key1=&amp;quot;value1&amp;quot; key2=&amp;quot;value2&amp;quot;/> key1</>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Assign field&amp;quot; result=&amp;quot;wood&amp;quot;>&amp;#13;
   thing.<set material=&amp;quot;wood&amp;quot;/>  thing.material&amp;#13;
</>&amp;#13;
&amp;#13;
<test name=&amp;quot;Field exists?&amp;quot; result=true>&amp;#13;
  thing.<has &amp;quot;material&amp;quot;/>&amp;#13;
</test>&amp;#13;
<test result=false>&amp;#13;
  thing.<has &amp;quot;junk&amp;quot;/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Remove field&amp;quot; result=&amp;quot;wood&amp;quot;>  &amp;#13;
    thing.<remove &amp;quot;material&amp;quot;/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test result=false>  &amp;#13;
    thing.<has &amp;quot;material&amp;quot;/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<h3>boolean: true and false</>&amp;#13;
&amp;#13;
<test name=&amp;quot;and&amp;quot; result=false>&amp;#13;
  true.<and false/>&amp;#13;
 </>&amp;#13;
 &amp;#13;
<test name=&amp;quot;or&amp;quot; result=true> &amp;#13;
   true.<or false true/> &amp;#13;
</>&amp;#13;
&amp;#13;
<test name=&amp;quot;not&amp;quot; result=false >&amp;#13;
  true.<not/> <not true/> 123.<not/> <!--any arg but false returns false-->&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Same object?&amp;quot; result=true>  5.<is 5/> </>&amp;#13;
    &amp;#13;
<test  result=false> <thing/>.<is <thing/>/> </>&amp;#13;
&amp;#13;
<test name=&amp;quot;Same valued fields&amp;quot; result=true>&amp;#13;
  <thing foo=5/>.<equal <thing foo=5/> />&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;false values using boolean.from. Other args result in true.&amp;quot; result=false>&amp;#13;
       boolean.<from &amp;quot;false&amp;quot;/> boolean.<from &amp;quot;no&amp;quot;/> &amp;#13;
       boolean.<from &amp;quot;null&amp;quot;/> boolean.<from null/> &amp;#13;
       boolean.<from 0/> boolean.<from -1/>&amp;#13;
       <!-- all return false -->&amp;#13;
</test>&amp;#13;
&amp;#13;
<h3>number</>&amp;#13;
<test name=&amp;quot;integer&amp;quot; result=true>  42.<is_a integer/> </>&amp;#13;
<test result=true>  -1.<is_a integer/> </>&amp;#13;
&amp;#13;
<test name=&amp;quot;double: floating point&amp;quot; result=true> 4.53.<is_a number.double/></>&amp;#13;
<test result=true> -0.11.<is_a number.double/></>&amp;#13;
&amp;#13;
<test name=&amp;quot;Arithmetic&amp;quot; result=ignore do_not_run=true>  plus minus times divide remainder</>      &amp;#13;
<test name=&amp;quot;plus&amp;quot; result=5.3> 2.<plus 3.3/> </>&amp;#13;
<test name=&amp;quot;_subject defaults to 0&amp;quot;     result=9> &amp;#13;
 <plus 2 3 4/> <!--plus and times take any number of args-->&amp;#13;
</test> &amp;#13;
<test name=&amp;quot;( 5 * 6 ) / 3 - 1&amp;quot; result=9.0>  5.<times 6/>.<divide 3/>.<minus 1/></>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Rounding&amp;quot; result=5>  integer.<from 5.3 direction='down'/> </>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Modulus&amp;quot; result=1>  10.<remainder 3/> </> &amp;#13;
&amp;#13;
<test name=&amp;quot;Comparators&amp;quot; result=true>&amp;#13;
 7.<more 5/> 5.<less 7/> 5.<more_or_equal 5/> 5.<less_or_equal 5/> &amp;#13;
 <!-- all return true -->&amp;#13;
</test>&amp;#13;
&amp;#13;
&amp;#13;
<h3>string</> &amp;#13;
<test name=&amp;quot;Create string&amp;quot; result=&amp;quot;a_string&amp;quot;> &amp;#13;
  &amp;quot;a_string&amp;quot;   'a_string'    <string>a_string</string>  <![CDATA[a_string]]>&amp;#13;
</test> &amp;#13;
 &amp;#13;
<test name=&amp;quot;Concatenate&amp;quot; result=&amp;quot;you2me&amp;quot;>&amp;#13;
 &amp;quot;you&amp;quot;.<join 2 &amp;quot;me&amp;quot;/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Length&amp;quot; result=5>  &amp;quot;Water&amp;quot;.<length/> </>&amp;#13;
&amp;#13;
<test name=&amp;quot;Get a character&amp;quot; result=<char &amp;quot;W&amp;quot;/>>  &amp;quot;Water&amp;quot;.0 </>&amp;#13;
&amp;#13;
<test name=&amp;quot;Substring&amp;quot; result=&amp;quot;Wat&amp;quot;>  &amp;quot;Water&amp;quot;.<subvector start=0 end=3/> </>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Index of value&amp;quot; result=2>  &amp;quot;Water&amp;quot;.<key_of <char &amp;quot;t&amp;quot;/> /> </>&amp;#13;
&amp;#13;
<test name=&amp;quot;Replace string&amp;quot; result=&amp;quot;better&amp;quot;>  &amp;quot;Water&amp;quot;.<replace &amp;quot;Wa&amp;quot; &amp;quot;bet&amp;quot;/> </>&amp;#13;
&amp;#13;
<test name=&amp;quot;Strings are interned&amp;quot; result=true>  &amp;quot;a&amp;quot;.<is &amp;quot;a&amp;quot;/> </>&amp;#13;
&amp;#13;
<test name=&amp;quot;Loose equality&amp;quot; result=true>  &amp;#13;
  &amp;quot; CM&amp;quot;.<equal &amp;quot;cm&amp;quot; same_case=false same_whitespace=false/> </>&amp;#13;
&amp;#13;
<h3>Data collection or array: vector</> &amp;#13;
&amp;#13;
<test name=&amp;quot;Create vectors&amp;quot; result=ignore>&amp;#13;
   <vector 5 &amp;quot;a&amp;quot; &amp;quot;bcd&amp;quot;/> <vector> 5 &amp;quot;a&amp;quot; &amp;quot;bcd&amp;quot; </vector> &amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;synonym for vector&amp;quot; result=ignore>&amp;#13;
  <v 5 &amp;quot;a&amp;quot; &amp;quot;bcd&amp;quot;/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Get field value&amp;quot; result=&amp;quot;a&amp;quot;>  &amp;#13;
  <vector 5 &amp;quot;a&amp;quot;/>.1&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Indirect&amp;quot; result=&amp;quot;a&amp;quot;> &amp;#13;
  <set x=1/> <vector 5 &amp;quot;a&amp;quot;/>.<get x/>&amp;#13;
</>&amp;#13;
&amp;#13;
<test name=&amp;quot;Vector length&amp;quot; result=2>&amp;#13;
 <vector 5 &amp;quot;a&amp;quot;/>.<length/>&amp;#13;
</test> &amp;#13;
&amp;#13;
<test name=&amp;quot;Sorting&amp;quot; result=<vector &amp;quot;a&amp;quot; &amp;quot;m&amp;quot; &amp;quot;x&amp;quot;/>>&amp;#13;
  <vector &amp;quot;m&amp;quot; &amp;quot;a&amp;quot; &amp;quot;x&amp;quot; />.<sort/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<!-- &amp;#13;
Good example but cut just to save space&amp;#13;
<test name=&amp;quot;Sorting on field&amp;quot; result=<vector <thing x=3/> <thing x=5/> />>&amp;#13;
  <vector> <thing x=5/> <thing x=3/> </>.<sort &amp;#13;
      <method sort_by_field_x arg=req>&amp;#13;
       .x.<less arg.x/>&amp;#13;
      </>&amp;#13;
  />&amp;#13;
</test> --> &amp;#13;
&amp;#13;
<test name=&amp;quot;Reverse&amp;quot; result=<vector &amp;quot;z&amp;quot; &amp;quot;y&amp;quot; &amp;quot;x&amp;quot;/>>&amp;#13;
 <vector &amp;quot;x&amp;quot; &amp;quot;y&amp;quot; &amp;quot;z&amp;quot; />.<reverse/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;2D vector&amp;quot; result=6>&amp;#13;
  <set Q=<vector 4 5 <vector 6 7 8/> /> />    Q.2.0&amp;#13;
</test>&amp;#13;
 &amp;#13;
<!-- removed for space reasons.&amp;#13;
<test name=&amp;quot;Last value&amp;quot; result=99>  &amp;#13;
  <vector 5 10 99/>.<last/>&amp;#13;
</test>&amp;#13;
 -->&amp;#13;
&amp;#13;
<test name=&amp;quot;Get from end&amp;quot; result=25>&amp;#13;
  <vector 5 10 15 20 25 30/>.<last 1/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Push value on end&amp;quot; result=<vector &amp;quot;a&amp;quot; &amp;quot;z&amp;quot;/>>&amp;#13;
 <vector &amp;quot;a&amp;quot;/>.<insert &amp;quot;z&amp;quot;/>&amp;#13;
</> &amp;#13;
<test name=&amp;quot;Insert at index&amp;quot; result=<vector &amp;quot;z&amp;quot; &amp;quot;a&amp;quot;/> >&amp;#13;
  <vector &amp;quot;a&amp;quot;/>.<insert &amp;quot;z&amp;quot; at_key=0/>&amp;#13;
</>&amp;#13;
<test name=&amp;quot;Append vector values&amp;quot; result=<vector 6 7 8 9/>>&amp;#13;
  <v 6 7/>.<insert _other_unkeyed=<v 8 9/> />&amp;#13;
</test>&amp;#13;
&amp;#13;
&amp;#13;
<!-- removed for space reasons&amp;#13;
<test name=&amp;quot;Remove first&amp;quot;  result=&amp;quot;a&amp;quot;>&amp;#13;
 <vector &amp;quot;a&amp;quot; &amp;quot;b&amp;quot;/>.<remove 0/>&amp;#13;
</test> -->&amp;#13;
&amp;#13;
<test name=&amp;quot;Remove&amp;quot; result=&amp;quot;b&amp;quot;>&amp;#13;
  <vector &amp;quot;a&amp;quot; &amp;quot;b&amp;quot; &amp;quot;c&amp;quot;/>.<remove 1/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Subvector&amp;quot; result=<vector 7 8 />>&amp;#13;
 <vector 6 7 8 9/>.<subvector start=1 end=3/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<!-- removed for space reasons&amp;#13;
<test name=&amp;quot;Optional 'end'&amp;quot; result=<vector 11 12 13/>>&amp;#13;
  <vector 10 11 12 13/>.<subvector start=1/>&amp;#13;
</> &amp;#13;
<test name=&amp;quot;Optional 'start'&amp;quot; result=<vector 10 11/>>&amp;#13;
  <vector 10 11 12 13/>.<subvector end=2/>&amp;#13;
</>&amp;#13;
-->&amp;#13;
&amp;#13;
 &amp;#13;
<h3>datetime, etc</>&amp;#13;
&amp;#13;
<test name=&amp;quot;Create datetime&amp;quot; result=50>&amp;#13;
   <datetime year=2000 month=12 day=25 hour=5 &amp;#13;
    minute=50 second=45  millisecond=750/>.minute&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Now&amp;quot; result=true>&amp;#13;
  datetime.<current/>.<is_a datetime/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Create duration&amp;quot; result=<duration months=1 days=9/>>&amp;#13;
    <duration months=1 days=9/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;date plus duration&amp;quot;  result=<date 2005 5 3/>>&amp;#13;
   <date 2005 4 1/>.<plus <duration days=32/>/>&amp;#13;
</test>&amp;#13;
&amp;#13;
&amp;#13;
&amp;#13;
<h3>Grouping expressions: do</>&amp;#13;
<test name=&amp;quot;Execute all ...&amp;quot; result=1.0>  &amp;#13;
  <do 0.<sin/> 0.<cos/> />&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;&amp;amp; return last result&amp;quot; result=&amp;quot;all done&amp;quot; <do> <set x=&amp;quot;all done&amp;quot;/> x </do>/>&amp;#13;
&amp;#13;
<test name=&amp;quot;Code within HTML&amp;quot; result=<h1 0=8/>  >&amp;#13;
 <h1> <do 2.<power 3/>/> </h1>&amp;#13;
</test>&amp;#13;
&amp;#13;
<h3>Conditional flow control: if</>&amp;#13;
<test name=&amp;quot;Condition-action pairs, use do for big action, 'else' means true, return executed action&amp;quot; result=&amp;quot;just right&amp;quot;>&amp;#13;
  <if> number.double.pi.<more 4/> &amp;quot;high&amp;quot;&amp;#13;
       number.double.pi.<less 3/> <do> <echo &amp;quot;bug&amp;quot;/> &amp;quot;low&amp;quot; </do>&amp;#13;
       else &amp;quot;just right&amp;quot; &amp;#13;
  </if>&amp;#13;
</test> &amp;#13;
&amp;#13;
<test name=&amp;quot;Returns null if no match&amp;quot; result=null>&amp;#13;
  <if> 3.<is 2/> &amp;quot;never happens&amp;quot; </if>&amp;#13;
</test>&amp;#13;
&amp;#13;
&amp;#13;
&amp;#13;
&amp;#13;
<h3>Iteration: for_each</>&amp;#13;
&amp;#13;
<test name=&amp;quot;Iterate over vector fields, return last&amp;quot; result=<v 1 &amp;quot;b&amp;quot;/>>&amp;#13;
  <vector &amp;quot;a&amp;quot; &amp;quot;b&amp;quot;/>.<for_each> <vector key value/></>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Iterate over string fields&amp;quot; result=15>&amp;#13;
  <thing a=7 b=8/>.<for_each include=string_key combiner=plus> &amp;#13;
    value </for_each>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Iterate over 0 thru 3&amp;quot; result=6>&amp;#13;
  4.<for_each combiner=plus> value </>  <!-- 0.<plus 1 2 3/>-->&amp;#13;
</test>&amp;#13;
&amp;#13;
&amp;#13;
<test name=&amp;quot;Return vector of values&amp;quot;  result=<v 70 80 90/>>&amp;#13;
 <vector 7 8 9/>.<for_each combiner=insert> value.<times 10/> </>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Return filtered vector&amp;quot; result=<v &amp;quot;k1&amp;quot; &amp;quot;k2&amp;quot;/> >&amp;#13;
  <v &amp;quot;k1&amp;quot; &amp;quot;j1&amp;quot; &amp;quot;j2&amp;quot; &amp;quot;k2&amp;quot;/>.<for_each combiner=insert>&amp;#13;
          <if> value.<starts_with &amp;quot;k&amp;quot;/> value &amp;#13;
               else skip&amp;#13;
          </if> </for_each>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Exclude fields&amp;quot; result=<vector 98/>>&amp;#13;
  <vector 97 98 99/>.<for_each exclude=<vector 0 2/> combiner=insert>&amp;#13;
   value </for_each>&amp;#13;
</test> &amp;#13;
 &amp;#13;
<h3>Methods, Functions, Macros: method</>&amp;#13;
<test name=&amp;quot;method &amp;amp; call&amp;quot; result=5>&amp;#13;
  <method five> 5 </>        <five/>&amp;#13;
</test>&amp;#13;
<test name=&amp;quot;One required arg&amp;quot; result=6>&amp;#13;
  <method twice x=req> x.<plus x/> </>        <twice 3/>&amp;#13;
</test>&amp;#13;
<test name=&amp;quot;Method on person&amp;quot; result=ignore do_not_run=true>&amp;#13;
 person.&amp;lt;method hire &amp;#13;
</test>&amp;#13;
<test name=&amp;quot;Required arg&amp;quot;  result=ignore do_not_run=true>  &amp;#13;
  manager=req &amp;#13;
</test>&amp;#13;
<test name=&amp;quot;Typed arg&amp;quot; result=ignore do_not_run=true>  &amp;#13;
  position=req=string &amp;#13;
</test>&amp;#13;
<test name=&amp;quot;Default value&amp;quot; result=ignore do_not_run=true>  &amp;#13;
  date=<datetime/>.<current/>&amp;#13;
</test>  &amp;#13;
<test name=&amp;quot;Optional, no default&amp;quot; result=ignore do_not_run=true>  &amp;#13;
  salary=opt=number &amp;#13;
</test>&amp;#13;
<test name=&amp;quot;End parameters&amp;quot; result=ignore do_not_run=true> &amp;#13;
&amp;gt;&amp;#13;
</test>&amp;#13;
<test name=&amp;quot;Implementation&amp;quot; result=ignore do_not_run=true>&amp;#13;
  <join &amp;quot;Boss: &amp;quot; manager  &amp;quot; hires: &amp;quot;  position />&amp;#13;
</test>&amp;#13;
<test name=&amp;quot;End method&amp;quot; result=ignore do_not_run=true>&amp;#13;
 &amp;lt;/method&amp;gt; &amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Call the method&amp;quot; result=&amp;quot;Boss: J.B. hires: sales&amp;quot; do_not_run=true>&amp;#13;
   person.<hire &amp;quot;J.B.&amp;quot;  &amp;quot;sales&amp;quot;/>&amp;#13;
</test> &amp;#13;
&amp;#13;
<test name=&amp;quot;Execution kinds permit delayed execution&amp;quot; result=<v 9 &amp;quot;junk&amp;quot;/>>&amp;#13;
   <method m x=req=string=ekind.string> &amp;#13;
    <if> x.<starts_with &amp;quot;<&amp;quot;/> <execute source=x/> else x </if></>&amp;#13;
   <v <m <plus 4 5/>/> <m junk/>/>&amp;#13;
</test> &amp;#13;
&amp;#13;
<!-- page 3 --> &amp;#13;
<h3>Classes: class</> &amp;#13;
<test name=&amp;quot;Define class&amp;quot; result=person>&amp;#13;
  <class person first=req last=opt zip=opt/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;... with param types&amp;quot; result=person>&amp;#13;
 <class person first=req=string &amp;#13;
   last=req=string zip=opt=integer/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Construct instance&amp;quot; result=ignore>&amp;#13;
  <person zip=10483 first=&amp;quot;Mike&amp;quot; last=&amp;quot;Jones&amp;quot;/>&amp;#13;
</test> &amp;#13;
&amp;#13;
<test name=&amp;quot;...without keywords&amp;quot; result=ignore>&amp;#13;
  <person &amp;quot;Mike&amp;quot; &amp;quot;Jones&amp;quot; 10483/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Define subtype&amp;quot; result=person.employee>  &amp;#13;
  <class person.employee/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Define a class with a method and a subtype&amp;quot; result=person>  &amp;#13;
<class person last=req first=opt><!--put req params 1st-->&amp;#13;
   <method hire> &amp;quot;code&amp;quot; </method>&amp;#13;
   <class employee employee_id=req> &amp;quot;more defs&amp;quot; </> </class> &amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Get subclass&amp;quot; result=ignore> &amp;#13;
  person.employee <!-- classes hold subclasses in fields -->&amp;#13;
</>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Special methods are : 'make' as constructor, 'to_htm' for display&amp;quot; result=person>  &amp;#13;
<class person name=req>&amp;#13;
 <method make> _subject.<set age=10/> _subject </>&amp;#13;
 <method to_htm> <h1><do .name/></h1>.<to_htm/> </> </>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Multiple inheritance&amp;quot; result=ignore>   &amp;#13;
  <<union <class car wheels=4/> <class boat hull=&amp;quot;mono&amp;quot;/>/>&amp;#13;
     wheels=4 hull=&amp;quot;twin&amp;quot;/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<h3>Presentation: XHTML and Hypertext</> &amp;#13;
<test name=&amp;quot;All XHTML is included in Water&amp;quot; result=ignore do_not_run=true>&amp;#13;
 html, body, table, form, script, style, div, span, b, i, etc.&amp;#13;
 (Tag names can use either upper or lower case.)&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Mix html and Water&amp;quot; result=ignore>&amp;#13;
  <font size=3.<plus 4/>> <i>Now <do datetime.<current/>/></i></font>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;CSS&amp;quot; result=ignore do_not_run=true>  &amp;#13;
  <h1 style=<style color=&amp;quot;red&amp;quot;/> >Title</h1>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<h3>Web server using HTML form</>&amp;#13;
&amp;#13;
<test name=&amp;quot;XHTML input&amp;quot; result=ignore do_not_run=true>&amp;#13;
  form, input, select, textarea&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Web app on integer. Action is method to call with arg from input when submit button clicked&amp;quot; result=ignore>&amp;#13;
 <method integer.square in=2>&amp;#13;
    <FORM action=&amp;quot;/square&amp;quot;>&amp;#13;
      Enter an integer:<INPUT name=&amp;quot;in&amp;quot; value=in.<power 2/> />&amp;#13;
      <INPUT type=&amp;quot;submit&amp;quot; value=&amp;quot;Square It&amp;quot;/> </FORM></method>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Launch server&amp;quot; result=ignore>&amp;#13;
   <server integer port=9090/> &amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Get page from Water&amp;quot; result=ignore>&amp;#13;
  <resource &amp;quot;http://localhost:9090/square?&amp;quot;/>.content &amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Browse the app&amp;quot; result=ignore do_not_run=true>&amp;#13;
   <open_browser_window &amp;quot;http://localhost:9090/square?&amp;quot;/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
 &amp;#13;
<h3>Importing/parsing</> &amp;#13;
<test name=&amp;quot;string to primitive&amp;quot; result=123>&amp;#13;
  primitive.<from &amp;quot;123&amp;quot;/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Returns vector&amp;quot; result=<v &amp;quot;C&amp;quot; &amp;quot;Fry&amp;quot; &amp;quot;2&amp;quot;/>>&amp;#13;
  &amp;quot;C,Fry,2&amp;quot;.<make_object field_separator=&amp;quot;,&amp;quot;/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Returns person&amp;quot; result=<person first_name=&amp;quot;M&amp;quot; last_name=&amp;quot;Joy&amp;quot; zip=&amp;quot;28840&amp;quot;/>>&amp;#13;
  <class person first_name=req last_name=req zip=&amp;quot;00000&amp;quot;/>&amp;#13;
  &amp;quot;M|Joy|28840&amp;quot;.<make_object maker=person field_separator=&amp;quot;|&amp;quot;/>&amp;#13;
</test> &amp;#13;
&amp;#13;
<test name=&amp;quot;Vector of objects&amp;quot; &amp;#13;
  result=<v <person &amp;quot;C&amp;quot; &amp;quot;Fry&amp;quot; &amp;quot;28838&amp;quot;/> <person &amp;quot;M&amp;quot; &amp;quot;Plusch&amp;quot; &amp;quot;02481&amp;quot;/>/>>&amp;#13;
  &amp;quot;C,Fry,28838===M,Plusch,02481&amp;quot;.&amp;#13;
    <make_objects person field_separator=&amp;quot;,&amp;quot; object_separator=&amp;quot;===&amp;quot;/>&amp;#13;
</test> &amp;#13;
&amp;#13;
<test name=&amp;quot;Convert to XHTML&amp;quot; &amp;#13;
      result='<body bgcolor=&amp;quot;red&amp;quot;>&amp;#13;
hello&amp;#13;
</body>' &amp;#13;
      >&amp;#13;
  &amp;quot;<body bgcolor=red>hello</body>&amp;quot;.<html_to_xhtml/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<h3>Output</> &amp;#13;
<test name=&amp;quot;Object to String&amp;quot; result= &amp;quot;<b>Water</b>&amp;quot; > &amp;#13;
 <b>Water</>.<to_htm/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<!--  cut due to space&amp;#13;
<test name=&amp;quot;null is empty string&amp;quot; result=&amp;quot;&amp;quot;>&amp;#13;
  null.<to_htm/>&amp;#13;
</test> -->&amp;#13;
&amp;#13;
<test name=&amp;quot;Format XML 1.0&amp;quot; result=&amp;quot;<thing>&amp;#13;
 <fields>weight=123 </fields></thing>&amp;quot;>&amp;#13;
   <thing weight=123/>.<to_xml/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Make path if possible&amp;quot; result=&amp;quot;number.integer&amp;quot;>  &amp;#13;
   number.integer.<to_cxs/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Text, no markup&amp;quot; result=&amp;quot;thing size=xl&amp;quot; do_not_run=true>  &amp;#13;
   <thing size=&amp;quot;xl&amp;quot;/>.<to_txt/>&amp;#13;
</test>&amp;#13;
&amp;#13;
<h3>Tools</> &amp;#13;
&amp;#13;
<test name=&amp;quot;Print to Java console&amp;quot; result=5>&amp;#13;
  <echo &amp;quot;X: &amp;quot; <plus 2 3/>/> <!-- all arg values printed-->&amp;#13;
</test>&amp;#13;
&amp;#13;
<test name=&amp;quot;Inspect object or path&amp;quot; result=8 do_not_run=true>&amp;#13;
  &amp;quot;foo&amp;quot;.ii    thing.<iip p/>    3.<plus 4/>.ii.<plus 1/>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Make test case&amp;quot; result=ignore>&amp;#13;
 <test result=5> 5.<minimum 8/> </test>&amp;#13;
</test>&amp;#13;
 &amp;#13;
<test name=&amp;quot;Make documentation&amp;quot;  result=ignore>&amp;#13;
  <doc on=minimum> return the smallest number</doc>&amp;#13;
</test>&amp;#13;
" on_path="bk.topic.of.quick_reference"/> <do false.chapter_group.of.advanced/>=<doc on=false.chapter_group.of.advanced on_path="bk.chapter_group.of.advanced"/> <do bk.chapter.of.water_contract/>=<doc on=bk.chapter.of.water_contract on_path="bk.chapter.of.water_contract"/> <do bk.chapter.of.thread/>=<doc on=bk.chapter.of.thread on_path="bk.chapter.of.thread"/> <do street_address/>=<doc on=street_address on_path="street_address"/> <do bk.chapter.of.html_layout/>=<doc on=bk.chapter.of.html_layout on_path="bk.chapter.of.html_layout"/> <do bk.topic.of.deploy_server/>=<doc on=bk.topic.of.deploy_server on_path="bk.topic.of.deploy_server"/> <do bk.chapter_group.of.flow/>=<doc on=bk.chapter_group.of.flow on_path="bk.chapter_group.of.flow"/> <do bk.chapter_group.of.method_class/>=<doc on=bk.chapter_group.of.method_class on_path="bk.chapter_group.of.method_class"/> <do bk.chapter.of.fields/>=<doc on=bk.chapter.of.fields on_path="bk.chapter.of.fields"/> <do bk.chapter.of.expression/>=<doc on=bk.chapter.of.expression on_path="bk.chapter.of.expression"/> <do bk.chapter.of.java_water/>=<doc on=bk.chapter.of.java_water on_path="bk.chapter.of.java_water"/> <do bk.chapter.of.soap_and_wsdl/>=<doc on=bk.chapter.of.soap_and_wsdl on_path="bk.chapter.of.soap_and_wsdl"/> <do bk.chapter.of.special_xml/>=<doc on=bk.chapter.of.special_xml on_path="bk.chapter.of.special_xml"/> <do bk.chapter.of.syntax/>=<doc on=bk.chapter.of.syntax on_path="bk.chapter.of.syntax"/> <do bk.chapter.of.regex/>=<doc on=bk.chapter.of.regex on_path="bk.chapter.of.regex"/> <do bk.chapter.of.boolean/>=<doc on=bk.chapter.of.boolean see_also=<vector boolean/> on_path="bk.chapter.of.boolean"/> <do width_height/>=<doc on=width_height on_path="width_height"/> <do bk.htm_index_entries/>=<doc on=bk.htm_index_entries content_vector=<vector "
&amp;#13;
 HTML format for an entry in the index.&amp;#13;
 If only one object in entry, and object name is same as&amp;#13;
   index entry key, then put hyperlink around index key,&amp;#13;
   otherwise, show index key, then links to each subpart.&amp;#13;
"/> "
&amp;#13;
 HTML format for an entry in the index.&amp;#13;
 If only one object in entry, and object name is same as&amp;#13;
   index entry key, then put hyperlink around index key,&amp;#13;
   otherwise, show index key, then links to each subpart.&amp;#13;
" on_path="bk.htm_index_entries"/> <do bk.chapter.of.ekind/>=<doc on=bk.chapter.of.ekind on_path="bk.chapter.of.ekind"/> <do lat_long/>=<doc on=lat_long on_path="lat_long"/> <do bk.chapter.of.type_system/>=<doc on=bk.chapter.of.type_system on_path="bk.chapter.of.type_system"/> <do bk.chapter.of.level_1_examples/>=<doc on=bk.chapter.of.level_1_examples on_path="bk.chapter.of.level_1_examples"/> <do bk.chapter_group.of.ui/>=<doc on=bk.chapter_group.of.ui on_path="bk.chapter_group.of.ui"/> <do bk.special_symbol.of.new_class/>=<doc on=bk.special_symbol.of.new_class on_path="bk.special_symbol.of.new_class"/> <do bk.chapter.of.rich_ui_layout/>=<doc on=bk.chapter.of.rich_ui_layout on_path="bk.chapter.of.rich_ui_layout"/> <do bk.topic.of.class_hierarchy/>=<doc on=bk.topic.of.class_hierarchy on_path="bk.topic.of.class_hierarchy"/> <do doc/>=<doc on=doc on_path="doc"/> <do bk.chapter_group.of.concurrent/>=<doc on=bk.chapter_group.of.concurrent on_path="bk.chapter_group.of.concurrent"/> <instances "true"=bk.term.of.true "false"=bk.term.of.false parameter=bk.term.of.parameter more=bk.term.of.more argument=bk.term.of.argument less_or_equal=bk.term.of.less_or_equal null=bk.term.of.null xml_header=bk.term.of.xml_header _name="of" less=bk.term.of.less language=bk.term.of.language variable=bk.term.of.variable local_variable=bk.term.of.local_variable bar=bk.term.of.bar syntax=bk.term.of.syntax foo=bk.term.of.foo doctype=bk.term.of.doctype more_or_equal=bk.term.of.more_or_equal/>=<doc on=<instances "true"=bk.term.of.true "false"=bk.term.of.false parameter=bk.term.of.parameter more=bk.term.of.more argument=bk.term.of.argument less_or_equal=bk.term.of.less_or_equal null=bk.term.of.null xml_header=bk.term.of.xml_header _name="of" less=bk.term.of.less language=bk.term.of.language variable=bk.term.of.variable local_variable=bk.term.of.local_variable bar=bk.term.of.bar syntax=bk.term.of.syntax foo=bk.term.of.foo doctype=bk.term.of.doctype more_or_equal=bk.term.of.more_or_equal/> on_path="bk.term.of"/> <do bk.chapter_group.of.object_to_string/>=<doc on=bk.chapter_group.of.object_to_string on_path="bk.chapter_group.of.object_to_string"/> <do bk.topic.of.standalone/>=<doc on=bk.topic.of.standalone on_path="bk.topic.of.standalone"/> <do bk.chapter.of.Method/>=<doc on=bk.chapter.of.Method on_path="bk.chapter.of.Method"/> <do bk.chapter_group.of.syntax/>=<doc on=bk.chapter_group.of.syntax on_path="bk.chapter_group.of.syntax"/> <do bk.chapter.of.html_input/>=<doc on=bk.chapter.of.html_input on_path="bk.chapter.of.html_input"/> <do bk.chapter.of.level_2_examples/>=<doc on=bk.chapter.of.level_2_examples on_path="bk.chapter.of.level_2_examples"/> <do bk.topic.of.hosted/>=<doc on=bk.topic.of.hosted on_path="bk.topic.of.hosted"/> <do bk.chapter.of.active_values/>=<doc on=bk.chapter.of.active_values on_path="bk.chapter.of.active_values"/> <do bk.chapter.of.format_other/>=<doc on=bk.chapter.of.format_other on_path="bk.chapter.of.format_other"/> <do bk.topic.of.inspect/>=<doc on=bk.topic.of.inspect on_path="bk.topic.of.inspect"/> <biz.places ui_view=<ui_view width=512 height=256 style=<style/> original_visible=true _nbr=0/> draggable=false _biz_id=0 _part_name_key="_biz_id"/>=<doc on=<biz.places ui_view=<ui_view width=512 height=256 style=<style/> original_visible=true _nbr=0/> draggable=false _biz_id=0 _part_name_key="_biz_id"/> on_path="biz.places.of.0"/>/>
  _other_unkeyed=opt=wob=ekind.string="_add_to_environment"
/>