Sets which character will be used as the single-line comment character by the specified stream tokenizer object.
Syntax
commentChar( streamtokenizer , character )
streamtokenizer.commentChar( character )
Parameters
streamtokenizer
|
the stream tokenizer object to use.
|
character
|
the single-line comment character.
|
Returns
Example
st.commentChar( "*" )
|