| 1 |
(* Copyright (C) 2005-2025 Free Software Foundation, Inc. *) |
| 2 |
(* This file is part of Chisel. |
| 3 |
|
| 4 |
Chisel is free software; you can redistribute it and/or modify it under |
| 5 |
the terms of the GNU General Public License as published by the Free |
| 6 |
Software Foundation; either version 3, or (at your option) any later |
| 7 |
version. |
| 8 |
|
| 9 |
Chisel is distributed in the hope that it will be useful, but WITHOUT ANY |
| 10 |
WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 11 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 12 |
for more details. |
| 13 |
|
| 14 |
You should have received a copy of the GNU General Public License along |
| 15 |
with gm2; see the file COPYING. If not, write to the Free Software |
| 16 |
Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *) |
| 17 |
|
| 18 |
DEFINITION MODULE WriteMap ; |
| 19 |
|
| 20 |
(* |
| 21 |
Title : WriteMap |
| 22 |
Author : Gaius Mulley |
| 23 |
Date : 22/8/88 |
| 24 |
System : LOGITECH MODULA-2/86 |
| 25 |
Description: Writes an ASCII description of the map. |
| 26 |
*) |
| 27 |
|
| 28 |
FROM DynamicStrings IMPORT String ; |
| 29 |
|
| 30 |
EXPORT QUALIFIED WriteMapText, SetOutputFile ; |
| 31 |
|
| 32 |
|
| 33 |
(* |
| 34 |
WriteMapText - writes out the map in textual form. |
| 35 |
*) |
| 36 |
|
| 37 |
PROCEDURE WriteMapText ; |
| 38 |
|
| 39 |
|
| 40 |
(* |
| 41 |
SetOutputFile - set the output file to, name. |
| 42 |
*) |
| 43 |
|
| 44 |
PROCEDURE SetOutputFile (name: String) ; |
| 45 |
|
| 46 |
|
| 47 |
END WriteMap. |