Hello World
This guide will guide you on how to create a simple hello world
program, main purpose is to check if you have installed Fluentix correctly.
I. File creation
Create a .flu
file (or .fl
for extended version), then insert the following:
show: 'Hello, world!'
Remember to save the file, and that’s File Creation done!
II. Run
Now, to run the code you’ve just created, type in the following to execute the code:
flu main.flu
[file-name] : The name you put, it does not matter, as long as you put in the same name.
[flu/fl] : The file extension, see differences.
After executing, you should see (for example file is main.flu):
$ flu main.fluHello, world!
That should be it, congrats!