[{"data":1,"prerenderedAt":231},["ShallowReactive",2],{"/dict/loop":3,"/dict/loop-surround":220},{"id":4,"title":5,"body":6,"description":186,"extension":187,"meta":188,"navigation":207,"path":216,"seo":217,"stem":218,"__hash__":219},"content/dict/loop.md","NetLogo Dictionary: loop",{"type":7,"value":8,"toc":175},"minimark",[9],[10,11,16,35,61,86,161,167],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","loop","region",[17,18,20],"h3",{"id":19},"loop10",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#loop","doc-noteref","Reference to loop","\nloop\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n1.0\n",[36,37,41],"h4",{"id":38,"className":39},"loop-commands",[40],"section-heading",[21,42,46],{"className":43,"href":45},[44],"section-anchor","#loop--commands",[28,47,50],{"className":48},[49],"prim_example",[51,52,53,54],"p",{},"loop ",[28,55,56,57],{}," ",[58,59,60],"em",{},"commands",[51,62,63,64,76,77,85],{},"Repeats the commands forever, or until the enclosing procedure\nexits through use of the ",[65,66,68],"primitive",{"displayText":67,"permalink":67},"stop",[21,69,67],{"href":70,"className":71,"dataDisplayText":67,"rel":73,"target":75,"title":67},"/dictionary#stop",[72],"netlogo-wiki-link",[74],"noopener","_self"," or ",[65,78,80],{"displayText":79,"permalink":79},"report",[21,81,79],{"href":82,"className":83,"dataDisplayText":79,"rel":84,"target":75,"title":79},"/dictionary#report",[72],[74]," commands.",[87,88,89],"pre",{},[90,91,92,56,98,103,104,109,103,112,116,117,119,120,56,124,56,129,56,133,138,139,142,143,119,145,56,149,152,154,155],"code",{},[28,93,97],{"className":94},[95,96],"token","keyword","to",[28,99,102],{"className":100},[95,101],"variable","move-to-world-edge","  ",[28,105,108],{"className":106},[95,107],"comment",";; turtle procedure",[110,111],"br",{},[28,113,14],{"className":114},[95,115],"command"," [",[110,118],{},"    ",[28,121,123],{"className":122},[95,115],"if",[28,125,128],{"className":126},[95,127],"reporter","not",[28,130,132],{"className":131},[95,127],"can-move?",[28,134,137],{"className":135},[95,136],"number","1"," [ ",[28,140,67],{"className":141},[95,115]," ]",[110,144],{},[28,146,148],{"className":147},[95,115],"fd",[28,150,137],{"className":151},[95,136],[110,153],{},"  ]",[28,156,158,160],{"className":157},[95,96],[110,159],{},"end",[51,162,163,164,166],{},"In this example, ",[90,165,67],{}," exits not just the loop,\nbut the entire procedure.",[51,168,169,170,174],{},"Note: in many circumstances, it is more appropriate to use\na forever button to repeat something indefinitely. See ",[21,171,173],{"href":172},"/programming#buttons","Buttons"," in the\nProgramming Guide.",{"title":176,"searchDepth":177,"depth":178,"links":179},"",5,3,[180],{"id":19,"depth":178,"text":181,"children":182},"\nloop\n\n1.0\n",[183],{"id":38,"depth":184,"text":185},4,"loop  commands","Documentation for the loop primitive.","md",{"source":189,"metadataOutputPath":190,"projectConfig":191,"language":199,"inheritFrom":208,"output":207,"version":192,"layout":209,"dictionaryDisplayName":210,"dictionaryHomeDirectory":211,"indexFileURI":212,"currentItemId":14,"currentItemLabel":14,"primRoot":213,"icon":214,"assetsRoot":215},"autogen/dict/loop.md","content/dict/loop.metadata.yaml",{"version":192,"projectRoot":193,"scanRoot":194,"outputRoot":195,"defaults":196,"engine":202,"partials":203,"dedupeIdenticalDiskWrites":207},"7.0.4",".","autogen","content",{"inheritFrom":197,"language":199,"output":200,"extension":187,"title":201,"version":192},[198],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":204,"extensions":205},[193],[206,187],"mustache",true,[198],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/loop",{"title":5,"description":186},"dict/loop","HB3l5UJh9zLsLyonxx9tng5d0cSYp7nNqOeTbulYzkg",[221,226],{"title":222,"path":223,"stem":224,"description":225},"NetLogo Dictionary: log","/dict/log","dict/log","Documentation for the log primitive.",{"title":227,"path":228,"stem":229,"description":230},"NetLogo Dictionary: lput","/dict/lput","dict/lput","Documentation for the lput primitive.",1777657820548]