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: Variable double/stacking question
Topic Summary:
Created On: 04/07/2017 05:20 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.
Answer This question was answered by FredShindle, on Tuesday, April 11, 2017 9:54 AM

Answer:
The example or what I was after is above in "E.G." %variable1%%variable2%, any variables you would be trying to nest.
The answer has been found in the technical documents, but only found searching on "Percentage signs and their use", not constants or variables or searching for "%variable%".

The answer is '%variable1 & variable2%' (no single ticks).
 04/07/2017 05:20 PM
User is offline View Users Profile Print this message

Author Icon
FredShindle
Apprentice (20-49)

Posts: 33
Joined: 12/31/2009

Has anyone successfully used double or stacked variables?

E.G. %variable1%%variable2%

With the above example the variable will not resolve. I have tried single ticks, quotes and all combinations with no success.
If a character ('_', '.',' ', almost anything) is used for a separator this resolves fines.
The nested %% is the issue.



 Category Survey
 04/10/2017 10:26 AM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hello,

What is the output your are attempting to get? Can you provide an example?

 Category Survey


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

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 04/11/2017 09:54 AM
User is offline View Users Profile Print this message

Author Icon
FredShindle
Apprentice (20-49)

Posts: 33
Joined: 12/31/2009

Answer Answer
The example or what I was after is above in "E.G." %variable1%%variable2%, any variables you would be trying to nest.
The answer has been found in the technical documents, but only found searching on "Percentage signs and their use", not constants or variables or searching for "%variable%".

The answer is '%variable1 & variable2%' (no single ticks).


 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 1374 guests browsing this forum, which makes a total of 1374 users using this forum.

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

Sitemap Network Automation Software Blog