Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/hap/tst/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 19.6.2025 mit Größe 1 kB image not shown  

Quelle  test.g   Sprache: unbekannt

 
#################################################
#################################################
InstallGlobalFunction(HapFile,
function(str)
local exfile;

exfile:=DirectoriesPackageLibrary("HAP","tst/examples");;
exfile:=Filename(exfile,str);;

return exfile;
end);
#################################################
#################################################

#################################################
#################################################
InstallGlobalFunction(HapExample,
function(str)
local exfile, input, linefile, x;

exfile:=DirectoriesPackageLibrary("HAP","tst/examples");;
exfile:=Filename(exfile, str);;

input:=InputTextFile(exfile);
x:=ReadLine(input);
while not x=fail do
Print("gap> ");
Print(x);
x:=ReadLine(input);
od;
Print("\n\n");
Read(exfile);
end);
#################################################
#################################################






#################################################
#################################################
InstallGlobalFunction(TestHapBook,
function()
ReadPackage("HAP","tst/testallextra.g");
end);
#################################################
#################################################

#################################################
#################################################
InstallGlobalFunction(TestHap,
function()
ReadPackage("HAP","tst/testall.g");
end);
#################################################
#################################################

#################################################
#################################################
InstallGlobalFunction(TestHapQuick,
function()
ReadPackage("HAP","tst/testquick.g");
end);
#################################################
#################################################



[ Dauer der Verarbeitung: 0.24 Sekunden  (vorverarbeitet)  ]