home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PASCAL
/
OAS50PRO.ZIP
/
STARTUP.DOC
< prev
Wrap
Text File
|
1989-12-04
|
6KB
|
166 lines
┌────────┬─────────────────────────────┬───────┐
│ OASIS │ EUREKA SOFTWARE ASSOCIATES │ OASIS │
└───┬────┴─────────────────────────────┴──┬────┘
│ OASIS 5.0 START UP DOCUMENTATION │
└─────────────────────────────────────┘
INTRODUCTION
This brief summary shows how OASIS & Turbo Pascal (tm)
interact. A full description with step by step examples can
be found in the reference manual.
OASIS consists of two parts
SFD (Screen Format Designer)
SCL (Screen Control Language).
SYSTEM REWQUIREMENTS
Hard disk preferable
Check your 'CONFIG.SYS' file for:
FILES=16
BUFFERS=32
OASIS INSTALLATION
Create Directory C:\OASIS
COPY SFD.* in C:\OASIS (6 files)
COPY SAMPLE.* in C:\OASIS (not mandatory)
RENAME SCL40.TPU to SCL.TPU if you use Turbo Pascal 4.0
RENAME SCL50.TPU to SCL.TPU if you use Turbo Pascal 5.0
RENAME SCL55.TPU to SCL.TPU if you use Turbo Pascal 5.5
COPY SCL.TPU in Turbo Pascal Directory.
HOW DO I CREATE & TEST MY SCREENS
RUN SFD.EXE
Press F1 for general Help
Press F2 for context sensitive Help
Press LAYOUT
* Follow the menu to create a Format file ie. MyScreens
(File that will contain all the Formats (screens) you
will create).
* Then you will be asked the name of the Format you want
to generate. ie Address
* OASIS will then bring you into the SFD editor (blank
screen) - Press F1 for Help
* Design your Format using various line types and placing
your fields on the screen using [ as left delimiter and
] as right delimiters.
* Your screen could look like this:
ie. you can decide that field 6 is be your prompt line
╔═════════════════════════════════════════╗
║ OASIS TEST FORMAT ║
║ ║
╟─────────────────────────────────────────╢
║ Name [ ] ║
║ Address [ ] ║
║ City [ ] ║
║ State [ ] ZIP [ ] ║
╟─────────────────────────────────────────╢
║ [ ] ║
╚═════════════════════════════════════════╝
* Press ESC to leave the editor
* A menu will ask you to define each field. Again do not
hesitate to press F1 or F2 for help.
* Once all fields have been defined you can press ESC,
SFD will ask you if you really want to do that, say
Yes.
* You are back to the main Menu, select Test/Modify and
the Format you just designed will appear on the Screen
and behave as you defined it with data entry check,
prompts etc..... to abort press F10
* If you are not pleased with the result just go back to
LAYOUT.
* Print the Format file to obtain the specifications of
the format created with SFD to help write you PASCAL
program.WRITING THE APPLICATION
This section is very detailed in OASIS reference manual
A typical application would look like this:
PROGRAM TEST;
USES SCL; {this make the SCL unit available to your program}
{ User declarations, procedures & functions }
BEGIN; {of main}
Select_Format_File('myscreens'); {this is the first SCL
statementin any program. It
loads the necessary files and
initializes SCL.}
{main program}
Close_Formats; {last SCL statement in any program. it closes
all SCL files and clears the screen.}
END. {of main}
Obviously you need other SCL statements to help you deal with
your formats and fields. For example the Procedure
Select_Format(Fname:String10) will be called to display and
handle a format. Look at the source in the examples, modify the
programs and see what happen.
COMPILING THE PROGRAM
Make sure that you have the SCL.TPU for your compiler level. See
system installation.
Just make sure SCL.TPU in the Turbo Pascal environment and
compile.
RUN YOUR PROGRAM
The only requirement is that the program EXE file and the format
files created with SFD for that program are in the same
directory.
MODIFY THE PROGRAM (in general)
If the change is cosmetic or ergonomic, it can be done using SFD
and no compilation will be requires.
If the nature of the change impacts the logic of you program such
as adding or deleting fields, you will need to update your source
to handle the changes made via SFD and you will have to
recompile.WHERE CAN WE BE REACHED
In the US you can reach Remy Fesnoux
CompuServe ID # 72571,741
Telephone (313) 973 0113
In the UK you can reach Martin Hossfeld
CompuServe ID # TBA
Microlink 72:100534
Telex 265871 Monref G (please quote '72:100534'
on first line of Telex for reference)
CIX (Compulink BBS) Mail Martin
Write to:
EUREKA SOFTWARE ASSOCIATES
2344 Yorkshire 12, Pinewood Green
Ann Arbor, MI 48104 or Iver Heath, Bucks. SLO OQP
USA United Kingdom