blob: d9ff4d497af57e105a2518c98e609091d987ad8d [file] [log] [blame]
Zesstra953f9972017-02-18 15:37:36 +01001read_data()
2***********
3
4
Zesstra19d657d2017-01-29 21:40:38 +01005SYNOPSIS
Zesstra953f9972017-02-18 15:37:36 +01006========
7
8 string read_data(string file, int start, int anzahl)
9
Zesstra19d657d2017-01-29 21:40:38 +010010
11BESCHREIBUNG
Zesstra953f9972017-02-18 15:37:36 +010012============
13
14 Diese Funktion macht genau das, was read_file() tut (also siehe dort),
15 allerdings stellt sie sicher, dass <file> immer mit einem /data/
16 beginnt (setzt es also notfalls davor).
17 Es wird also immer irgendwo unterhalb von /data/ gelesen.
18
Zesstra19d657d2017-01-29 21:40:38 +010019
20BEISPIEL
Zesstra953f9972017-02-18 15:37:36 +010021========
22
23 # read_data("/d/ebene/zesstra/blupp");
24 -> liest das File /data/d/ebene/zesstra/blupp.
25 # read_data("/data/d/ebene/zesstra/blupp");
26 -> tut dasselbe.
27
Zesstra19d657d2017-01-29 21:40:38 +010028
29SIEHE AUCH
Zesstra953f9972017-02-18 15:37:36 +010030==========
31
32 write_data()
33 read_file(E), write_file(E), read_bytes(E), write_file(E)