code formatting

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
spracht
Participant
Posts: 105
Joined: Tue Apr 15, 2003 11:30 pm
Location: Germany

code formatting

Post by spracht »

Is there a way to 'uncomment' (I don't know how you would express this in english, what I mean is 'mark as comment') a larger group of lines in basic source code other than preceding each single line by an asterix?

Is there a way to continue basic code on the next line, like it can be done in ubix shell scripts by terminating a line with ''?

Stephan
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
well I don't know of any way to perform what you need, but,
for your first question: you can always copy parts of your basic code to another more user freindly editor which will comply to your needs even on windows like graphic vim and probably many more.

for your secopnd question you can alway concatenate your statements and use variables containing long strings so I don't really see a problem.

Hope this helps,

Roy R.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Stephan

There is no block comment in BASIC.

Kim.

Kim Duke
DwNav - ETL Navigator
www.Duke-Consulting.com
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

If you don't mind some ugly code, you could do this to skip around a block of code:

blah blah blah blah blah
blah blah blah blah blah
GOTO OVERTHERE
blah blah blah blah blah
blah blah blah blah blah
blah blah blah blah blah
blah blah blah blah blah
blah blah blah blah blah
blah blah blah blah blah
OVERTHERE:
blah blah blah blah blah
blah blah blah blah blah

Kenneth Bland
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

Hey Kenneth, have you been peeking at my code? (ref: blah blah blah)[:D]

Tony
Post Reply