DaLiLa manual Comments are prefixed with double forward slashes. // this is a comment. // not executed text Any line with a double forward slashes "//" will be ignored. Special Reserved Words: ALL - for Integers and Doubles - displays all the defined integers or doubles AF2 - for Integers and Doubles - Adds the first two defined integers or doubles and shows the sum AF3 - for Integers and Doubles - Adds the first three defined integers or doubles and shows the sum AVG - for Integers and Doubles - shows the average of all the defined integers or doubles CNT - for Integers and Doubles - shows the number (count) of all the defined integers or doubles MAX - for Integers and Doubles - shows the maximum value of all the defined integers or doubles MIN - for Integers and Doubles - shows the minimum value of all the defined integers or doubles SUM - for Integers and Doubles - Adds and shows the sum or all the defined integers or doubles. BLUE - for Text CYAN - for Text GREEN - for Text MAGENTA - for Text RED - for Text WHITE - for Text YELLOW - for Text Cell Types: _S[value] - display a string cell value _I[value] - display one or more integers _ABSI[value] - display an absolute value of a particular integer _D[value] - display one or more doubles _SQRD[value] - display the square root of a particular double _ABSD[value] - display an absolute value of a particular double _RDUD[value] - display a rounded up value of a particular double Types: NOTE: All types can be variables or Cells except Class. Class can only be a variable. int: Note: DaLiLa tries to be data safe. When defining number, the input is sanitized. int: soda=pop32tr; will store 32 in variable 'soda' int: tuna=asd33; will store 33 in variable 'tuna' int: mark=34add; will store 34 in variable 'mark' int: jane=35.33; will store 35 in variable 'jane' int: carp=36+34; will store 36 in variable 'carp' int: gold=37; will store 37 in variable 'gold' dbl: Class: String: Functions: main()
Code.delay(); A function used to delay the execution of code from 1 to 9 seconds. Valid values are 1 through 9.
Code.exit(); A function used to terminate the execution of code.
Code.gc(); A garbage collector function.
Code.keyWait();
Disp.clearScreen(); A function that clears the display screen.
Disp.print(); A function used to print text the screen. Example: Disp.print("Hello"); Will print Hello to the screen.
Disp.printDate(); A function used to print date as text to the screen. Example: Disp.printDate(); Will print date to the screen. Format: Tue 07/29/2025
Disp.println() A function used to print text and data to the screen. Disp.printlin() also adds a return at the end of output. Example 1: Disp.println("Hello"); Will print Hello to the screen. Example 2: Disp.println(_I[3]); Will print the value of the third intiger to the screen. Example 3: Disp.println(_I[SUM]); Will print the sum of all defined intigers to the screen.
Disp.printver(); A function to show the version of DaLiLa script engine that is being used.
Disp.textColor(); A function to change the color of the text. 1 = RED 2 = GREEN 3 = YELLOW 4 = BLUE 5 = MAGENTA 6 = CYAN 7 = WHITE Example 1: Disp.textColor(2); Will change text to green. Example 2: Disp.textColor(RED); Will change text to red.
File(); A function to update or create file(s) on the filesystem.
File.createDirectory(); A function to create a directory on the filesystem.
File.createFile(); A function used to create a file on the filesystem. Example: Files.createFile("testfile.txt");
File.delete(); A function used to delete a file or folder on the filesystem. Example: Files.delete("testfile.txt");
File.list(); A function to list the files that are currently in the working directory.
String.append(); A function used to append a string at the end of a string. Example: String.append("Abe",StringNameVar);
String.insert(); A function used to insert a string into a string. Example: String.insert("Abe",StringNameVar,8);