Forum Discussion
Yaoxie_117356
Nimbostratus
Jul 05, 2016basic question about variable assign
Hi folk,
very new to APM, have a lot questions on assign variable
why sometimes it's
variables {
{
expression "mcget {session.logon.last.username}"
v...
Josiah_39459
Jul 05, 2016Historic F5 Account
expr just tells it to evaluate the string, so "1+1" without expr would be "1+1" and with expr would be 2. People tend to use it a lot when it's not necessarily needed. Personally, I prefer using "return" and returning explicitly what I want.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects