Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/to_string b/doc/efun/to_string
index 1d23ef6..89afa37 100644
--- a/doc/efun/to_string
+++ b/doc/efun/to_string
@@ -1,29 +1,29 @@
SYNOPSIS
- string to_string(mixed arg)
+ string to_string(mixed)
-BESCHREIBUNG
- <arg> wird in einen String umgewandelt. Das klappt mit Werten vom Typ
- int, float, object, array, struct, symbol, string oder closure.
+ (string)<value>
- Closures werden in einen passenden Namen umgewandelt (vorwiegend fuer
- Debugging-Zwecke geeignet).
+DESCRIPTION
+ The argument is converted to a string. Works with int, float,
+ object, arrays, structs, symbols, strings and closures.
-ANMERKUNGEN
- Arrays werden als "explodete" Strings betrachtet, also Arrays von
- Zeichencodes. Sie werden bis zur ersten 0 oder bis zum ersten
- nicht-numerischen Eintrag "implodet", je nachdem, was zuerst eintritt.
+ Converts closures and structs into an appropriate name (this
+ has mostly debugging purposes).
- Das bedeutet, dass to_string( ({ 49, 50 }) ); "12" liefert, und nicht
- "({ 49, 50 })"
+ CAVEAT: Arrays are considered exploded strings, ie. arrays of
+ Unicode codepoints (i.e. each number is one Unicode character),
+ and are 'imploded' up to the first non-number entry, whatever
+ comes first. That means that to_string(({ 49, 50 })) will return
+ "12" and not "({ 49, 50 })".
-FEHLER
- Die Cast-Schreibweise funktioniert nur, wenn der genaue Wert von
- <value> zum Zeitpunkt der Kompilierung bekannt ist. Dies wird nicht
- geaendert werden, da die Funktionsform verwendet werden kann.
+BUGS
+ The cast notation only works if the precise type of <value>
+ is known at compile-time. This will not be fixed - use the
+ function form instead.
-GESCHICHTE
- LDMud 3.2.8 laesst Lambdaclosures als gueltige Datentypen zu.
- LDMud 3.3.250 laesst structs als gueltige Datentypen zu.
+HISTORY
+ LDMud 3.2.8 adds lambda closures to the accepted data types.
+ LDMud 3.3.250 adds structs to the accepted data types.
-SIEHE AUCH
+SEE ALSO
to_array(E), to_int(E), to_object(E), to_struct(E), sprintf(E)