AccuTermKeywords

From Pickwiki
Revision as of 17:05, 6 September 2012 by TonyG (talk | contribs) (New page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

AccuTerm has the wED (Windows Editor) which provides syntax highlighting for BASIC programs. v7.1 allows keywords to be defined on the server. With this enhancement, a developer can open wED on different MultiValuedDatabases and get platform-specific highlighting! See the product documentation for details about how to use this feature.

This page provides lists of keywords which can be used for various platforms as well as some ideas for how the lists can be used. It is currently organized as follows:

  • General Statements are BASIC statement keywords which should be supported on all platforms. Use this as your base list.
  • General Functions are BASIC cross-platform functions. Add these to your statements list or set them as your User keywords and assign a different highlight style for more diversity in your code.
  • D3, QM, UniVerse, etc. These sections provide platform-specific keywords for statements and functions.

Since this is a new page, please add comments to the top Comments section regarding structure, merging lists, etc. We can clean up the comments later.

If you would like to contribute to this page, edit it yourself or email TonyG with your notes.

You can help by:

  • Providing new Statement or Function keywords for specific platforms.
  • Noting when keywords should be made General or when General keywords are really platform-specific.
  • Suggesting alternative ways to make this information more useful to colleagues.

Comments

As of 2012-sep-6 this is a new page and subject to many updates in September.

TG:

  • Operands AND and OR added to Functions rather than Statements out of personal preference. Some people won't want these highlighted at all. Just remove them after copying to your DBMS.
  • See wED settings to understand "+", "-", and "=" suffixes.
  • Lists presented here in vertical format with PRE tags for easy copy/paste into DBMS editor. Putting everything in one line would be more elegant but would then require conversion. This is just easier.
  • Lists are sorted for easy searching but lists exported from AccuTerm are grouped by function.
  • Lists so far are only intended as a starting point - they are not complete. Nothing has been "forgotten". Many keywords have simply not been manually added and others need to be checked to see if they're platform-specific. Please send your list updates to TonyG or add them here.
  • To sort a list (in D3) just put all keywords in anitem and then "SORT-LIST filename itemname".
  • A suggestion has already been made to enhance AccuTerm to allow separation of "System" and "User" keywords into several lists which can be used for Statements, Functions, Operands, Compiler Directives, and perhaps other keyword classes.

General Statements

BEGIN+
CALL
CAPTURING
CASE=
CONVERT
CRT
DO
ELSE+
END-
EXECUTE
FOR+
FROM
GO
GOSUB
GOTO
IF
IN
INCLUDE
INPUT
LOCKED+
LOOP+
NEXT-
ON
OPEN
PRINT
READ
REPEAT-
RETURN
RETURNING
STEP
SUB
SUBROUTINE
THEN+
TO
UNTIL=
WHILE=
WRITE

General Functions

AND
ASSIGNED
CHANGE
DATE
FIELD
ICONV
INDEX
LEN
LOCATE
NOT
NUM
OCONV
OR
SWAP
SYSTEM
TIME
TIMEDATE


D3

Statements

ROOT
KEY

Functions



QM

Statements


Functions



Unidata

Statements


Functions

UNASSIGNED


Universe

Statements


Functions



Add more DBMS platforms here