Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/80159e26bf38082bd3da4ccb65b7accd to your computer and use it in GitHub Desktop.
Save dacr/80159e26bf38082bd3da4ccb65b7accd to your computer and use it in GitHub Desktop.
hello world julia script / published by https://github.com/dacr/code-examples-manager #446b83f6-4f90-4150-9dc1-e4b40bdda3db/93b8bb590de78983f9882f11def253dc057334df
#!/usr/bin/env julia
## summary : hello world julia script
## keywords : helloworld, julia, script
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## id : 446b83f6-4f90-4150-9dc1-e4b40bdda3db
## created-on : 2020-10-17T19:03:34Z
## managed-by : https://github.com/dacr/code-examples-manager
## execution : julia script (https://julialang.org/) - run as follow 'julia scriptname.jl' or directly thanks to the shebang
f(x,y) = 2x+y
answer = f(20,2)
println("hello world, the answer is $answer")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment