1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using Profile
- # type definition
- immutable Point{T<:FloatingPoint}
- index::Int
- x::T
- y::T
- end
- #=
- Multi
- Line
- Comment
- =#
- function method0(x, y::Int; version::VersionNumber=v"0.1.2")
- """
- Triple
- Quoted
- String
- """
- @assert π > e
- s = 1.2
- 変数 = "variable"
- if s * 100_000 ≥ 5.2e+10 && true || is(x, nothing)
- s = 1. + .5im
- elseif 1 ∈ [1, 2, 3]
- println("s is $s and 変数 is $変数")
- else
- x = [1 2 3; 4 5 6]
- @show x'
- end
- local var = rand(10)
- var[1:5]
- var[5:end-1]
- var[end]
- opt = "-la"
- run(`ls $opt`)
- '\u2200' != 'T'
- return 5s / 2
- end
|