Jump to content
Server Maintenance This Week. ×

LoadJARs Custom Function


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

Recommended Posts


LoadJARs( _paths; _results )





Let(

	[_path = LeftValues ( _paths; 1 ); 

	_rem = RightValues ( _paths; ValueCount ( _paths ) - 1 )];



	If( _path = ""; _results; 

		LoadJARs( _rem; _results & SMLoadJar( _path ) & "¶" ))

)

So, just use a Global field to store the fullpaths of the JARs you want loaded and this little function will load them and return the results in the same order. This function uses Values, so use a ¶ delimited value list instead of a repeating field.

LoadJARs( fieldname; "" ) -- where fieldname is the name of your field

Hope it's useful! ;)

Edited by Guest
Link to comment
Share on other sites

This topic is 6014 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.