Introduction
Requirements
Section titled “Requirements”Operating System Support
Section titled “Operating System Support”UNIX, Linux, and Windows
For specific information, please contact your Thoroughbred Sales Representative.
Thoroughbred Source-IV Overview
Section titled “Thoroughbred Source-IV Overview”Thoroughbred Source-IV is a Source code management system that includes a context-sensitive editor, security, compilation facilities, Source locking, and Source code history management. Source-IV supports Source code for Thoroughbred Basic programs and Script-IV scripts. All of the Thoroughbred Basic and Script-IV Directives, Variables, and Functions are available. The OPENworkshop version of Source-IV supports Source code for methods.
Source-IV allows a developer to organize and group Source code into libraries. This feature makes it easy to maintain and manage Source code for product suites composed of multiple modules and for multiple releases of a product.
Thoroughbred Basic Program/Source-IV Comparison
Section titled “Thoroughbred Basic Program/Source-IV Comparison”To this point you are familiar with programming in Thoroughbred Basic Console Mode. Source-IV creates the program in Source text that can be edited but not executed. When you are ready to execute the program, compile the Source. Source-IV converts the text into Thoroughbred Basic program code. This procedure does not affect the Source text. Source-IV provides the ability, through importing, to convert existing Thoroughbred Basic programs into Source text. It is not necessary to re-key existing programs into Source-IV.
Changes made in the Source text do not appear in the Thoroughbred Basic program until you compile the Source.
Changes made directly to a Thoroughbred Basic program do not appear in the Source. If you make any changes to the program you must transfer these changes to the Source. If you perform importing, any program comments in your Source and any indentation is lost.
- Note:
- You can use EDITF to cut/paste (F13) and save a change then copy (F12) that change into your Source.
Working with Existing Thoroughbred Basic Programs
Section titled “Working with Existing Thoroughbred Basic Programs”If you have pre-existing Thoroughbred Basic programs that you want to maintain using Source-IV, you can use a procedure called importing. You create the text, edit it, compile it, and then execute it. For more information, see “Importing a Program” in this document.
Working with Existing Scripts
Section titled “Working with Existing Scripts”If you have pre-existing Script-IV Scripts that you want to maintain using Source-IV, you can use a procedure called importing. You create the text, edit it, compile it, and then execute it. For more information, see the section on Importing.
Source Text Editor
Section titled “Source Text Editor”Source-IV uses a full-screen editor that includes features such as:
- Programming language and Dictionary-IV definition on-line help
- Split Line/Join Line
- Syntax Check
- Search/Replace
- Cut/Paste
- Undo
- Source commenting
Source-IV provides a full-screen editor
Section titled “Source-IV provides a full-screen editor”Using standard Thoroughbred keyboard conventions, you can create or modify programs as you would normal text. This provides many editing techniques that are unavailable with the EDIT directive. It provides a syntax checker, search and replace function, cut and paste function, plus a full on-line reference.
Security
Section titled “Security”Source-IV supports security for both the Source and the executables. Access to both the Source libraries and the Source modules can be restricted with passwords. At compile time, the executable programs can be encrypted and password protected.
Compilation Facilities
Section titled “Compilation Facilities”Source-IV supports several facilities for compiling Source allowing a developer to compile an entire library of Source, a range of Source, or an individual Source module that can be compiled directly from within the editor. In addition, Source-IV supports compile switches allowing the same Source code to generate different versions of the executable program.
Source Code Locking and Edit History
Section titled “Source Code Locking and Edit History”Source-IV allows a developer to lock individual Source modules preventing concurrent revisions to the Source code. Once locked, a complete edit history of all revisions is maintained. This allows a developer to review all changes and if necessary, roll back the changes to revert to a prior version of the Source code.
Thoroughbred Source-IV requires Thoroughbred Basic 8.1B2 or greater, and Dictionary-IV 5.1 or greater. If both of these products are not available on your machine, do not attempt to execute Source-IV.
Thoroughbred Source-IV may be executed by one of the following methods:
- From any Thoroughbred Dictionary-IV menu:
- Type TS and press Enter, or press F1 and select
Source-IV, or press F3 and select Source-IV. - From the Thoroughbred Dictionary-IV Development Menu:
Select 1 Edit and select Source-IV. - From the main OPENworkshop menu, select Source-IV.
From the Source-IV, version 8.9.1. Open this page in the PDF