Beruflich Dokumente
Kultur Dokumente
Product Description
===================
For LF95 ver. 5.6 and above, you can use compiler
switch -f90sql to instruct LF95 to use the f90SQL
modules and library.
Example programs
================
File: f90SQL.Lib
Description: f90SQL Library
Location after installation: the Lib directory of
your Lahey Fortran 95.
File: f90SQLLF95.DLL
Description: f90SQL Dynamic Link Library (DLL)
Location after installation: Your Windows System
directory.
Comments: This is the only redistributable
component of the f90SQL ODBC Library for Lahey
Fortran 95.
Files:
f90SQLConstants.f90
f90SQLConstans.mod
f90SQLConstans.obj
f90SQLStructures.f90
f90SQLStructures.mod
f90SQLStructures.obj
f90SQL.f90
f90SQL.mod
f90SQL.obj
Description: f90SQL Modules.
Location after installation: the Include directory
of your Lahey Fortran 95 installation.
File: ReCompilef90SQL.bat
Description: make file to re-compile f90SQL
Modules.
Location after installation: the Include
directory of your Lahey Fortran 95.
Files:
f90SQLHelp.chm
f90SQLHelpTOC.hhc
Description: f90SQL User Manual, in Microsoft's
HTML-Help format.
Location after installation: the Manuals
directory of your Lahey Fortran 95.
If you cannot view the User Manual,
you can install the Microsoft HTML Help Update
from Accessories on the CD Setup Menu.
program OptSideEffect
integer*2,parameter::iconst=0
integer*4 a,b
a=1
b=2
print *,a,b,iconst
call sub(a,b,int(0,2))
print *,a,b,iconst
stop
end
subroutine sub(arg1,arg2,arg3)
integer*4 arg1,arg2
integer*2 arg3
arg1=arg1+1
arg2=arg2+1
arg3=arg3+1
end subroutine
1 2 0
2 3 0
1 2 0
2 3 1
For LF95 ver. 5.5 and above, you can use compiler
switch -pca (Protect Constant Arguments) to avoid
the side-effects described above.
SQL_ATTR_APP_PARAM_DESC,
SQL_ATTR_ASYNC_ENABLE,
SQL_ATTR_CURSOR_SCROLLABLE,
SQL_ATTR_PARAM_BIND_OFFSET_PTR,
SQL_ATTR_PARAM_BIND_TYPE,
SQL_ATTR_PARAM_OPERATION_PTR,
SQL_ATTR_PARAM_STATUS_PTR,
SQL_ATTR_PARAMS_PROCESSED_PTR,
SQL_ATTR_PARAMSET_SIZE, and
SQL_ATTR_ROW_OPERATION_PTR.
Upgrading to f90SQL-Pro
=======================