0P3N Blog Blog Post
Ready to Start Your Career?
Create Free Account
By: Rattar
April 27, 2017

Creating a post with Juliar

By: Rattar
April 27, 2017
By: Rattar
April 27, 2017
Hello Cybrarians,Today we will be creating a program that stores name into a variable and prints it out!We will be using the new built-in editor for Juliar! You can download the latest version of Juliar from here: https://juliar.org/downloads.php First, you want to double-click the jar file to run. An editor should then pop up!Go to File -> NewThis will create a new tab. Feel free to save it, although it is not necessary!Next, we'll start by creating our main function:
function main() = {}
To make sure it works, let's put in a print statement "Hello "So, our function should look like:function main() ={print("Hello ");}Then, go to Run -> Run Interpreter  (When writing this article [4/27/2017], compiler is not working yet)Now it should print out Hello.Now, let's store some friends into a string. For example, I've stored "Bl4ackOr4cle" into a string x.So, x is a reference to "Bl4ckOr4cle". Imagine x is being replaced by that word. Got it? Okay, moving on. Now let's print using printLine.
printLine(x);
This will get the x reference which points to Bl4ckOr4cle and print it below!You might be wondering the difference between print() and printLine().The only difference is printLine() prints on a new line, while print() prints on a current line.Simple :)JuliarFutureHope you enjoyed the tutorial!

Join over 2 million IT and cyber professionals advancing their careers

OR REGISTER WITH

Google

Already have an account? Sign In »

Ready to Share Your Original Content?

Build your Cybersecurity or IT Career

Accelerate in your role, earn new certifications, and develop cutting-edge skills using the fastest growing catalog in the industry