| 1 |
program makeartifact; |
| 2 |
(******************************************************************** |
| 3 |
This file is part of Ironseed. |
| 4 |
|
| 5 |
Ironseed is free software: you can redistribute it and/or modify |
| 6 |
it under the terms of the GNU General Public License as published by |
| 7 |
the Free Software Foundation, either version 3 of the License, or |
| 8 |
(at your option) any later version. |
| 9 |
|
| 10 |
Ironseed is distributed in the hope that it will be useful, |
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
GNU General Public License for more details. |
| 14 |
|
| 15 |
You should have received a copy of the GNU General Public License |
| 16 |
along with Ironseed. If not, see <https://www.gnu.org/licenses/>. |
| 17 |
********************************************************************) |
| 18 |
|
| 19 |
{********************************************* |
| 20 |
Data Generator: Artifact names generator |
| 21 |
|
| 22 |
Copyright: |
| 23 |
1994 Channel 7, Destiny: Virtual |
| 24 |
2020 Matija Nalis <[email protected]> |
| 25 |
**********************************************} |
| 26 |
|
| 27 |
{$PACKRECORDS 1} |
| 28 |
|
| 29 |
type |
| 30 |
artifacttype=string[10]; |
| 31 |
var |
| 32 |
f: file of artifacttype; |
| 33 |
temp: artifacttype; |
| 34 |
ft: text; |
| 35 |
i: integer; |
| 36 |
|
| 37 |
begin |
| 38 |
assign(ft,'Data_Generators/makedata/anom.txt'); |
| 39 |
reset(ft); |
| 40 |
assign(f,'data/artifact.dta'); |
| 41 |
rewrite(f); |
| 42 |
for i:=1 to 60 do |
| 43 |
begin |
| 44 |
readln(ft,temp); |
| 45 |
writeln(temp); |
| 46 |
write(f,temp); |
| 47 |
end; |
| 48 |
close(ft); |
| 49 |
close(f); |
| 50 |
end. |