1Parse.integer(3kaya) Kaya module reference Parse.integer(3kaya)
2
3
4
6 Parse::integer - Parse an integer.
7
9 Int integer( var ParseState st )
10
12 st The current parsing state
13
15 This function parses any sequence representing an integer ( [0-9]+ ) at
16 the start of the string, and returns the integer. An Exception will be
17 thrown if there is no integer.
18
20 Kaya standard library by Edwin Brady, Chris Morris and others
21 (kaya@kayalang.org). For further information see http://kayalang.org/
22
24 The Kaya standard library is free software; you can redistribute it
25 and/or modify it under the terms of the GNU Lesser General Public
26 License (version 2.1 or any later version) as published by the Free
27 Software Foundation.
28
29
30
31Kaya December 2010 Parse.integer(3kaya)