DLiteScript

Your First Script

If you haven’t already installed DLiteScript, please consult the installation guide.

  1. Create a file called main.dl in any directory you like

  2. Copy and paste the following contents in the file

    1
    2
    
    var person string = "John"
    printf("Hello, %s!\n", person)
    
  3. 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.