Suntan Special version 0.69

Suntan Special Web edition

### AddBook

#### Suntan Special Function: AddBook

The AddBook function is used to add an icon to the OS/2 Books folder. The OS/2 Books folder is created by Suntan Special for all the documentation added while running applications. AddBook will create the OS/2 Books folder if it does not exist already.

#### Syntax:

rc = AddBook(helpName, helpFile, helpID)

#### Program Arguments

1. helpName - name of the book; used as the icon title
2. helpFile - fully qualified filename of help file
3. helpID - object ID for the help file

#### Returns:

0 = success, 1 = failure

#### Note:

If the extension of the helpFile is .INF, then the icon will open the object with view.exe. If the extension of the helpFile is .PDF, the icon will open with Lucide or QPDFView if available. Otherwise the icon will open the object with the system editor. This allows INF, PDF and readme files to be handled with the same function.

Last Modified: 11 Aug 2025
Graphics by Colorful Language
Copyright 2025 by Blonde Guy