Chapter 4 : Types of Comments
//
// main.swift
// Swift Tutorials 2014-15
//
// Created by Code2care on 15/09/14.
// Copyright (c) 2014 Code2care. All rights reserved.
//
//This is an Example of Single line Comments in Swift
println("Hello!") // Will print Hello on the Console!
//
// main.swift
// Swift Tutorials 2014-15
//
// Created by Code2care on 15/09/14.
// Copyright (c) 2014 Code2care. All rights reserved.
//
/* This
is
an
Example
of
Multi-line
Comments
in
Swift */
// Will print Hello on the Console!
// and on a new line!
println("Hello!")
//
// main.swift
// Swift Tutorials 2014-15
//
// Created by Code2care on 15/09/14.
// Copyright (c) 2014 Code2care. All rights reserved.
//
#This is a Shell/Perl Style comments
# Will print Hello on the Console!
println("Hello!")