Julia Programming Language
How to pass variable into loop?
New to Julia
question
oheil
June 24, 2019, 1:26pm
2
a = 10 for i in 1:100 global a b = a*2 a = b*0.1 end
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Usage of loops for defining new variables
General Usage
question
,
loops
6
9586
August 26, 2018
Global variables not accessible inside loop
New to Julia
8
2107
April 4, 2019
"UndefVarError" in loop
New to Julia
2
3609
January 17, 2019
Problem in variable definition in loop
New to Julia
11
3969
January 30, 2022
Confused about global vs local scoping in for loops in 1.0
New to Julia
18
5922
November 5, 2018