[Swift-commit] r4633 - trunk/docs/userguide
jonmon at ci.uchicago.edu
jonmon at ci.uchicago.edu
Mon Jun 20 09:44:45 CDT 2011
Author: jonmon
Date: 2011-06-20 09:44:45 -0500 (Mon, 20 Jun 2011)
New Revision: 4633
Modified:
trunk/docs/userguide/app_procedures
Log:
added description for @tofloat and @length functions
Modified: trunk/docs/userguide/app_procedures
===================================================================
--- trunk/docs/userguide/app_procedures 2011-06-17 23:34:08 UTC (rev 4632)
+++ trunk/docs/userguide/app_procedures 2011-06-20 14:44:45 UTC (rev 4633)
@@ -375,6 +375,18 @@
used with @arg to pass input parameters to a SwiftScript program as
integers.
+ at tofloat
+~~~~~~
+ at tofloat(input) will parse its input string into a floating point number. This can be
+used with @arg to pass input parameters to a SwiftScript program as
+floating point numbers.
+
+ at length
+~~~~~~
+ at length(array) will return the length of an array in Swift. This function will wait for all elements in the array to be written before returning the lennth.
+
+
+
Built-in procedure reference
----------------------------
This section details built-in procedures that are available for use in
More information about the Swift-commit
mailing list