OpenTokens™: %EXPR()%
Return to Introduction  Previous page  Next page

%EXPR()% tokens are those that can be used to evaluate MivaScript expressions, and can also contain function calls. They use following token format:

%EXPR(expression)%  
 
Example: To evaluate the expression (5 * 8 / 2), you would enter %EXPR(5 * 8 / 2)%.  
 
You can also include any of the MivaScript built-in functions, such as gettoken:
 
Example: %EXPR(gettoken('a,b,c', ',', 2))% will evaluate to the single character 'b'.  

Check out the
OpenTokens™: %FUNC()%
page for a list of the available Miva Merchant utility functions.



 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium