{"id":742,"date":"2022-07-27T04:24:49","date_gmt":"2022-07-27T04:24:49","guid":{"rendered":"\/wolfram-u\/?post_type=courses&#038;p=742"},"modified":"2026-07-17T17:36:50","modified_gmt":"2026-07-17T17:36:50","slug":"localizing-notebook-variables-nb017","status":"publish","type":"courses","link":"https:\/\/www.wolfram.com\/wolfram-u\/courses\/notebooks\/localizing-notebook-variables-nb017\/","title":{"rendered":"Localizing Variables in Notebooks"},"content":{"rendered":"<p>Global variables can create conflicts with future calculations using the same variable names, so it is often helpful to limit variables to run once or localize them. This video will show you several ways to localize variables and prevent global variables from interfering with past or future code. <\/p>","protected":false},"excerpt":{"rendered":"Global variables can create conflicts with future calculations using the same variable names, so it is often helpful to limit variables to run once or localize them. This video will show you several ways to localize variables and prevent global variables from interfering with past or future code. ","protected":false},"featured_media":743,"parent":0,"template":"","meta":{"footnotes":""},"course_format":[22],"class_list":["post-742","courses","type-courses","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.wolfram.com\/wolfram-u\/wp-json\/wp\/v2\/courses\/742"}],"collection":[{"href":"https:\/\/www.wolfram.com\/wolfram-u\/wp-json\/wp\/v2\/courses"}],"about":[{"href":"https:\/\/www.wolfram.com\/wolfram-u\/wp-json\/wp\/v2\/types\/courses"}],"version-history":[{"count":1,"href":"https:\/\/www.wolfram.com\/wolfram-u\/wp-json\/wp\/v2\/courses\/742\/revisions"}],"predecessor-version":[{"id":4540,"href":"https:\/\/www.wolfram.com\/wolfram-u\/wp-json\/wp\/v2\/courses\/742\/revisions\/4540"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wolfram.com\/wolfram-u\/wp-json\/wp\/v2\/media\/743"}],"wp:attachment":[{"href":"https:\/\/www.wolfram.com\/wolfram-u\/wp-json\/wp\/v2\/media?parent=742"}],"wp:term":[{"taxonomy":"course_format","embeddable":true,"href":"https:\/\/www.wolfram.com\/wolfram-u\/wp-json\/wp\/v2\/course_format?post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}