By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,737 Members | 1,971 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,737 IT Pros & Developers. It's quick & easy.

jmol using applet with perl programming

P: 4
hai guys,

i am doing my work in jmol,i am using jmol applet tags with perl programming so while using jmol with in for loop it creats som problem, i don't know how to clear those problems.
<code>
print "<applet name=\"jmol\" code=\"JmolApplet\" archive=\"../../jmol-10.2.0/JmolApplet.jar\"
width=\"500\" height=\"500\">";
print "<param name=\"load\" value=\"../../jmol-10.2.0/$pdbidsiva;\">";
foreach(@value)
{
print "<param name=\"script\" value=\"spacefill off;wireframe off;select $_;select not (nucleic or protein or hoh);color white;cpk 0.5;wireframe 0.2;rotate x 180;\">
}
<param name=\"progressbar\" value=\"true\">
<param name=\"bgcolor\" value=\"black\">";
print "</applet>";
</code>
while using this code it shows only the last value of that particular for loop value, other wise the value itself not displaying.
pelase can anyone give me suggession about this thing.
by muruga.
Thanks in advance.
Jan 23 '07 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
hai guys,

i am doing my work in jmol,i am using jmol applet tags with perl programming so while using jmol with in for loop it creats som problem, i don't know how to clear those problems.
<code>
print "<applet name=\"jmol\" code=\"JmolApplet\" archive=\"../../jmol-10.2.0/JmolApplet.jar\"
width=\"500\" height=\"500\">";
print "<param name=\"load\" value=\"../../jmol-10.2.0/$pdbidsiva;\">";
foreach(@value)
{
print "<param name=\"script\" value=\"spacefill off;wireframe off;select $_;select not (nucleic or protein or hoh);color white;cpk 0.5;wireframe 0.2;rotate x 180;\">
}
<param name=\"progressbar\" value=\"true\">
<param name=\"bgcolor\" value=\"black\">";
print "</applet>";
</code>
while using this code it shows only the last value of that particular for loop value, other wise the value itself not displaying.
pelase can anyone give me suggession about this thing.
by muruga.
Thanks in advance.
Sounds like some flaw in the perl statements logic rather than something to do with Java programming statements so I'm copying this to the perl forum
Jan 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.