SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Line wrap with variable

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Line wrap with variable
Author Message
Jason



Joined: 29 May 2001
Posts: 27

Post Line wrap with variable Reply with quote

I am wanting to set up a declaration similar to the one below which is very long. Can I wrap the lines to make it more readable?

The sample below only assigns the 1st line to the variable dtscmd and ignores the rest.

set (dtscmd , "App\Import12MthsFile.dts /N ImportToAlloc_file2 "&

"/A Ver:8=BUDGCA /A Year:8=2007 /W 0 ")

Thanks.

Wed Apr 19, 2006 10:10 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Line wrap with variable Reply with quote

You cannot break a value in a middle using line continuation, but... here is a trick you can use to have it broken and then concatenated together

ConcatEx( "App\Import12MthsFile.dts /N ImportToAlloc_file2 ", &
"/A Ver:8=BUDGCA /A Year:8=2007 /W 0 ", dtscmd )

Or

ConcatEx( piece1, &
piece2, &
piece3, &
..., &
pieceN, &
result )

: I am wanting to set up a declaration similar to the one below which is very
: long. Can I wrap the lines to make it more readable?

: The sample below only assigns the 1st line to the variable dtscmd and ignores
: the rest.

: set (dtscmd , "App\Import12MthsFile.dts /N ImportToAlloc_file2
: "&

: "/A Ver:8=BUDGCA /A Year:8=2007 /W 0 ")

: Thanks.

Wed Apr 19, 2006 10:20 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.