StrRep
This one line of code generates the following error.
Why is the compiler generating this error

code
${StrRep} $SQLText $SQLText "14.0" $CDWVERSION

Error
!insertmacro: macro "FUNCTION_STRING_StrRep" requires 0 parameter(s), passed 4!
Error in script "C:\\Users\\kperlman\\work\\installer\\development\\cdw_installer01.nsi" on line 736 -- aborting creation process


my script has the following includes

!include StrFunc.nsh
!include Sections.nsh
!include MUI2.nsh
!include LogicLib.nsh
!include defines.nsh
!include TextReplace.nsh
!include InstallOptions.nsh
!include Registry.nsh
!include FileFunc.nsh