Page 1 of 1

BASIC command execution

Posted: Wed Apr 13, 2005 12:07 pm
by DSguru2B
hi guys,

Is there any feature in DS to execute basic commands in seperate window in order to test the built-in functions.

or

Do we have to always design a job for this..?


for eg.,

Trim (" develop ") --->develop

Thanks
appreciate your time

Posted: Wed Apr 13, 2005 12:48 pm
by Amos.Rosmarin
Hi,

I think the best way is to create a routine for those kind of tests, the routine as the test option which is very helpfull.

so following you example, if you want to see how trim works, write a routine that looks like this:

Code: Select all

Ans = Trim (" develop ") 
print "original length=" : len(" develop ") 
print "length after trim=" : len(Ans)

Return(Ans)
HTH,
Amos