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