Jump to content
Server Maintenance This Week. ×

IMPORTANT.. Change in method in version 5+


This topic is 2507 days old. Please don't post here. Open a new topic instead.

Recommended Posts

It appears that the method 

getLength() on a fmpro.getContainerStream object is no longer available - it does appear as getSize()

 

If this is true this will be why I have been tearing my hair out most of the day trubleshooting some functions

Please can 360works confirm if this is 

A: correct

B: indicate if they would like to put the getLength() method back too, so that functions can be backwards compatible

 

Try this

fcs = fmpro.getContainerStream ( 'Globals::g_C' ) 
// the name of a container field

//comment out each in different versions to see effect
return fcs.getSize()
//return fcs.getLength()

 

john renfrew

Edited by john renfrew
  • Like 1
Link to comment
Share on other sites

If anyone is running into this issue, you can download the fix here. This will be added into the next iteration of ScriptMaster so if you are reading this and the current version is after 5.05, then you can just download from our website.

Link to comment
Share on other sites

This topic is 2507 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.