blob: 17568903f0e74acd98bfe0b9252a6c3b005cccb9 [file] [log] [blame]
Zesstra953f9972017-02-18 15:37:36 +01001
2read_data()
3***********
4
5
Zesstra19d657d2017-01-29 21:40:38 +01006SYNOPSIS
Zesstra953f9972017-02-18 15:37:36 +01007========
8
9 string read_data(string file, int start, int anzahl)
10
Zesstra19d657d2017-01-29 21:40:38 +010011
12BESCHREIBUNG
Zesstra953f9972017-02-18 15:37:36 +010013============
14
15 Diese Funktion macht genau das, was read_file() tut (also siehe dort),
16 allerdings stellt sie sicher, dass <file> immer mit einem /data/
17 beginnt (setzt es also notfalls davor).
18 Es wird also immer irgendwo unterhalb von /data/ gelesen.
19
Zesstra19d657d2017-01-29 21:40:38 +010020
21BEISPIEL
Zesstra953f9972017-02-18 15:37:36 +010022========
23
24 # read_data("/d/ebene/zesstra/blupp");
25 -> liest das File /data/d/ebene/zesstra/blupp.
26 # read_data("/data/d/ebene/zesstra/blupp");
27 -> tut dasselbe.
28
Zesstra19d657d2017-01-29 21:40:38 +010029
30SIEHE AUCH
Zesstra953f9972017-02-18 15:37:36 +010031==========
32
33 write_data()
34 read_file(E), write_file(E), read_bytes(E), write_file(E)