Hello,
Can you add #LOCALDATA with #IF in Templates?
I tried but keep on getting line errors;
#! ----------------------------------------------------------
#LOCALDATA
#IF(%MNDocuVaultAddDebugCodeOptionLocals=1)
Loc:DocuVaultActiveHereYN BYTE !Loc:DocuVaultActiveHereYN
Loc:DocuVaultActiveUseDiskYN BYTE !Loc:DocuVaultActiveUseDiskYN
Loc:DocuVaultLegacyFolder CSTRING(1024) !Loc:DocuVaultLegacyFolder
Loc:ProgramArea STRING(30) !Loc:ProgramArea
Loc:EngagementFilterYN BYTE !Loc:EngagementFilterYN
Loc:ReturnedS STRING(20) !Loc:ReturnedS
Loc:ReturnedL LONG !Loc:ReturnedL
Loc:ReturnedString STRING(2054) !Loc:ReturnedString
#ENDIF
#IF(%MNDocuVaultAddDebugCodeOptionLocals=2)
Loc:DocuVaultActiveHereYN2 BYTE !Loc:DocuVaultActiveHereYN2
Loc:DocuVaultActiveUseDiskYN2 BYTE !Loc:DocuVaultActiveUseDiskYN2
Loc:DocuVaultLegacyFolder2 CSTRING(1024) !Loc:DocuVaultLegacyFolder2
Loc:ProgramArea2 STRING(30) !Loc:ProgramArea2
Loc:EngagementFilterYN2 BYTE !Loc:EngagementFilterYN2
Loc:ReturnedS2 STRING(20) !Loc:ReturnedS2
Loc:ReturnedL2 LONG !Loc:ReturnedL2
Loc:ReturnedString2 STRING(2054) !Loc:ReturnedString2
#ENDIF
#ENDLOCALDATA
#! ----------------------------------------------------------