The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Borland/Segue SilkPerformer

Michael_J
Member


Reged: 10/29/01
Posts: 40
Loc: Layton, Utah USA
How to capture mulitple Array's into one variable.
      02/17/12 07:35 AM

I have serveral hundred AMF arguments that I need to combine into one variable instead of listing each one in the argument section. I've created a 'for' loop to add them but somehow my logic isn't working. Instead of combining all the Arrays it's only writing out the last one in the list.

aSync[1] := "The quick " + rUnique_ID + " fox Ran";
aSync[2] := "He " + rUnique_ID + " tripped on a snake ";
aSync[3] := "Then " + rUnique_ID + "he ate an egg";

for i := 1 to 3 do
sBigVar := aSync + aSync[i + 1] ;// + aSync[i+1];
end;
write (sBigVar);

--------------------
Michael Johnson
Linked in profile:
http://www.linkedin.com/pub/michael-johnson/1/7a9/aa3

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* How to capture mulitple Array's into one variable. Michael_J 02/17/12 07:35 AM
. * * Re: How to capture mulitple Array's into one variable. Michael_J   02/17/12 07:38 AM
. * * Re: How to capture mulitple Array's into one variable. Michael_J   02/17/12 08:40 AM

Extra information
0 registered and 2 anonymous users are browsing this forum.

Moderator:  AJ, jamesso 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 730

Rate this thread

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5