Difference between revisions of "Talk:Documentation/BASIC Guide/Constants"
From Apache OpenOffice Wiki
Yecril71pl (Talk | contribs) (Print and Display Constants) |
(vbCrLf -> chr(13)) |
||
Line 3: | Line 3: | ||
[http://msdn.microsoft.com/en-us/library/dy7yth1w%28v=vs.110%29.aspx Microsoft Visual Basic] defines constants like '''vbCrLf''' that contain special characters that cannot be embedded in BASIC literals. It is a pity [[{{PAGENAME}}|OpenOffice]] does not provide them too. | [http://msdn.microsoft.com/en-us/library/dy7yth1w%28v=vs.110%29.aspx Microsoft Visual Basic] defines constants like '''vbCrLf''' that contain special characters that cannot be embedded in BASIC literals. It is a pity [[{{PAGENAME}}|OpenOffice]] does not provide them too. | ||
--[[User:Yecril71pl|Yecril71pl]] 10:51, 6 March 2012 (UTC) | --[[User:Yecril71pl|Yecril71pl]] 10:51, 6 March 2012 (UTC) | ||
+ | |||
+ | :For most purposes, you should use the <tt>chr(13)</tt> function to force a new line, such as in MsgBox messages. --[[User:TJFrazier|TJ]] ([[User_talk:TJFrazier|Talk]] | [[Special:Contributions/TJFrazier|Contribs]]) 23:03, 6 March 2012 (UTC) |
Latest revision as of 23:03, 6 March 2012
Print and Display Constants
Microsoft Visual Basic defines constants like vbCrLf that contain special characters that cannot be embedded in BASIC literals. It is a pity OpenOffice does not provide them too. --Yecril71pl 10:51, 6 March 2012 (UTC)