* 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
8 lines
164 B
Plaintext
8 lines
164 B
Plaintext
#unit random
|
|
import PABCSystem
|
|
|
|
def random() -> float:
|
|
return PABCSystem.random()
|
|
|
|
def randint(a: int, b: int) -> int:
|
|
return PABCSystem.random(a, b) |