November 15, 200718 yr 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 November 15, 200718 yr by Guest
Create an account or sign in to comment