Your First Script
If you haven’t already installed DLiteScript, please consult the installation guide.
Create a file called
main.dl
in any directory you likeCopy and paste the following contents in the file
1 2
var person string = "John" printf("Hello, %s!\n", person)
Run the script
1
dlitescript main.dl
You should now see Hello, John!
in your terminal.
That’s it! You just made your first script in DLiteScript.