Back to Mover page.

Subroutine

Calling another RosettaScript from within a RosettaScript.

<Subroutine name="(&string)" xml_fname="(&string)"/>
  • xml_fname: the name of the RosettaScript to call.

This definition in effect generates a Mover that can then be incorporated into the RosettaScripts PROTOCOLS section. This allows a simplification and modularization of RosettaScripts. Note that the <xi:include href=(string) /> syntax allows more general inclusion of pieces of RosettaScripts XML anywhere in a script, with full variable substitution.

Recursions are allowed but will cause havoc.

Autogenerated Tag Syntax Documentation:


XRW TO DO

<Subroutine name="(&string;)" xml_fname="(&string;)" />
  • xml_fname: Filename for the XML to execute

See Also