* Replace languageCaseSensitive by languageName data in PCU and caseSensitive parameters in Compiler functions * Implement SearchDirectories filling in Compiler and move SPython standard modules to their new directory * Implement search using current language extension first in Compiler * Delete LibForVB folder and update TestRunner to support different Lib dirs * Update installer scripts to create separate Lib folder for SPython * Take into account Lib dirs not found * Delete supportedSourceFiles variable in Compiler * Delete unused functions from LanguageIntegrator
15 lines
228 B
ObjectPascal
15 lines
228 B
ObjectPascal
unit time1;
|
|
|
|
interface
|
|
|
|
function time(): real;
|
|
|
|
function forty_two(): real;
|
|
|
|
implementation
|
|
|
|
function time() : real := DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1)).TotalSeconds;
|
|
|
|
function forty_two() : real := 42;
|
|
|
|
end. |