Small company logo:
   History
 
Advertising banner:
 
 ServerFile.GetResourceString
Home • Help • Customization Tools • FCAS • Language Reference • ServerFile.GetResourceString
 
Purpose
Returns a resource string from a .fc or .rez file that is open in the server file.
Syntax
ServerFile.GetResourceString (ResourceType, ResourceID [, ResourceIndex]


ResourceType
A string representing the resource type.
ResourceID
An integer representing the resource ID.
ResourceIndex
An integer representing the resource index.
This is optional.

Example
Dim sf as ServerFile

sf.OpenFile("FCAS Config|Strings.rez")
Debug sf.GetResourceString("STR#",1000, 0)
Debug sf.GetResourceString("STR#",1000, 1)
Debug sf.GetResourceString("STR ",1001)