Skip to content

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:

main.flu
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):

Terminal window
$ flu main.flu
Hello, world!

That should be it, congrats!