OpenTokens™: %COMPRESS% and %COMPRESSEND%
Return to Introduction  Previous page  Next page

OpenTokens™ now support %COMPRESS()%, which will compress all duplicate whitespace within the tokens. These follow this format:

%COMPRESS%  
 
Parameters  
·<none>  
 
 
The %COMPRESS% token marks the beginning of a block where all duplicate/redundant whitespace is removed. Everything immediately following this token, up until a %COMPRESSEND% token (or the end of the OpenToken string) is considered to be in this block, and will be compressed.
 
%COMPRESSEND%  
 
Parameters  
·<none>  
 
 
The %COMPRESSEND% token marks the end of the block. Everything immediately preceeding this token, starting at a prior %COMPRESS% is considered part of this block and will be compressed.

·This is enabled by default for OpenDesigner objects. It is not enabled by default for OpenToken strings configured thru the OpenUI admin interface.  


 


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