PathInfoInt returns a String?

Topics: General, Troubleshooting
Aug 29, 2011 at 6:47 PM

Using Beta 2 here, and I noticed a funny (odd?) discrepancy. PathInfoInt returns a String.

I have C# functions that accept integers, but couldn't find PathInfoInt in the list to set it as a parameter.

I have found a workaround for now in the visual editor:

  1. Use a string input parameter 
  2. Set its default value to the PathInfoInt function (which returns a string)
  3. Changing the input parameter to Int32 
    • (the default function won't be removed, despite being a different data type
  4. Set the Function Call's parameter (which accepts Int32) to the Input Parameter

It seems to work... but is this fixed in the new Beta or should this be a work item?

Coordinator
Aug 29, 2011 at 7:22 PM

This most definitely sounds like a brain fart we didn't catch - we will fix than :) Thanks for pointing it out.