Macro: NAME_COLUMN

Module location: FMAC line 6990 (view source)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: NAME_COLUMN <object_name> item names... Description: Gives names to items of objects in the form: object.item Just like name_item except item numbers are relative to base_item. Assumes item number has already been set. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  #IFDEF !2
    #CHECK !2 _#LUVFEWNSG
    #SET Q$ !2
    NAME_COLUMN !1 !3 !4 !5 !6 !7 !8 !9
  #ELSE
    #IFSAME !2 ITEM
      NAME_ITEM !1 !3 !4 !5 !6 !7 !8 !9
    #ELSE
      #IFSAME !2 COLUMN
        NAME_COLUMN !1 !3 !4 !5 !6 !7 !8 !9
      #ELSE
        #IFSAME !2 PROPERTY
          NAME_PROPERTY !1 !3 !4 !5 !6 !7 !8 !9
        #ELSE
          #REPLACE !1.!2 !1.OBJ ITEM (BASE_ITEM(!1.OBJ)+!q)
          #SET Q$ (!q+1)
          #IF !0>2
            NAME_COLUMN !1 !3 !4 !5 !6 !7 !8 !9
          #ENDIF
        #ENDIF
      #ENDIF
    #ENDIF
  #ENDIF