Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


comment

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,40936
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> comment
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 comment - 12/13/2006 11:51:04 PM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
Question: How would you place a comment at the end of a concantenated string
e.g place a comment at the end of one of these lines

errReturn = objService.Create("Test" ,"AA" , _
                                  """C:\Program Files\Softech Global2\MTServer\Bin\wrapper.exe""" & " -s "_
                                 & """C:\Program Files\Softech Global2\MTServer\Config\wrapper.conf""" _
                                , OWN_PROCESS, NORMAL_ERROR_CONTROL, "Automatic", _
 
 
Post #: 1
 
 RE: comment - 12/14/2006 12:48:13 AM   
  ehvbs

 

Posts: 2222
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
AFAIK, you can't. I'd like to be proved wrong! 

(in reply to gdewrance)
 
 
Post #: 2
 
 RE: comment - 12/14/2006 12:55:11 AM   
  DiGiTAL.SkReAM


Posts: 1194
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
The comments can be added at teh end of the line, but since waht you posted was (as far as VBScript is concerned) all on "one line", then, it can be commented at the end:

      

Oops, fergot the [ /code ] part.

_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to ehvbs)
 
 
Post #: 3
 
 RE: comment - 12/14/2006 1:10:03 AM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
That was my findings, just wanted to make sure

(in reply to gdewrance)
 
 
Post #: 4
 
 RE: comment - 12/14/2006 2:00:50 AM   
  TNO


Posts: 1399
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
/*Comment blocks would have been a  nice feature instead of a choice between ' and rem....*/

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to gdewrance)
 
 
Post #: 5
 
 RE: comment - 12/14/2006 2:46:45 AM   
  DiGiTAL.SkReAM


Posts: 1194
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
quote:

ORIGINAL: TNO

/*Comment blocks would have been a  nice feature instead of a choice between ' and rem....*/


Whiner.

Real coders use REM.

_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to TNO)
 
 
Post #: 6
 
 RE: comment - 12/14/2006 2:50:30 AM   
  ebgreen


Posts: 5246
Score: 31
Joined: 7/12/2005
Status: online
Comments are for losers anyway.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to DiGiTAL.SkReAM)
 
 
Post #: 7
 
 RE: comment - 12/14/2006 3:03:44 AM   
  ehvbs

 

Posts: 2222
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
No comment.

(in reply to ebgreen)
 
 
Post #: 8
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> comment Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts