Connecting Tech Pros Worldwide Help | Site Map

What does this mean ==> ?", ",""

MLH
Guest
 
Posts: n/a
#1: Jun 15 '06
If I run ?", ",""
in the immediate window,
I get a comma followed by 13 spaces.
It is difficult for me to understand this.
pietlinden@hotmail.com
Guest
 
Posts: n/a
#2: Jun 15 '06

re: What does this mean ==> ?", ",""



MLH wrote:[color=blue]
> If I run ?", ",""
> in the immediate window,
> I get a comma followed by 13 spaces.
> It is difficult for me to understand this.[/color]

Have you made sure the HELP file is working? Have you ever actually
opened it?
commas put data in the debug window into columns.

Some people learn by experimentation... some don't. I guess you fit
into the latter category.

Terry Kreft
Guest
 
Posts: n/a
#3: Jun 15 '06

re: What does this mean ==> ?", ",""


Try this
?"a";"b"

You'll get
ab

Try this
?"a","b"

You'll get
a b

The semi-colon (;) separator means put the results straight after each
other the comma (,) separator means put a tab between them (only of course
it's not a tab it's x number of spaces.

A colon (:) is a line separator in the debug window as well as in code so
?"a";"b":debug.Print "c";"d"

returns
ab
cd

And
?"a","b":debug.Print "c","d"

returns
a b
c d

and you can do stuff like
x = "a": debug.Print x

Which returns
a

To return to your post
?", ",""

Means print a literal comma (",") and then a tab (,) and then an empty
string ("").



--

Terry Kreft


"MLH" <CRCI@NorthState.net> wrote in message
news:n4f192d189pbiu6mfu2dcpeoc06odcqdcc@4ax.com...[color=blue]
> If I run ?", ",""
> in the immediate window,
> I get a comma followed by 13 spaces.
> It is difficult for me to understand this.[/color]


MLH
Guest
 
Posts: n/a
#4: Jun 15 '06

re: What does this mean ==> ?", ",""


Many thanks, Terry. It really was
quite confusing to me. Now I have it.
Closed Thread