VMD-L Mailing List
From: Eric Smoll (ericsmoll_at_gmail.com)
Date: Mon Apr 10 2017 - 10:27:23 CDT
- Next message: Eric Smoll: "function returned by atomselect; use global atomselect function from proc scope"
- Previous message: João Ribeiro: "TCBG Live Computational Biophysics Workshop Lectures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hello VMD users,
Accessing a function returned by atomselect in a proc scope can be done by
specifying the function with the keyword global:
set X [atomselect top all]
proc test {} {
global X
}
However, I am having trouble updating the global atomselect function in a
proc scope:
set X [atomselect top all]
proc test {} {
global X
}
Best,
Eric
- Next message: Eric Smoll: "function returned by atomselect; use global atomselect function from proc scope"
- Previous message: João Ribeiro: "TCBG Live Computational Biophysics Workshop Lectures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]