-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: ENTRY_NAME_ITEM itemName file.field ... Description: Just like Entry_Item except the first parameter is a (global) Item Name. Parameters: itemName The (global) name of the item being defined/created. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#IFDEF !1 // Already exists? #IFTYPE !1 "CI" // If a constant integer #IF (!1=!Zg) // of the correct value...all is well. #ELSE // Else, It is a duplicate item. #ERROR DFERR_COMP_SYMBOL_ALREADY_DEFINED DUPLICATE ITEM NAME #ENDIF #ELSE // else defined as something else. #ERROR DFERR_COMP_SYMBOL_ALREADY_DEFINED NAME ALREADY DEFINED #ENDIF #ELSE // this names the item (!Zg is the trick) #REPLACE !1 !Zg #ENDIF // now a regular entry_Item ENTRY_ITEM !2 !3 !4 !5 !6 !7 !8 !9