TestPlan RValue Expansion
Document

RValue Expansion

by Group Public on Thursday July 10 2008 @ 14:27:11 (1/1 Points)

Language ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It

Whenever an item reference is encountered during an RValue expansion that item is appropriately expanded. Standard-RValue expansion occurs at these points:

Refer to Function Call for additional expansion options used when calling functions with short syntax.

String Values

Usually this expansion implies producing a string. This results from using the provided value, replacing all items with their expanded value, and concatenating it all together.

set %One% First Item
Notice This is the %One%!
# Outputs:
# This is the First Item!

Object References

By default, in a form such as %Item% given in content, where there is no leading or trailing text/items to the expansion, the item will be expanding as the actual object form the context, it will not be converted to a string.

LValue's

No expansion is done on items used as LValues, but note that indirection will expanded to result in the item to be used.

© 2008-2010 edA-qa mort-ora-y
Using Persephone and TestPlan
Tag: