PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: ArrayTranslate()[Next]: AsIsPrepare()

AsIs()

This is a rexx function provided by PPWIZARD. This routine (like all PPWIZARD extensions) can be used with any operating system supported by PPWIZARD.

This function takes a single parameter and will return the string after all "as is" conversion has taken place (see the #AsIs command).

Note that this replacement occurs whether or not "as is" mode is currently on, the AsIsPrepare() function can be called to set up exactly what you wish modified.

Note that you may not wish to use this routine because of interference you might cause with the use of the #AsIs command, in this case you might find BulkChar2String() useful.

This routine is useful where you are reading in data directly rather than using #include or #import commands. You could be using the rexx linein() routine or accessing SQL data.

Stupid Example

    ;--- Setup INTERNATIONAL symbols (2 only for this demo) ---
    #AutoTagState +
    #AutoTag      'ä'    'ä'
    #AutoTag      'ë'    'ë'    ;;Only 2 for this example
    #AsIs         SETUP  INTERNATIONAL_SYMBOLS
    #AutoTagState -
    
    ;--- Prepare ASIS Tagging ----------------------------
    #evaluate "" ^AsIsPrepare("INTERNATIONAL_SYMBOLS")^
    
    ;--- Assign to some variables ------------------------
    #evaluate "NoChanges"   ^"ë ë ë"^
    #evaluate "Changesmade" ^AsIs("ë ë ë")^
    
    ;--- Generate couple of lines ------------------------
    BEFORE: <$NoChanges>
    AFTER : <$Changesmade>
    


[Top][Contents][Search][Prev]: ArrayTranslate()[Next]: AsIsPrepare()

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Thursday January 17 2002 at 6:27pm