You can also assign them to variables and switch back and forth.
Module A = apple
Module G = grape
for object in A do
{
//something on the objects in A
}
for object in G do
{
//something on the objects in G
}
for object in A do
{
//back to A
}
Until you close the modules they remain open in the mode you started in. Also in response to your question about read()
and edit()
, those function do not open a new instance or refresh the work you have done. They will respect the current status of the module and give you a handle back to it (unless you change modes, edit to read would ask you if you want to save your changes). So either method works. Glad you figured out a solution though, good luck in the future.