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

GetParam

Declaration
Parameters
Return Value
Example
See Also

Declaration

object.GetParam(name)
Top of page

Parameters

object
Required. Always the name of a R2DToo.FrontEnd object.
name
Required. The name of a model parameter (without the trailing [] properties, case insensitive).
Top of page

Return Value

A character string returning the value of the named parameter. If the parameter is not found, returns an empty string, "". Top of page

Example

' [VBScript] ' load Dim R2DToo Set R2DToo = Wscript.CreateObject("R2DToo.FrontEnd") ' demonstrate method WScript.Echo "World Width = " & R2DToo.GetParam("World Width") ' unload Set R2DToo = nothing
Top of page

See Also

SetParam.
Top of page
[Rik's Office Hours] [Contact Rik]
Last updated: Fri Apr 30 2004, 1:46pm