Literals/String: Difference between revisions

Content deleted Content added
No edit summary
→‎=={{header|Visual Basic}}==: added Visual Basic example
Line 2,414: Line 2,414:


Strings must always end at the current line and characters are just strings of length one.
Strings must always end at the current line and characters are just strings of length one.

=={{header|Visual Basic}}==
{{works with|Visual Basic|5}}
{{works with|Visual Basic|6}}
{{works with|VBA|Access 97}}
{{works with|VBA|6.5}}
{{works with|VBA|7.1}}
<lang vb> Debug.Print "Tom said, ""The fox ran away."""
Debug.Print "Tom said, 'The fox ran away.'"</lang>
{{out}}
<pre>Tom said, "The fox ran away."
Tom said, 'The fox ran away.'</pre>


=={{header|Visual Basic .NET}}==
=={{header|Visual Basic .NET}}==