print variable, variable, variable etc 
Author Message
 print variable, variable, variable etc

Hi

I am looping through INI sections, each section has a variable called
".NAME"...I want to print .NAME like this:

.NAME, .NAME, .NAME, .NAME, .NAME, .NAME, etc etc

EG:

Ben, Adam, Phil, Paul, Craig, Joe

I have tried this already:

<data to print>
print data,

but this comes out like:

Ben               Adam                 Phil                Paul
Craig                 Joe

where as i DONT want about 1000 spaces between each data! how can i avoid
this?

-
Thanks,
Ben Alexander-Brown



Fri, 14 May 2004 04:05:28 GMT  
 print variable, variable, variable etc
By using a semi-colon between each variable instead of a comma.

Lee Weiner
lee DOT weiner AT home DOT com


Quote:

>Hi

>I am looping through INI sections, each section has a variable called
>".NAME"...I want to print .NAME like this:

>..NAME, .NAME, .NAME, .NAME, .NAME, .NAME, etc etc

>EG:

>Ben, Adam, Phil, Paul, Craig, Joe

>I have tried this already:

><data to print>
>print data,

>but this comes out like:

>Ben               Adam                 Phil                Paul
>Craig                 Joe

>where as i DONT want about 1000 spaces between each data! how can i avoid
>this?

>-
>Thanks,
>Ben Alexander-Brown



Fri, 14 May 2004 05:44:23 GMT  
 print variable, variable, variable etc
Thanks!

--
Thanks,
Ben Alexander-Brown

Quote:
> By using a semi-colon between each variable instead of a comma.

> Lee Weiner
> lee DOT weiner AT home DOT com



> >Hi

> >I am looping through INI sections, each section has a variable called
> >".NAME"...I want to print .NAME like this:

> >..NAME, .NAME, .NAME, .NAME, .NAME, .NAME, etc etc

> >EG:

> >Ben, Adam, Phil, Paul, Craig, Joe

> >I have tried this already:

> ><data to print>
> >print data,

> >but this comes out like:

> >Ben               Adam                 Phil                Paul
> >Craig                 Joe

> >where as i DONT want about 1000 spaces between each data! how can i avoid
> >this?

> >-
> >Thanks,
> >Ben Alexander-Brown



Fri, 14 May 2004 05:44:32 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Loop print "VARIABLE", "VARIABLE"

2. Referencing Global Variable from a variable

3. Error msg: Object variable or With block variable not set

4. Expanding a variable or referencing a field within variable

5. Obfect variable or With block variable not set

6. How do I use contents of variable as field name(db!rst!variable)

7. converting an object variable (name of a file) into a string variable

8. Object Variable With Variable Not Defined Error

9. how do i convert a string variable to a control variable

10. Object variable or With block variable not set when calling COM Dll

11. Manipulating variables/objects with variables

12. Use a public variable or use Private variable with Get and Set

 

 
Powered by phpBB® Forum Software