This section provides several PROLIB command examples.
The following example creates a standard library called app.pl in your current directory:
prolib app.pl -create
The following example adds all the r-code files in the current directory that begin with the letters "sys" to the standard library app.pl. In this example, the r-code files are in a directory, so the operating system processes the wild card argument, as shown:
prolib app.pl -add sys*.r
The following example deletes all members ending with the letters "dev.r" from the standard library app.pl and lists all of the members in the library. In this example, the members are in the app.pl library, so PROLIB processes the wild card argument. This requires escaping the *dev.r argument. Your operating system might use different techniques to escape wild cards. On UNIX, this means placing quotes around it, as shown:
prolib app.pl -delete "*dev.r" -list
The following example replaces the members appmenu.r and apprept.r in the standard library app.pl, then compresses the library to free up unused disk space:
The following example creates a standard library called app.pl in your current directory, adds all the r-code files in the current directory that begin with the letters "sys" to the library app.pl, and generates a memory-mapped library called app_map.pl: