Programming with Reflection

image\rwnprg32.gif SettingsExtension property

 

Syntax

object.SettingsExtension

Works with

image\r124.gif

Data type

String

 

Description

Returns the extension that Reflection adds to saved settings files. You can use this value to determine which Reflection product is running. (Click the Example button below to see a sample script that does this.)

Values

This property is read-only. The possible returned values are:

Value Reflection Product

r1w Reflection for HP

r2w Reflection for UNIX and OpenVMS

r4w Reflection for ReGIS Graphics

Notes

Reflection returns one of the values listed above regardless of whether or not a settings file is currently loaded. This means, for example, that an Untitled session of Reflection for HP will return "r1w."

If you have used and developed scripts for early versions of Reflection, you can use the middle digit of the returned value to identify Reflection by the older product names (Reflection 1, Reflection 2, and Reflection 4).

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property