PCE version 4C man_modulenamespaceid_tablemodified current_idOIxNclass/resourceN referenceC hash_tablerefersizeOIxNbothIsNV.resource.nameCman_variable_card identifiermodule last_modifiednamesummary descriptionsee_alsoinheritdefaultsOIxNV.resource.nameRICdateOIx5†uANnamenCstringOIxYName of the resource. The resource-name is obligatory. See also <-class .and <-context.nnnsNV.resource.contextOIxNV.resource.contextRIOIx5†vTNcontextnnnCchainsizeOIxIeN $class/message$V.message.contextXnsNM.resource.G.convertCman_method_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherit diagnosticsdefaultsbugsOI xNM.resource.G.convertRIOI x5†t¸NconvertnOI xCConvert name into named resource. See also `source_sink<-convert'.nnnnnsN C.resourceCman_class_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherituser_interfacebugsOI xN C.resourceRIOI x5†rNresourcenOIxlClass resource forms and interface to access data needed to get a running application that is not easily expressed in the programs source-code. Examples are graphics file, help-files, etc. The following example declares and uses a resource object to access the bitmap 'pce.bm' from the standard bitmap library: resource(pce, image, image('pce.bm')). ... new(I, image(resource(pce, image))), ... The resource/3 clause is used by the runtime-generation system to attach the image to the runtime executable. Class resource is used by `image ->load' to access the resource-data, forming the proper image object.nnnnsNV.resource.classOIxNV.resource.classRIOIx5†uÄNclassnOIxClass of the resource (@default: don't care). Resource classes are intended to separate the resource name-space into multiple name-spaces dealing with objects of the same type. Resource-data for image objects is generally deneoted with class `image'. See also <-context.nnnsNM.resource.S.initialiseOIxNM.resource.S.initialiseRIOIx5†tÛN initialisenOIx6Create a resource object from its <-name and <-class.nnnnnsNM.resource.S.accessOIxNM.resource.S.accessRIOIx5†vNaccessnOIxnTest if resource has access. Succeeds if mode equals `read', and ->exists succeeds. See also `file->access'.nnnnnsNM.resource.S.existsOIxNM.resource.S.existsRIOIx5†v1NexistsnOIx,Test if resource exists. See also ->access.nnnnnXaCnumber O Ixx