blob: 86b44724afab657a05756d628da80ddf4e1bc60a [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001read_data()
2===========
3
4SYNOPSIS
5--------
6::
7
8 string read_data(string file, int start, int anzahl)
9
10BESCHREIBUNG
11------------
12::
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
19BEISPIEL
20--------
21::
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
28SIEHE AUCH
29----------
30::
31
32 write_data()
33 read_file(E), write_file(E), read_bytes(E), write_file(E)
34