Julia Programming Language
Function, constants, globals
General Usage
question
,
constants
simeonschaub
October 22, 2020, 8:10am
15
In this case, you could just do:
function test() @eval const x = 1 end
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
"`const static`" function parameters
General Usage
31
4469
November 9, 2017
Passing constant configuration values to modules
General Usage
module
7
1799
January 28, 2021
Confused about global variables
General Usage
13
8675
June 27, 2017
Constant function arguments
New to Julia
question
,
proposal
14
7608
February 1, 2018
Use of constant types
New to Julia
2
333
March 20, 2020