Message Boards Message Boards

0
|
3861 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Locating variables in nested modules

This code works.

Module [{x1, x2},
  Module [{},
   x1 = "111";
   ];
  Module [{},
   x2 = "222";
   ];
  Row [{x1, "-", x2}]
  ]

The same code separated into three attachments does not work. What am I doing wrong? What is the solution? Thanks a lot.

Attachments:
POSTED BY: Ernesto Espinosa
Posted 3 years ago

Check out the "possible issues" section of the documentation for NotebookEvaluate[]. It looks like you might have to set the context.

POSTED BY: Mike Besso
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract