Skip to content

Commit

Permalink
Add example for variable dims
Browse files Browse the repository at this point in the history
  • Loading branch information
mgkurtz committed May 11, 2023
1 parent e2e4064 commit 05bfa48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/misc/VarNames.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,13 @@ julia> y
julia> z
"z"
julia> v = [1,4,1];
julia> @f "variable dims show case" x[v...]; x
1×4×1 Array{String, 3}:
[:, :, 1] =
"y[1,1,1]" "y[1,2,1]" "y[1,3,1]" "y[1,4,1]"
```
"""
macro add_varnames_interface(e::Expr)
Expand Down

0 comments on commit 05bfa48

Please sign in to comment.