C
Conan Kelly
Hello all,
I would like to know if there is a short hand to repeat characters in code.
For example, if I want to display a message box with text on 2 different
lines I would code it like this:
msgBox "First line of text" & chr(13) & "Second line of text", (options),
(title)
What I like doing is making the first line and second line stand out from
each other by separating them with a blank line:
msgBox "First line of text" & chr(13) & chr(13) & "Second line of text",
(options), (title)
Is there a short hand of repeating the "Carrage Return charater"(chr(13)) so
I don't have to type it twice along with extra "&"? Something like "2 *
(chr(13) &)"
Any help any one can offer will be greatly appreciated,
Conan Kelly
I would like to know if there is a short hand to repeat characters in code.
For example, if I want to display a message box with text on 2 different
lines I would code it like this:
msgBox "First line of text" & chr(13) & "Second line of text", (options),
(title)
What I like doing is making the first line and second line stand out from
each other by separating them with a blank line:
msgBox "First line of text" & chr(13) & chr(13) & "Second line of text",
(options), (title)
Is there a short hand of repeating the "Carrage Return charater"(chr(13)) so
I don't have to type it twice along with extra "&"? Something like "2 *
(chr(13) &)"
Any help any one can offer will be greatly appreciated,
Conan Kelly