Macro: GET_RESOURCE_TYPE

Module location: FMAC line 1937 (view source)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: GET_RESOURCE_TYPE resourceName|resourceId TO integerVariable Descrtiption: A command to retrieve the type of a resource at runtime. (Note: the resource type is set a compile-time.) For the first parameter, you may pass either the resource name (not in quotes) or the integer value of the resource id. Parmeters: resourceName Name of a resource. resourceId Integer value of a resource id. (The resource name is just a symbolic replacement (with a .RSC suffix) of a constant integer equal to the resource id.) integerVariable Variable to return the resource type to. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  #IFDEF !1
    !A [] $112 !1 !3
  #ELSE
    !A [] $112 !1.RSC !3
  #ENDIF