Join  |  Sign in
Reference Objects from Expressions

01-Aug-2017 03:21 AM

rgb

rgb

Posts: 1

We have the need to be able to evaluate a VB Expression that contains references to other application objects as well as a class that contains custom functions.


Typical VB Expression :
member(perimeterName, {"sill", "intermediate"}) And equal(direction, "H")


Where:
Member and Equal are shared  functions in a utilities class
PerimeterName and Direction are properties of an instance or a specific class


Is this possible and can you provide examples?

  Reply

01-Aug-2017 05:01 PM

Andrew Medvedev

Andrew Medvedev

Posts: 50

Hi Robert,

This should be possible by registering properties and functions as global items, please refer to this demo:
http://www.alternetsoft.com/private/ScriptDemo.zip

Regards,
Andrew
  Reply