SaveData

The SaveData class allows the user to save the contents of the ReturnTable being displayed in a file of the user's choosing to any storage media to which the user currently has access. Due to the complexity of the code in the SaveData class, it will be described in two sections. Figure 11-9 partially lists the code required to support this functionality.

SaveData has one method called {open-save-dialog}, which takes a reference to the Table in which the data is required to be saved. It uses the {choose-location} procedure, which allows the user to enter a Web address or choose a file location. However, before calling this procedure, we must create an {Array-of FileDialogTypeFilter} that is used as a keyword argument in the {choose-location} ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.