Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

multiline comment in swift

/* 
Multiline comments start
with a forward-slash followed by an asterisk (/*) and
end with an asterisk followed by a forward-slash (*/).
*/

/* 
You can write nested comments by 
starting a multiline comment block 
and then starting a second multiline comment within the first block. 
The second block is then closed, followed by the first block:
	/* This is a nested multiline comment in a multiline comment.
 		/* This is the third, nested multiline comment. */
	This is the end of the second multiline comment. */
*/
 
PREVIOUS NEXT
Tagged: #multiline #comment #swift
ADD COMMENT
Topic
Name
3+4 =