# \#semicolon

**URL:** https://discourse.julialang.org/tag/semicolon/737.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [ERROR: syntax: unexpected semicolon in tuple around REPL](https://discourse.julialang.org/t/error-syntax-unexpected-semicolon-in-tuple-around-repl/129399)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 4\
**Last updated:** [May 28, 2025, 2:22pm UTC](https://discourse.julialang.org/t/error-syntax-unexpected-semicolon-in-tuple-around-repl/129399 "2025-05-28T14:22:48Z")

</div>

Why can’t I write this compound expression? (The context is a Givens rotation) julia\> A = rand(-9:9, 2, 2) 2×2 Matrix{Int64}: -9 -9 -1 1 julia\> t = pi/3 1.0471975511965976 julia\> c, s = cos(t), sin(t); \[c s; -s c…

---

## [I can't suppress printing of a SharedArray; I must be doing something wrong. Help?](https://discourse.julialang.org/t/i-cant-suppress-printing-of-a-sharedarray-i-must-be-doing-something-wrong-help/120876)

<div class="topic-metadata">

**Author:** [@rcorless](https://discourse.julialang.org/u/rcorless)\
**Replies:** 11\
**Last updated:** [October 5, 2024, 12:20am UTC](https://discourse.julialang.org/t/i-cant-suppress-printing-of-a-sharedarray-i-must-be-doing-something-wrong-help/120876 "2024-10-05T00:20:56Z")

</div>

I’m using Julia 1.9.3 on a Windows machine. Two lines in my file ParallelWatson.jl: N = 10^4 y = SharedArray{Float64}(N); In spite of the semicolon, the full Shared Array is printed in the output file when I issue t…

---

## [Help understand the role of semicolon in turning a UnitRange to a Vector](https://discourse.julialang.org/t/help-understand-the-role-of-semicolon-in-turning-a-unitrange-to-a-vector/64856)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 6\
**Last updated:** [July 18, 2021, 1:41pm UTC](https://discourse.julialang.org/t/help-understand-the-role-of-semicolon-in-turning-a-unitrange-to-a-vector/64856 "2021-07-18T13:41:53Z")

</div>

I understand the difference between the UnitRange and Array/Vector types. I sort of get the syntax for stacking two ranges and converting them into a vector using ; and \[\] as in julia\> a = \[1:3;4:5\] 5-element Vector{Int…
