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 Floating points - displays all the defined integers or floating decimal points
  AF2  - for Integers and Floating points - Adds the first two defined integers or floating decimal points and shows the sum
  AF3  - for Integers and Floating points - Adds the first three defined integers or floating decimal points and shows the sum
  AVG  - for Integers and Floating points - shows the average of all the defined integers or floating decimal points
  CNT  - for Integers and Floating points - shows the number (count) of all the defined integers or floating decimal points
  MAX  - for Integers and Floating points - shows the maximum value of all the defined integers or floating decimal points
  MIN  - for Integers and Floating points - shows the minimum value of all the defined integers or floating decimal points
  SUM  - for Integers and Floating points - Adds and shows the sum or all the defined integers or floating decimal points.
  
  BLUE    - for Text
  CYAN    - for Text
  GREEN   - for Text
  MAGENTA - for Text
  RED     - for Text
  WHITE   - for Text
  YELLOW  - for Text
  
  program
  main
  data
  

  Cell Types:

  _S[value]    - display a string cell value
  _I[value]    - display one or more integers from master set
  _I1[value]   - display one or more integers from sub set 1
  _ABSI[value] - display an absolute value of a particular integer
  _F[value]    - display one or more floating decimal points
  _SQRF[value] - display the square root of a particular floating decimal point
  _ABSF[value] - display an absolute value of a particular floating decimal point
  _RDUF[value] - display a rounded up value of a particular floating decimal point


  Types:

  NOTE: All types can be variables or Cells except Class.  
        Class can only be a variable.
  
  Note: DaLiLa tries to be data safe.
        When defining numbers, the input is sanitized.

  int:
  
          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'

  flt:
  
          flt: expence = 33.25; will store 33.250000 in variable 'expence'
    

  Class:
  String:

  Functions:

  main()
  
    used to incapulate the main body of code.
    
    you may pass values to change the behavior of the code
  
    use:
    
    main(){ 
    }
    
    or 
    
    main(0){
    }
    
    to run code normally/

    ---

    use:
    
    main(1){
    }
    
    to hide non-critical errors

    ---

    use:
    
    main(d){
    }
    
    to run in debug mode
      
      the same as running the d paramater
      "dalila [program.daf] d"


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. Number or color name can be used. 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. Example: File.list("*.txt"); will list all files with extension .txt in a directory. File.list(1); will do the same as File.list("*.txt"); 0 = All files in directory 1 = only .txt files 2 = only .daf files 3 = only .dat files 4 = only .csv files 5 = only .doc files 6 = only .tmp files 7 = only .bin files 8 = only .dll files 9 = only .iso files 10 = only .exe files 11 = only .pdf files 12 = only .cfg files 13 = only .png files 14 = only .epub files 15 = only .ods files 16 = only .zip files 17 = only .mp3 files 18 = only .mp4 files 19 = only .bak files 20 = only .odt files 21 = only .pub files 22 = only .rtf files
File.open() Sets the current file for input or output. Example: File.open("SalesStats.doc");
File.println() Writes output to a file that was set to open.
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);