the number itself is really part of a complex syntax involving numbers,
number ranges, and such. So the parser doesn't catch that when you put a
variable in. (That's not evaluated until later.)
You don't need the "@" when referring to variables with the "=" sign:
select resno=i
On Thu, Jan 8,
ps this works if you use i as a string:
i = "3-5"
select @i
On Thu, Jan 8, 2015 at 9:21 AM, Otis Rothenberger
wrote:
> I'm not sure if this is relevant because I don't fully understand the
> context of this email chain. I'll offer this thought anyway.
>
> A while back (years) there was a discu
I'm not sure if this is relevant because I don't fully understand the context
of this email chain. I'll offer this thought anyway.
A while back (years) there was a discussion of global vs local Jmol variables.
I also did not fully understand this discussion! Nevertheless, this made all
my glob
Hi Rolf,
Interesting that direct variable substitution doesn't work, thanks again!
On Thu Jan 08 2015 at 4:48:26 AM Rolf Huehne wrote:
> On 01/08/2015 01:39 PM, Nelson Liu wrote:
> > Ah, I thought this was a continuation of the previous email, but i guess
> I
> > just hit reply. Can I use @i to
On 01/08/2015 01:39 PM, Nelson Liu wrote:
> Ah, I thought this was a continuation of the previous email, but i guess I
> just hit reply. Can I use @i to select residue numbers? I looked in the
> documentation of the select statement, and it seemed like there was no
> explicit property for residue n
Ah, I thought this was a continuation of the previous email, but i guess I
just hit reply. Can I use @i to select residue numbers? I looked in the
documentation of the select statement, and it seemed like there was no
explicit property for residue numbers.
Thanks!
On Thu Jan 08 2015 at 4:37:02 AM
On 01/08/2015 01:23 PM, Nelson Liu wrote:
> Hi Rolf,
> I was wondering how one would utilize a variable in a FOR loop in Jmol.
> This is my current code, but it doesn't select any atoms.
> for (var i = 5; i< 92; i++){
> select @i and chain = A;
> }
>
Nelson, please ask on the jmol-users list s
7 matches
Mail list logo