Difference between revisions of "Library Sample Files"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 6: Line 6:
 
|File||Description
 
|File||Description
 
|-
 
|-
|dblsamp.c||C source code sample showing function usage.  A full listing is included at the end of this manual.
+
|dblsamp.c||C source code sample showing function usage.  A full listing is included [[Library dblsamp|here]].
 
|-
 
|-
 
|dblsamp.com||Run this file to compile and link the sample.  Use this file as a reference for compiling and linking your own applications.
 
|dblsamp.com||Run this file to compile and link the sample.  Use this file as a reference for compiling and linking your own applications.
Line 22: Line 22:
 
|File||Description
 
|File||Description
 
|-
 
|-
|dblsamp.c||C source code sample showing function usage.  A full listing is included at the end of this manual.
+
|dblsamp.c||C source code sample showing function usage.  A full listing is included [[Library dblsamp|here]].
 
|-
 
|-
 
|makefile||Run this makefile to compile and link the sample.  Use this file as a reference for compiling and linking your own applications.
 
|makefile||Run this makefile to compile and link the sample.  Use this file as a reference for compiling and linking your own applications.
Line 31: Line 31:
 
|dblsamp.exe||Executable code created by the make.  Run the code using the dblsamp script.
 
|dblsamp.exe||Executable code created by the make.  Run the code using the dblsamp script.
 
|-
 
|-
|dblsamp||Run this script to run the sample application.  N.B. The calls to recitalxxUD.sh and profile.db are used to ensure that the necessary environment variables are defined before running the application.
+
|dblsamp||Run this script to run the sample application.  N.B. The calls to recitalxxUD.sh and the Recital [[Configuration Files]] are used to ensure that the necessary environment variables are defined before running the application.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 14:07, 6 May 2009

The distribution of the RECITAL/Library in the lib sub-directory of the sdk directory, includes sample files to demonstrate the use of the Library functions and how to link and run applications which use the RECITAL/Library. Depending on the Operating System, the following sample files are included:

OpenVMS

File Description
dblsamp.c C source code sample showing function usage. A full listing is included here.
dblsamp.com Run this file to compile and link the sample. Use this file as a reference for compiling and linking your own applications.
dblsamp.obj C object code.
dblsamp.exe Run this file to run the sample application. N.B. To ensure that the necessary symbols and logicals are defined, the OpenVMS Developer login.com file must have been run prior to calling the application.


UNIX/Linux

File Description
dblsamp.c C source code sample showing function usage. A full listing is included here.
makefile Run this makefile to compile and link the sample. Use this file as a reference for compiling and linking your own applications.

# make

dblsamp.o C object code created by the make.
dblsamp.exe Executable code created by the make. Run the code using the dblsamp script.
dblsamp Run this script to run the sample application. N.B. The calls to recitalxxUD.sh and the Recital Configuration Files are used to ensure that the necessary environment variables are defined before running the application.