Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
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
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1747 guests browsing this forum, which makes a total of 1747 users using this forum.

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

Sitemap Network Automation Software Blog