Welcome Guest | My Membership | Login

Introduction to Paragraphs - Video


Summary

Paragraph is a simple command found in the Master Dictionary or VOC that combine a series of TCL command together. Paragraphs provide a simple macro language that provides you the ability to add loops, input prompts, as well as simple branching.

Structure:

You create paragraphs in the Master Dictionary or VOC of the account. The basic format of a paragraph is:

001 PARAGRAPH
002 {tcl command}

You may also find a "PA" or "T" in attribute 001.

Let's look at a simple paragraph:

CUST.PA.EXAMPLE

001 PARAGRAPH
002 * List basic customer information
003 IF <<C2>> = "" THEN GO DEFAULT
004 LIST CUST <<C2>> FIRST.NAME LAST.NAME
005 GO DONE
006 DEFAULT: LIST CUST FIRST.NAME LAST.NAME
007 DONE: * Done with paragraph

Let's look at the layout a bit closer:

Line 002 and 007 include comments. Much like BASIC programs, you can include comments in your paragraphs using an '*' Anything after the '*' will be ignored by the paragraph.

Line 003 has 3 things about it that are important: Branching, TCL Parameters, and GOTO Labels.

Read More...

Social Media Login

Use your existing social media logins to access your Membership/Subscription information.

Existing Magazine/Newsletter Subscriber (Quick Access)

If you are an existing International Spectrum subscriber, but have not registered with the website, please enter the Reference Code found on the magazine or in the e-mails you receive from us.

Magazine Reference Code location

Spectrum Login

New Subscriber

If you currently do not receive the Magazine or other emails from International Spectrum, select the "Subscribe" button below to create an new membership account.


 

Find out more about the different between the FREE and a Professional Membership at:
Compare Account Options

 

# # #          # # #          # # #

 

Related Articles

  • D3 ODBC Server Setup - On-Demand

    Database: D3

    Video explaining how to mapping D3 files and data to support ODBC access. Talks about which ODBC API and SQL Grammar is supported, and how to map ODBC/SQL datatypes to MultiValue dictionaries and MultiValue associations.

  • D3 Triggers Overview-Video

    Database: D3

    This Video will show you how to create a file Trigger in D3. You can use triggers for debugging and audit checking, enforce specific business rules, or data cleansing.

  • Setup SSL Encryption for UniObjects

    Database: UniData, UniVerse

    This video provides you a step by step directions to implement the SSL Encryption for UniObjects.NET and UniObjects JAVA. The instructions take you through how to create and implement using Self-Signed Certificates that will cause a 1028Bit or larger encryption between the client PC and the UniVerse or UniData Server.

  • Auditing Database Changes with UniVerse Indexing Subroutines

    Company: CLIFTON OLIVER & ASSOCIATES Database: UniVerse

    UniVerse has file triggers which can be used to call a subroutine whenever a new record is added, changed, or deleted from a file so that the change to the database can be recorded in an audit trail for IT governance and compliance requirements. But full blown triggers come with a certain amount of performance overhead. For simple auditing, using indexing suboutines with a new system variable available at release 11.1 is a lighter weight alternative.

  • Communicate with SQL - D3 Code Sample

    Database: D3

    You can using a combination of a D3 BASIC program and perl to communicate with an SQL database. This sample code will show you how you can do this.


Return to top