Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 05 OCT 2023 08:10:53AM Joshua Goddard wrote:

Hi,

let's say I have a variable that could be either a string or an <IDISPATCH>.

How can I determine (in basic+) whether the variable is a string or an <IDISPATCH>

Calling len on the variable causes the ENG0061 crash. Everything else I have tried also causes this crash.


At 05 OCT 2023 09:03AM Andrew McAuley wrote:

Have you tried function descriptorType( var )? 4 will be an iDispatch.

The Sprezzatura Group

The Sprezzatura Blog

World leaders in all things RevSoft

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/76d3855cc1b7c742b710c9da7d0c71c5.txt
  • Last modified: 2024/12/10 16:16
  • by 127.0.0.1