../../doc/gcad_doxygen/ApplicationData.txt


Daten für Zusatzanwendungen (ApplicationData) können im Model gespeichert werden.
ApplicationData werden beim Laden eines Models wieder zur Verfügung gestellt.
Die Applikation muss vor dem Verlassen der Anwendung die Daten schreiben.
  Die Daten sind als ascii-text zu schreiben.


ApplicationData is stored with the model (as ascii-text).

Store ApplicationData:
  open file with appdat_open__(&fp, "w")
  write data (as ascii-text !)

Restore ApplicationData:
  open file with appdat_open__(&fp, "r")
  read data (as ascii-text !)

See demo-application ../APP/Demo_appDat1.c



    Datei <tempDir>/<appNam>.appdat schreiben.
  Der Applikationsname <appNam> ist frei wählbar.


------------------------------------------------------------------------
TODO:
- a direct way to store binary data ..
if value == "BINDATA" + <sizeInBytes>\n  then next line is binary data.



------------------------------------------------------------------------
Formatbeschreibung ApplicationData:
Die Zeilen SECTION und SECTIONEND befinden sich nur in der Modelldatei.


SECTION APPDAT <appNam>
.. (data)
SECTIONEND





affected functions:
Mod_kill__     löschen
Mod_load__     laden
Mod_sav__      speichern

