0
$\begingroup$

I have to run a loop of a certain variable than spans through the entire notebook. However the notebook has already been divided into different sections; merging these sections will be a pain and break the structure of the notebook. What can I do? I looked at some answer: Do-Command around entire Notebook (by iterating it from another notebook?) but firstly I could not understand it, and secondly, for each loop I need to save hundreds of variable. The tags don't fit my question but unfortunately I do not have reputation to change, sorry about that. Thank you all!

$\endgroup$
  • 2
    $\begingroup$ I think this would be a great moment to learn about modular programming. By modularizing, you can call the different parts of your code from a centralized small loop. $\endgroup$ – Roman Jul 17 '19 at 18:17
  • $\begingroup$ This may help. It is intended for people who write programs for themselves (some kind of "end user programmers") as opposed to progammers who develop program for/with others, basically for those who write some pieces of code in different cells and want to execute the whole code at the end. $\endgroup$ – andre314 Jul 17 '19 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.