QuoteSensitiveMethod

Applies to:uCalc Transform
Class:uCalc.uCalcTransform.RuleClass
Sets quote sensitivity
Syntax
QuoteSensitive(TrueFalse)
Parameters
TrueFalse
BOOLEAN
Value that determines quote sensitivity
Returns
Type: RuleClass
Sets quote sensitivity
Remarks
This sets whether a rule is quote sensitive or not. Quote sensitivity is generally designed for use across all rules in a transform (or sub transform) instead of at the individual rule level. One exception is within text that matches a pattern variable.

When set to true, it means that a block of text within quotes is treated as one token. As such patterns are not searched for within the quotes. The contents of the quotes are skipped over. You may still get around this and parse within quotes when necessary, by capturing the quote character itself, then parsing subsequent text.

DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="QuoteSensitive")> _

Private Function QuoteSensitive__(ByVal RuleHandle As IntPtr,ByVal TrueFalse As Int32) As IntPtr
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="QuoteSensitive")]

protected static extern IntPtr QuoteSensitive_(IntPtr RuleHandle, bool TrueFalse);
            
{DLLImport}function QuoteSensitive__(RuleHandle: System.Pointer;TrueFalse: Integer): System.Pointer; cdecl; external uCalcDLL name 'QuoteSensitive';

            
typedef uCalcPtr (* __QuoteSensitive)(void *RuleHandle, bool TrueFalse); 

            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "QuoteSensitive")]

static uCalcPtr QuoteSensitive_(void *  RuleHandle, bool TrueFalse);
            
Prev | Next