Network Automation Software
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Array problem
Topic Summary:
Created On: 10/31/2011 01:51 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 10/31/2011 01:51 PM
User is offline View Users Profile Print this message

Author Icon
RondaRiggs
Journeyman (50-99)

Posts: 62
Joined: 03/26/2010

Can someone please tell me what's wrong with these?

<AMMESSAGEBOX>arrayname(%counter%)</AMMESSAGEBOX>

<AMMESSAGEBOX>%arrayname(%counter%)%</AMMESSAGEBOX>
<AMMESSAGEBOX>%arrayname(counter)%</AMMESSAGEBOX>

The following works but I can't hard code the index.

<AMMESSAGEBOX>%arrayname(1)%</AMMESSAGEBOX>



 Category Survey
 10/31/2011 02:36 PM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi Ronda,

Please see our sample task:

http://www.networkautomation.c...038-FA45313775D06178/

%arrayname(counter)% is how it should be specified. How are you populating the counter variable?





 Category Survey


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 10/31/2011 02:46 PM
User is offline View Users Profile Print this message

Author Icon
RondaRiggs
Journeyman (50-99)

Posts: 62
Joined: 03/26/2010

That was it Leonard.  I was using the wrong index variable.  Thanks.



 Category Survey
Statistics
18257 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 6686 on 11/01/2020 at 01:24 AM.
There are currently 909 guests browsing this forum, which makes a total of 909 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog