KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Using the Swap Expression feature in the Method editor
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: July 29, 2005
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

The Swap Expression feature can be used to reverse the arguments of an expression assigning a value while in the Method editor. For instance,

variableA:=variableB

becomes

variableB:=variableA

To use this function, select the line(s) to be modified, then choose the Swap Expression command from the contextual menu. Within the selection, only the lines assigning a value will be modified.