Rik's Treehouse > Babbling in Binary > My Software > Orphanware > R2DToo > R2DToo Help > Automation > AboutModel

AboutModel

Declaration
Parameters
Return Value
Example

Declaration

object.AboutModel(info)
Top of page

Parameters

object
Required. Always the name of a R2DToo.FrontEnd object.
info
Required. One of "name", "version", "copyright", "comments", or "url" (case insensitive).
Top of page

Return Value

A character string returning the appropriate information about the model. If info not found, returns an empty string, "". Top of page

Example

' [VBScript] ' load Dim R2DToo Set R2DToo = Wscript.CreateObject("R2DToo.FrontEnd") ' demonstrate method WScript.Echo "R2DToo loaded with model: " & R2DToo.AboutModel("Name") & " " & R2DToo.AboutModel("Version") ' unload Set R2DToo = nothing
Top of page
[Rik's Office Hours] [Contact Rik]
Last updated: Fri Apr 30 2004, 1:46pm