SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
array

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
array
Author Message
Gennadiy



Joined: 13 Jun 2002
Posts: 18

Post array Reply with quote

Hello,

I would like to write somethingg simular to

for i=1 to 10

DatabaseGet i,1,ret_value[i]
next

Thanks,
Gennadiy

Mon Jul 22, 2002 4:22 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: array Reply with quote

Database buffer is like an array already. Why do you want to copy it into another array?

Answering your question, arrays are not supported in JAL, you can either use lists or use VBScript jobs that provide true array support. To use lists, code somethin like below

ForNext i,1,10,1,NEXT
DatabaseGet i,1,ret_value
ConcatEx my_list,ret_value,",",my_list
NEXT:

: Hello,

: I would like to write somethingg simular to

: for i=1 to 10

: DatabaseGet i,1,ret_value[i]
: next

: Thanks,
: Gennadiy

Mon Jul 22, 2002 4:33 pm 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.