pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2013-04-04
2013-04-04 08:19:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>
4448f47b2693f1715bd9849eac8868c4b3158b87 (
25
lines) (+
16
/-
9
)
[
Show
|
Annotate
]
Branch:
7.9
Documentation: Some more notes about String.width().
1080:
*! *! Returns the width of a string. *!
-
*! Three return values are possible:
-
*! @int
-
*! @value 8
-
*! The string @[s] only contains characters <= 255.
-
*! @value 16
-
*! The string @[s] only contains characters <= 65535.
-
*! @value 32
-
*! The string @[s] contains characters >= 65536.
-
*! @endint
+
*!
@returns
+
*!
Three return values are
currently
possible:
+
*!
@int
+
*!
@value 8
+
*!
The string @[s] only contains characters <= 255.
+
*!
@value 16
+
*!
The string @[s] only contains characters <= 65535.
+
*!
@value 32
+
*!
The string @[s] contains characters >= 65536.
+
*!
@endint
+
*!
+
*! @note
+
*! It is possible that a future version of Pike may return
+
*! further values. In particular the width @expr{7@} seems
+
*! like it could be useful.
*/ PMOD_EXPORT PIKEFUN int(8 .. 8)|int(16 .. 16)|int(32 .. 32) string_width(string s)