Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Access variable values

$
0
0

@compleat wrote:

Pardon my ignorance, but I have a very basic question.

Suppose I have a variable and I want to assign the value of that variable to
the value of another variable without structurally linking the two variables
(i.e., the assignment has only to do with numbers).

One way I was able to do this in Flux was when I used the ‘<variable_name>.data’ option, which referred to the data in <variable_name> but not the tracked details, etc.

What I am asking for is a different sort of assignment, the capability of setting a variable equal to the value of another variable but not to the variable itself.

Posts: 7

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles