[Swift-user] Printing to the terminal and inadequate documentation
David Kelly
davidk at ci.uchicago.edu
Fri Jun 15 18:47:36 CDT 2012
Hi Jonathan,
I think what you are looking for here is tracef(). It has a syntax similar to C's printf.
tracef("Hello\n");
You don't need to call this from within an app function. More examples of how to use this are in the user guide at http://www.ci.uchicago.edu/swift/guides/trunk/userguide/userguide.html#_tracef.
The best documentation that we have right now is the user guide and the tutorial at http://www.ci.uchicago.edu/swift/docs/index.php. If you notice that there is something missing or not clear, please let us know.
Thanks,
David
----- Original Message -----
> From: "Jonathan Margoliash" <jmargolpeople at gmail.com>
> To: swift-user at ci.uchicago.edu
> Sent: Friday, June 15, 2012 2:21:34 PM
> Subject: [Swift-user] Printing to the terminal and inadequate documentation
> Hello all,
>
>
> Is it possible to print to the terminal from inside swift? I have not
> found a print command inside swift, and the app
>
>
> app sayHello () {
> echo "Hello!";
> }
>
>
> does not produce any output for me. Also, is there any better
> documentation online than the user's manual?
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
More information about the Swift-user
mailing list