Julia Programming Language
Variable scope in functions
General Usage
question
,
scope
mauro3
December 20, 2017, 1:51pm
3
I think you need a
global user_counter
inside your function.
show post in topic
Related topics
Topic
Replies
Views
Activity
Local variable inside a loop: why it ERRORs
New to Julia
question
14
407
September 27, 2025
UndefVarError: ncounter
General Usage
question
1
675
November 9, 2020
Problem in variable definition in loop
New to Julia
11
4009
January 30, 2022
Undefined variable in loop
New to Julia
question
4
2305
December 11, 2021
Variable not defined when incrementing its value in julia
New to Julia
question
,
scope
2
3365
April 30, 2019