Imports a DataWindow object into a library. LibraryImport uses the syntax of the DataWindow object, which is specified in text format, to recreate the object in the library.
LibraryImport ( libraryname, objectname, objecttype, syntax, errors {, comments } )
Integer. Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value is null, LibraryImport returns null.