Molecular Playground/Procedures: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Eric Martz (talk | contribs)
Eric Martz (talk | contribs)
Line 58: Line 58:
</li><li><!-- sublist -->
</li><li><!-- sublist -->
'''Disable the ''load'' command:''' Put a hash sign (#) before the load command in the state script. You will find this command at the end of the second block of commands, namely, at the end of the block that begins "function _setFileState() {". Prefixing "#" comments it out, disabling it. The result should look something like this:
'''Disable the ''load'' command:''' Put a hash sign (#) before the load command in the state script. You will find this command at the end of the second block of commands, namely, at the end of the block that begins "function _setFileState() {". Prefixing "#" comments it out, disabling it. The result should look something like this:
:  #load /*file*/"http://proteopedia.org/cgi-bin/getpdbz?3ckz";
:  '''#'''load /*file*/"http://proteopedia.org/cgi-bin/getpdbz?3ckz";
Save the state script file as '''[[Help:Plain text editors|plain text]]''' with the load command disabled.
Save the state script file as '''[[Help:Plain text editors|plain text]]''' with the load command disabled.
<!-- There is no "initialize" command in the state scripts saved within Proteopedia, but there is one in the _setState()
<!-- There is no "initialize" command in the state scripts saved within Proteopedia, but there is one in the _setState()