cor es cript c g - vitech · pdf filesability, com ied and move ructs enclosed core ts...

144
C Cons COR struc G REs ct R Guid scrip Refer de pt renc ce

Upload: habao

Post on 19-Mar-2018

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

C

ConsCORstruc

G

REsct RGuid

scripReferde

pt renc

ce

Page 2: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscr

CopyrighNo part photocowithout p

Use, dupin subpaclause a

CORE® Other prmay be

ript Construc

ht © 1998-2of this docupying, transprior written

plication, oraragraph (cat DFARS 2

is a registeroduct namtrademarks

cts

2010 Vitechument may slating into n consent o

r disclosurec) (1) (ii) of t252.277-70

540Custom

ered trademes mention

s of their re

h Corporatiobe reproduanother lan

of Vitech Co

Restrictede by the Gothe Rights i13.

Vitech2270 Kraft Blacksbur

0.951.3322er Support:

www.v

mark of Vitened herein aspective co

Revision D

ii

on. All rightuced in anynguage, or orporation.

d Rights Lovernment iin Technica

h CorporatiDrive, Suit

rg, Virginia 2 FAX: 540: [email protected]

ch Corporaare used foompanies.

Date: Augus

ts reservedy form, inclu

storage in

egend s subject to

al Data and

ion te 1600 24060

0.951.8222@vitechcorp.

com

ation. or identificat

st 2010

d. uding, but na data retr

o restriction Computer

.com

tion purpos

not limited tieval system

ns as set foSoftware

ses only, an

o, m,

rth

nd

Page 3: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Table

ContrBloDisHieIf TIf TIncIterReReUpWh

DatabChEleEleNaPaReReRoTa

DatabAdDeMoNeNeNePuReReReReReSeSeSeTe

File MCloOpOpOpSaSeSe

OutpCoDiaDiaEle

e of Corol Constructsock Constructsabled Code Cerarchy IterateThen ConstrucThen Else Coclude Script ...rate Construc

epeat Until Coeturn ..............pdate Block Chile Do Constbase Query Cildren Query

ement Attributements Queryamed Elementrents Query .

elationship Attelationships Qoot Folder Quergets Query .base Update d Element To

elete Object ...ove Element Tew Element ...ew Folder ......ew Relationshrge Attribute V

elease Edit Loemove Elemenename Elemeename Folder enumber Elemt Edit Lock ...t Element Attt Relationshiprminate Edit LManagement ose File ........pen File Dialogpen Input File pen Output Filve File Dialogt Default Input Default Output Constructs

omma-Delimiteagram File Ouagram Outputement Output

ontents ...................t ....................Construct .....e Construct ..ct ..................nstruct ...............................

ct ...................onstruct ..............................onstruct........ruct ..............

Constructs .........................te Query .......y ....................t Query ..............................tribute Query

Query .............ery .....................................Constructs ...

o Folder .............................To Folder ................................................ip .................Version s .....

ock ................nt From Foldent .......................................

ments..................................ribute ...........p Attribute .....Lock .............Constructs ........................g ........................................le ..................g ...................ut File ............put File .........s ....................ed Output .....utput .............t ........................................

ts

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................er ......................................................................................................................................................................................................................................................................................................................................................................................................................................................

iii

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

CORE

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

script Const

............... 1 

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

............. 13 

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

............. 23 

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

............. 39 

.....................

.....................

.....................

.....................

.....................

.....................

.....................

............. 47 

.....................

.....................

.....................

.....................

tructs

....... 1 

....... 2 

....... 3 

....... 5 

....... 6 

....... 7 

....... 8 

....... 9 

..... 10 

..... 11 

..... 12 

..... 13 

..... 14 

..... 15 

..... 16 

..... 17 

..... 18 

..... 19 

..... 20 

..... 21 

..... 23 

..... 24 

..... 25 

..... 26 

..... 27 

..... 28 

..... 29 

..... 30 

..... 31 

..... 32 

..... 33 

..... 34 

..... 35 

..... 36 

..... 37 

..... 38 

..... 39 

..... 40 

..... 41 

..... 42 

..... 43 

..... 44 

..... 45 

..... 47 

..... 48 

..... 50 

..... 52 

Page 4: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscr

IncIncIncRDSeTagTexVa

ParsiAt GeNePeSeSizSkUp

ProjeProProProSe

PromDroEleMeMuReSinVaYe

ScheAttClaClaClaClaClaDaFacFacFacFacFacReReReReSc

SimuReScSim

UtilitieAvaBe

ript Construc

clude Externaclude Externaclude Style ShDT Output .....t Style ..........g Output ......xt Output ......riable Output ng ConstructEnd ..............

et Position .....ext .................ek ................t Position .....

ze..................ip..................

p To ...............ect Query Conoject Propertyoject Query ..ojects ...........t Project .......

mpting Construop-Down Seleement Selectiessage Prompultiple Selectioeport Settings ngle Selectionlue Prompt ...sOrNo Promp

ema Query Coribute Definitiass Attributesass Property .ass Query .....ass Relations ass Target Claatabase Classcilities ..........cility Databascility Propertycility Query ..cility Schema

elation Attributelation Properelation Query elations .........hema Classelation Constr

esource Level ript Context Q

mulator Propees Constructsailable Diagraep ................

cts

l Boilerplate .l Graphic ......

heet ......................................................................................................................s ...........................................................................................................................................................................................nstructs .........y ...................................................................................ucts ..............ection Prompon Prompt ....pt ..................on Prompt ....Prompt ........

n Prompt ............................pt ..................onstructs .......ion Property . ..................................................................................

asses ...........ses .....................................

se Classes ....y .........................................

a Classes ......tes ................ty ............................................................s ..................ucts ..............Query..........

Query ............erty Query .....s ...................ams Queries ......................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................t ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

iv

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

............. 63 

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

............. 73 

.....................

.....................

.....................

.....................

............. 79 

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

............. 87 

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

........... 105 

.....................

.....................

.....................

........... 109 

.....................

.....................

..... 55 

..... 56 

..... 57 

..... 58 

..... 59 

..... 60 

..... 61 

..... 62 

..... 63 

..... 64 

..... 65 

..... 66 

..... 67 

..... 68 

..... 69 

..... 71 

..... 73 

..... 75 

..... 76 

..... 77 

..... 79 

..... 80 

..... 81 

..... 82 

..... 83 

..... 84 

..... 85 

..... 86 

..... 87 

..... 88 

..... 89 

..... 90 

..... 91 

..... 92 

..... 93 

..... 94 

..... 95 

..... 96 

..... 97 

..... 98 

..... 99 

... 100 

... 101 

... 102 

... 103 

... 105 

... 106 

... 107 

... 109 

... 110 

Page 5: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

BreCaChCoCoExOpSeSys

VariaDaEleEleFiltReReSoVa

Cons

eakpoint .......ancel Report .

ange Indicatoolor Query .....omment .........pire Outputs .

pen Transcriptnd Mail Messstem Property

able Manipulaatabase Objecement Sort ....ement Sort Blter.................

eport Section .eport Setting .rt ..................riable Assign

struct Index ...

.....................

.....................or .................................................................................t ....................sage ..............y Query ........

ation Construcct Sort ................................ocks .................................................................................................ment .................................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................cts ..............................................................................................................................................................................................................

v

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

......................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

CORE

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

script Const

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

........... 123 

.....................

.....................

.....................

.....................

.....................

.....................

.....................

.....................

........... 135 

tructs

... 111 

... 112 

... 113 

... 114 

... 115 

... 116 

... 117 

... 118 

... 120 

... 123 

... 125 

... 126 

... 127 

... 129 

... 130 

... 131 

... 132 

Page 6: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt
Page 7: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Block

Descrip

Tencodoflo

CommeAas

Construc

ption his construct nclose other construct for thocumentationow of the scri

ent An explanation

ssumptions, e

Conct

consists of twconstructs indhe purpose ofn. It encloses pt into more m

n of what is acetc.

ntrol

wo parts on ddented betwef promoting cocode that canmanageable u

ccomplished

1

Cons

ifferent lines oeen them. A bode decompon then be copunits.

by the constr

struc

of the Reportblock is simplyosability, compied and move

ructs enclosed

CORE

cts

t Editor’s Scriy an artificial, posability, reed as a unit, a

d within the b

script ConstCo

pt pane that mnon-functionusability and and it breaks

block, block

tructs ontrol

may al

up the

Page 8: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrControl

Disabl

Descrip

Ten

Comme

A

ript Construc

ed Code

ption his construct nclose other c

ent An explanation

cts

Construc

consists of twconstructs ind

n of why the e

ct

wo parts on ddented betwe

enclosed cons

2

ifferent lines oeen them. The

structs have b

of the Reporte enclosed co

been disabled

t Editor’s Scrionstructs are

d.

pt pane that mnot executed

may .

Page 9: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Hierarc

Descrip

GItedese

Object Abu

RelationTth

Target CTtaitehcl

Sort BloSC

chy Iterat

ption Given a startinerate Construepth first (left econd time an

An element spuilt based upo

ns he collection

he set of relat

Classes he collection

argets within terate throughierarchy, speclasses (e.g., C

ock ort block defi

Child nodes ar

te Constr

ng point (the ruct generatesto right) and

n element is e

ecifying the ron the specifi

of valid relatiions you wou

of valid targethe classes sph a Requiremecifying RequirComponents)

nition of the sre ordered firs

ruct

oot) and a co a tree of elemuses a pre-o

encountered,

oot for the treed relations a

ons to use whuld specify if b

et classes to upecified will aent hierarchy rement and F) from appear

sort block to bst by relation

3

ollection of valments and iterdered traverit is reported

ee. This is theand target cla

hen building tbuilding a cust

use when builappear in the h

and all FunctFunction as thring within the

be used to ordand then by t

lid relations aerates across rsal. This cons but its child n

e starting poinasses.

the hierarchy tom hierarchy

lding the hierahierarchy. Fotions that are

he valid targete iteration.

der the childrethe criteria in

CORE

and target clasthe tree. The

struct is recurnodes are no

nt from which

for iteration. y view.

archy for iteraor example, if

specified by t classes wou

en of a node the specified

script ConstCo

sses, the Hiee tree is expanrsion-safe – tt traversed.

the hierarchy

This is equiva

ation. Only thoyou wished tothe Requirem

uld prevent an

within the hie sort block.

tructs ontrol

rarchy nded he

y will be

alent to

ose o

ment ny other

erarchy.

Page 10: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrControl

MaximuAlenole

IterationT

CounterT

Level VTth

RelationTpa

ript Construc

um Levels An integer speevel nodes haodes are at th

evel 1.

n Variable he variable w

r Variable he variable, w

ariable he variable w

he tree is defin

n Variable he variable, warent node to

cts

ecifying the mave no childrehe maximum

which will hold

which will hold

which will holdned as level 1

which will holdo the child nod

aximum deptn (as defineddepth. The ro

d the current e

d the total num

d the level of t1).

d the relation,de).

4

h of the tree.d by the set ofoot of the tree

element durin

mber of elem

the current ele

, used to reac

Nodes will bef valid relatione is defined as

ng the iteration

ents, iterated

ement within

ch the current

e expanded uns and target s

n.

d over so far.

the hierarchy

t element (the

until either theclasses) or th

y (where the r

e relation from

e leaf-he leaf

root of

m the

Page 11: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

If Then

Descrip

Tenif

ExpressAthca

ValidateVunbo

n Constru

ption his construct nclose other cexpression e

sion An expression he Edit Variaban be coded ie

Validates the snexpected locounds checki

uct

consists of twconstructs ind

evaluates to tr

consisting ofbles commandin some data

syntax of the ecations, all opng can be pe

wo parts on ddented betwerue.

f operators in d under the Ptypes. The re

expression toperators are rerformed.

5

ifferent lines oeen them. The

the CORE exProperties meesult of this ex

o ensure that ecognized, an

of the Reporte enclosed co

xpression lannu of the Repxpression mu

neither operand all variable

CORE

t Editor’s Scrionstructs are

nguage, variabport Editor, anust be a Boole

ators nor operes have been

script ConstCo

pt pane that mexecuted if a

bles defined und constants ean.

rands appearn defined. No

tructs ontrol

may nd only

using that

r in type or

Page 12: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrControl

If Then

Descrip

Tenlotrev

ExpressAthca

ValidateVunbo

ript Construc

n Else Co

ption his construct nclose two gr

ogic. The first rue. The secovaluates to fa

sion An expression he Edit Variaban be coded ie

Validates the snexpected locounds checki

cts

onstruct

consists of throups of otherenclosed grond enclosed

alse.

consisting ofbles commandin some data

syntax of the ecations, all opng can be pe

hree parts on r constructs in

oup of construgroup of cons

f operators in d under the Ptypes. The re

expression toperators are rerformed.

6

different linesndented betwucts (the thenstructs (the el

the CORE exProperties meesult of this ex

o ensure that ecognized, an

s of the Repoween them. Th

branch) is exlse branch) is

xpression lannu of the Repxpression mu

neither operand all variable

ort Editor’s Schis construct xecuted if exps executed if e

nguage, variabport Editor, anust be a Boole

ators nor operes have been

cript pane thatimplements bpression evaluexpression

bles defined und constants ean.

rands appearn defined. No

t may branch uates to

using that

r in type or

Page 13: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Include

Descrip

TthanAcuInth

Script TdrWcu

Script BTinth

LocatioTuslo

Script ATIf prfr

Return Vre

e Script

ption ransfers cont

he next constrnd any scripts

Any duplicate vurrent report enclude Script he script file in

he name of throp-down on

Windows file durrently exist

Browse Buhe Script brow

n the location he previous sen he CORE direses the settin

ocate the incluArgumentshe ordered cothe number oroperties portom within the

Variable to holeturn a value,

trol to the speruct in the curs it includes hvariable declaexecution. Noconstruct in thncluded by th

he script file tthe left, manu

dialog (via thethe parametetton wse button opdirectory as delection unch

ectory where ngs establisheuded script files ollection of vaof variables dtion of the inve invoked scri

d the result, i it must comp

ecified script firrent script (mhave access tarations in theote that doublhe Script pane construct, if

o be executeually entering Script Brows

er field backgr

pens a standadescribed belanged.

the script is led in the Repoe in the appro

ariables whosoes match ex

voked script, apt will not affe

f any, from explete with a R

7

ile, which is emuch like a suto global variae included scrle-clicking the

ne of a Reportf any.

d. Can be spe as a parame

se Button). If around will cha

ard Windows ow or in a su

ocated. Whenort Directoriesopriate directo

se values will xactly with thean error will reect the corres

xecuting the iReturn constru

executed in itsubroutine or pables declaredript referencee left mouse bt Editor opens

ecified either eter, or selecta manually enange to yellow

file dialog. Thbdirectory the

n set to mains portion of thory.

be passed toe number of pesult. Any valsponding argu

include scriptuct that has an

CORE

s entirety befoprocedure calld in the curre

e variables alrbutton with thes a new Repo

by selecting ing the file usntered file naw.

he user must ereof. Cancel

, common, orhe CORE use

o the invoked parameters deues assigneduments in the

. In order for n argument.

script ConstCo

ore control rel). The invoke

ent report exeready definede pointer oveort Editor cont

a variable frosing a standarme does not

specify a scrling the dialog

r user, the coner preferences

script as argueclared in thed to the parame current scrip

an include sc

tructs ontrol

turns to ed script cution.

d in the r an taining

om the rd

ript file g leaves

nstruct s to

uments. e script meters pt.

cript to

Page 14: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrControl

Iterate

Descrip

Tenea Odethov Ova

CollectiNfo

If ke

IterationNno

CounterNbe

ript Construc

Constru

ption his construct nclose other cach object in

On each iteratiefined. If the

heir ordered dver its charac

On the first iteralue is increm

ion Name of a variollowing data

Array Bag DictionOrdereSet String Symbo

the collectioneys whereby n Variable

Name of the iteot be accessir Variable

Name of the coe accessible

cts

ct

consists of twconstructs indthe collection

ion, a differencollection is a

defined by thecters in order.

ration, the coumented by 1.

iable containitypes:

nary ed Collection

ol. n is a dictionathe values ar

eration variabble after this

ounter variabafter this con

wo parts on ddented betwen.

nt object in thean array or ore collection. If

unter variable

ng the collect

ary, this constre accessed.

ble. This variaconstruct term

le. This variabstruct termina

8

ifferent lines oeen them. The

e collection isdered collectif the collection

e is assigned

tion over whic

truct iterates o

able is declareminates.

ble is declareates.

of the Reporte enclosed co

s assigned to ion, this consn is a string o

the value 1. O

ch to iterate, w

over the value

ed within the s

ed within the s

t Editor’s Scrionstructs are

the iteration struct iterates or symbol, this

On every sub

which can be

es stored in th

scope of this

scope of this c

pt pane that mexecuted onc

variable if oneover the obje

s construct ite

bsequent itera

e of one of the

he dictionary,

construct but

construct but

may ce for

e is ects in erates

ation, its

e

, not the

t will

will not

Page 15: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Repeat

Descrip

Tentimevgu

ExpressAthca

ValidateVunbo

t Until Co

ption his construct nclose other cme the groupvaluate to truuaranteed to

sion An expression he Edit Variaban be coded ie

Validates the snexpected locounds checki

onstruct

consists of twconstructs ind of enclosed e, control flowbe executed

consisting ofbles commandin some data

syntax of the ecations, all opng can be pe

wo parts on ddented betweconstructs is ws back to theat least once

f operators in d under the Ptypes. The re

expression toperators are rerformed.

9

ifferent lines oeen them. Thisexecuted, thee beginning. N, since the te

the CORE exProperties meesult of this ex

o ensure that ecognized, an

of the Reports construct ime expressionNote that the st is performe

xpression lannu of the Repxpression mu

neither operand all variable

CORE

t Editor’s Scrimplements loois tested andenclosed con

ed at the end

nguage, variabport Editor, anust be a Boole

ators nor operes have been

script ConstCo

pt pane that mop logic. After, if it does nonstructs are .

bles defined und constants ean.

rands appearn defined. No

tructs ontrol

may r each t

using that

r in type or

Page 16: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrControl

Return

Descrip

TC

Object V

ript Construc

n

ption erminates ex

Construct is en

Variable that c

cts

ecution of an ncountered in

contains the o

include scripn the top-level

bject to be re

10

pt returning col script, the re

eturned from t

ontrol to the ceport is exited

the script.

calling script. Id.

If the Return

Page 17: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Update

Descrip

Tenupfiren

CommeAas

Error MVco

e Block C

ption his construct nclose two grpdates with arst enclosed gncountered, t

ent An explanation

ssumptions, eessage

Variable to holonstruct

Construct

consists of throups of otheran error handlgroup is the bthe second en

n of what is acetc.

d the error m

t

hree parts on r constructs iner to process

block of constnclosed group

ccomplished

essage if an

11

different linesndented betws errors encouructs to be exp of construct

by the constr

error is encou

s of the Repoween them. Thuntered due toxecuted. If a dts (the error h

ructs enclosed

untered within

CORE

ort Editor’s Schis construct wo invalid updadatabase updhandler) is exe

d within the b

n the protecte

script ConstCo

cript pane thatwraps databaate attempts.date error is ecuted.

block, block

ed code of thi

tructs ontrol

t may ase The

s

Page 18: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrControl

While D

Descrip

Tenexexex

ExpressAthca

ValidateVunbo

ript Construc

Do Const

ption his construct nclose other cxpression evaxpression evaxecuted, sinc

sion An expression he Edit Variaban be coded ie

Validates the snexpected locounds checki

cts

truct

consists of twconstructs indaluates to truealuates to falsce the express

consisting ofbles commandin some data

syntax of the ecations, all opng can be pe

wo parts on ddented betwee, the enclosese. Note that tsion is tested

f operators in d under the Ptypes. The re

expression toperators are rerformed.

12

ifferent lines oeen them. Thised group of cothe enclosed before any o

the CORE exProperties meesult of this ex

o ensure that ecognized, an

of the Reports construct imonstructs is econstructs ar

of them are ex

xpression lannu of the Repxpression mu

neither operand all variable

t Editor’s Scrimplements looexecuted repere not guaranxecuted.

nguage, variabport Editor, anust be a Boole

ators nor operes have been

pt pane that mop logic. If theeatedly until thnteed to be

bles defined und constants ean.

rands appearn defined. No

may e he

using that

r in type or

Page 19: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Childre

Descrip

Atadeelrefr Toror

Object V

Target CVdoda

Sort BloSvaso

Return V

Daten Query

ption Assigns to the argets of pareefined by the lement. Thereelation is usedom the corres

he children er more particurdered accord

Variable contaClasses

Variable contaown on the leata types:

Array Bag DictionOrdereSet Sorted

ock ort block defiariable from tort criteria con

Variable to hol

tabasy

return variabent-child relati

parent-child e may be no pd to do attribusponding attri

lements may ular classes, sding to the sp

ining the elem

ining a colleceft or manual

nary ed Collection

d Collection.

nition of a sorhe drop-downntinues to gov

d the sorted c

se Qu

ble the collectionships with relation estabparent-child rute value roll-uibute values i

not all be of tspecify the ta

pecified sort b

ment to query

ction of filter cadditions into

rt block definen on the left overn the beha

collection of e

13

uery C

ion of all the ethe receiver e

blished in the elation for theups, where ann its children

the same clasarget classes block.

y.

classes. Can bo the collectio

ed in the CORor a manual seavior of the so

elements that

Cons

elements in thelement. TheCORE schem

e class of the n attribute va.

ss. To filter oucollection. Th

be specified en on the right

RE project. Celection from orted collectio

t results from

CORE

struct

he CORE date parent-child ma for the clareceiver. The

alue in one ele

ut all childrenhe returned co

either by a vat. Can be of a

Can be specifie the drop-dow

on that results

this construc

script ConstDatabase Q

ts

tabase that arrelationships

ass of the recee parent-childement is com

n except thoseollection will b

ariable from thany of the follo

ed either by awn on the righs from this co

t.

tructs Query

re are eiver d puted

e in one be

he drop-owing

a ht. This nstruct.

Page 20: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Elemen

Descrip

Adaus

Object V

AttributSscle

Return V

ript Construce Query

nt Attribu

ption Assigns to the

atabase specser does not

Variable contate ymbol naminchema for the

eft or a manua

Variable to hol

cts

ute Query

return variabcified by objechave sufficien

ining the elem

g the attributee class of the al selection fro

d the result o

y

ble the value oct. Returns nilnt permission

ment from the

e which valueobject. Can bom the drop-d

of this constru

14

of the specifiel if either the as to view the

e CORE datab

e is desired. Tbe specified edown on the r

ct.

ed attribute ofattribute has value.

base to query

The attribute seither by a varight.

f the element not been ass

y.

should be defriable from th

in the COREsigned a value

fined in the Che drop-down

E e or the

ORE on the

Page 21: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Elemen

Descrip

Asp

DatabasSth

Sort BloSvaso

Return V

nts Query

ption Assigns to the pecified class

se Class ymbol namin

he drop-downock ort block defiariable from tort criteria con

Variable to hol

y

return variabs. The returne

g a class defi on the left or

nition of a sorhe drop-downntinues to gov

d the sorted c

ble a collectioned collection w

ined in the COr a manual se

rt block definen on the left overn the beha

collection of e

15

n of all the elewill be ordered

ORE schemaelection from t

ed in the CORor a manual seavior of the so

elements that

ements in thed according to

. Can be spethe drop-dow

RE project. Celection from orted collectio

t is the result

CORE

e CORE databo the specifie

cified either bwn on the right

Can be specifie the drop-dow

on that results

of this constr

script ConstDatabase Q

base that are ed sort block.

by a variable ft.

ed either by awn on the righs from this co

uct.

tructs Query

of the

from

a ht. This nstruct.

Page 22: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Named

Descrip

Aisda

DatabasAdo

ElemenSdoS

Return V

ript Construce Query

d Elemen

ption Assigns to the s of the specifatabase or th

se Class A class object

own on the let Name ymbol naminown on the leelect Elemen

Variable to hol

cts

t Query

return variabfied class. Thee user does n

defined in theeft or a manua

g the elemeneft or a manuant button.

d the result o

ble the elemene construct wnot have suffi

e CORE scheal selection fro

t to be returnal selection us

of the construc

16

nt in the CORwill return nil if

cient permiss

ema. Can be som the drop-d

ed. Can be spsing an eleme

ct.

RE database tf either the reqsions to acces

specified eithdown on the r

pecified eitheent selection

that has the squested elemss the elemen

her by a variabright.

er by a variabwindow open

specified namment is not in tnt.

ble from the d

le from the drned by pressin

me and the

drop-

rop-ng the

Page 23: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Parent

Descrip

Asotaespato Topthdspsp

Object V

Target CVdoda

Sort BloSvaso

Return V

ts Query

ption Assigns to the ources (vice target of the restablished in arent-child re

o compute the

here is at moperator views

he class of theifferent sourcpecify the targpecified sort b

Variable contaClasses

Variable contaown on the leata types:

Array Bag DictionOrdereSet Sorted

ock ort block defiariable from tort criteria con

Variable to hol

return variabtargets) of paelationships). the CORE sclation is used

e correspondi

st a single pas the relationse receiver mae class. To filget classes coblock.

ining the elem

ining a colleceft or manual

nary ed Collection

d Collection.

nition of a sorhe drop-downntinues to gov

d the sorted c

ble the collectirent-child relaThe parent-c

chema with thd to do attributng attribute v

arent-child rels in the opposay be a target lter out all parollection. The

ment to query

ction of filter cadditions into

rt block definen on the left overn the beha

collection of e

17

ion of all the eationships withild relationsh

he class of thete value roll-u

values of its p

ation establissite direction (

class of multrents except t

e returned col

y.

classes. Can bo the collectio

ed in the CORor a manual seavior of the so

elements that

elements in thth the receivehips are define receiver eleups, where atarents.

shed for each (i.e., their comtiple parent-chthose in one olection will be

be specified en on the right

RE project. Celection from orted collectio

t results from

CORE

he CORE dater element (i.ened by parentement as the tttribute values

class; howevmplements frohild relations,or more partice ordered acc

either by a vat. Can be of a

Can be specifiethe drop-dow

on that results

this construc

script ConstDatabase Q

tabase that are., the receivet-child relationtarget class. Ts of a child ar

ver, since thisom child to pa, each with a cular classes

cording to the

ariable from thany of the follo

ed either by awn on the righs from this co

t.

tructs Query

re er is the ns The re used

s arent),

,

he drop-owing

a ht. This nstruct.

Page 24: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Relatio

Descrip

Ada

Object V

AttributSscth

Return V

ript Construce Query

onship At

ption Assigns to the

atabase spec

Variable contate ymbol naminchema for thehe left or a ma

Variable to hol

cts

ttribute Q

return variabcified by objec

ining the rela

g the attributee relation of thanual selectio

d the result o

Query

ble the value oct.

tionship from

e which valuehe object. Canon from the dr

of this constru

18

of the specifie

the CORE d

e is desired. Tn be specifiedrop-down on t

ct.

ed attribute of

atabase to qu

The attribute sd either by a vthe right.

f the relations

uery.

should be defvariable from

ship in the CO

fined in the C the drop-dow

ORE

ORE wn on

Page 25: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Relatio

Descrip

Athrecl

Object V

RelationSth

Target CVdoda

Return V

onships Q

ption Assigns to the he specified reelationships elasses collect

Variable contan ymbol namin

he drop-downClasses

Variable contaown on the leata types:

Array Bag DictionOrdereSet Sorted

Variable to hol

Query

return variabelation and ha

except those, tion.

ining the elem

g a relation d on the left or

ining a colleceft or manual

nary ed Collection

d Collection.

d the set of re

ble a collectionave the elemewhich targets

ment from the

efined in the r a manual se

ction of filter cadditions into

elationships t

19

n of all the relent specified s are in one o

e CORE datab

CORE schemelection from t

classes. Can bo the collectio

hat results fro

lationships inby object as t

or more partic

base to query

ma. Can be spthe drop-dow

be specified en on the right

om this const

CORE

the CORE dtheir source. ular classes,

y.

pecified eithewn on the right

either by a vat. Can be of a

ruct.

script ConstDatabase Q

atabase that To filter out aspecify the ta

er by a variablt.

ariable from thany of the follo

tructs Query

are of all arget

le from

he drop-owing

Page 26: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Root F

Descrip

Aro

DatabasAdo

Return V

ript Construce Query

Folder Qu

ption Assigns to the oot-level folde

se Class A class object

own on the le

Variable to hol

cts

uery

return variaber whose nam

defined in theeft or a manua

d the result fr

ble the elemenme is the name

e CORE scheal selection fro

rom this cons

20

nt folder objece of the class

ema. Can be som the drop-d

truct.

ct for the spes.

specified eithdown on the r

cified class. E

her by a variabright.

Each class ha

ble from the d

as a

drop-

Page 27: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Target

Descrip

Aspwm

Object V

RelationSth

Target CVdoda

Sort BloSvaso

Return V

ts Query

ption Assigns to the pecified relati

will be orderedmore particula

Variable contan ymbol namin

he drop-downClasses

Variable contaown on the leata types:

Array Bag DictionOrdereSet Sorted

ock ort block defiariable from tort criteria con

Variable to hol

return variabion and have d according tor classes, spe

ining the elem

g a relation d on the left or

ining a colleceft or manual

nary ed Collection

d Collection.

nition of a sorhe drop-downntinues to gov

d the sorted c

ble a collectionthe element s

o the specifiedecify the targe

ment from the

efined in the r a manual se

ction of filter cadditions into

rt block definen on the left overn the beha

collection of e

21

n of all the elespecified by od sort block. Tet classes col

e CORE datab

CORE schemelection from t

classes. Can bo the collectio

ed in the CORor a manual seavior of the so

elements that

ements in theobject as theirTo filter out alllection.

base to query

ma. Can be spthe drop-dow

be specified en on the right

RE project. Celection from orted collectio

t results from

CORE

e CORE databr source. Thell targets exce

y.

pecified eithewn on the right

either by a vat. Can be of a

Can be specifie the drop-dow

on that results

this construc

script ConstDatabase Q

base that are e returned colept those in o

er by a variablt.

ariable from thany of the follo

ed either by awn on the righs from this co

t.

tructs Query

of the lection

one or

le from

he drop-owing

a ht. This nstruct.

Page 28: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

ript Construce Query

cts

THIS PAG

22

GE INTENTIOONALLY BLANK

Page 29: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Add El

Descrip

Aus

ElemenV

Folder V

Datalement To

ption Adds the spec

ser does not

t Variable conta

Variable conta

abaso Folder

ified element have write pe

ining the elem

ining the fold

e Up

to the folderermission for t

ment to add to

er to which th

23

date

without remothe element,

o the folder.

he element sh

Cons

oving the eleman error will b

hould be adde

CORE

struc

ment from anybe signaled.

ed.

script ConstDatabase Up

cts

y other folder.

tructs pdate

If the

Page 30: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Delete

Descrip

Dus

Object V

ript Construce Update

Object

ption Deletes the sp

ser does not

Variable conta

cts

ecified objecthave permiss

ining the obje

t (either an elsion to delete

ect (an eleme

24

ement, relatiothe object, an

nt, relationsh

onship, or foldn error will be

hip or folder) t

der) from the e signaled.

o be deleted.

database. If t

the

Page 31: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Move E

Descrip

Rfosp If

ElemenV

Source V

Target FV

Element T

ption Removes the solders containpecified elem

the user doe

t Variable conta

Folder Variable contaFolder

Variable conta

To Folde

specified elemning the eleme

ment, no error

s not have wr

ining the elem

ining the fold

ining the fold

r

ment from theent are unaffewill be signal

rite permissio

ment to move

er from which

er to which th

25

e source foldeected. Note thed and the el

on for the elem

.

h to remove th

he element sh

er and adds it hat if the sourlement will be

ment, an erro

he element.

hould be adde

CORE

to the target rce folder doee added to the

r will be signa

ed.

script ConstDatabase Up

folder. Any oes not containe target folder

aled.

tructs pdate

ther n the r.

Page 32: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

New E

Descrip

Cascr

DatabasSth

ElemenSdo

Return Vis

ript Construce Update

lement

ption Creates a new

ssigns it to threated due to

se Class ymbol namin

he drop-downt Name ymbol naminown on the le

Variable to hols not.

cts

w element of the return varia a name conf

g a class defi on the left or

g the elemeneft or manual

d the result o

he specified dable. An error flict or insuffic

ined in the COr a manual se

t to be createentry in the fi

of this constru

26

database clasis signaled a

cient user per

ORE schemaelection from t

ed. Can be speld on the rig

ct – the new

ss with the spand nil is returrmissions to c

. Can be spethe drop-dow

pecified eitherght.

element if the

pecified elemerned if the elecreate elemen

cified either bwn on the right

r by a variable

e operation is

ent name andement cannot nts.

by a variable ft.

e from the dro

s successful o

d be

from

op-

or nil if it

Page 33: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

New Fo

Descrip

Cthna

Parent FV

Folder NSon

Return Vno

older

ption Creates a newhe return variaame conflict o

Folder Variable contaName ymbol naminn the left or m

Variable to holot.

w folder with thable. An erroror insufficient

ining the fold

g the folder tomanual entry i

d the result o

he specified for is signaled auser permiss

er in which th

o be created.n the field on

of this constru

27

folder name aand nil is retursions to creat

he new subfol

Can be spec the right.

ct – the new f

as a subfolderrned if the folte folders.

lder is to be c

cified either by

folder if the o

CORE

r of parent folder cannot be

created.

y a variable fr

operation is su

script ConstDatabase Up

lder and assige created due

rom the drop-

uccessful or n

tructs pdate

gns it to e to a

-down

nil if it is

Page 34: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

New R

Descrip

Cresc

Source Vse

RelationRth

Target EVth

Return Vif

ript Construce Update

Relationsh

ption Creates a neweturn variablechema conflic

Element Variable contaelected in COn

Relation definehe left or a maElement

Variable contahe “Add Targe

Variable to holit is not.

cts

hip

w relationship . An error is s

ct, a database

ining the souORE when sel

ed in the CORanual selectio

ining the targets” dialog in

d the result o

of type relatiosignaled and e constraint, o

rce element olecting a relat

RE schema. Con from the dr

get of the newCORE.

of this constru

28

on between thnil is returnedor insufficient

of the new reltion name and

Can be specifrop-down on t

w relationship.

ct – the new

he specified ed if the relatiouser permiss

lationship. Thd issuing the

fied either by the right.

This is equiv

relationship if

elements and onship cannot sions to creat

his is equivale“Add Targets

a variable fro

valent to the e

f the operatio

assigns it to t be created dte the relation

ent to the elems” command.

om the drop-d

element spec

on is successf

the due to a nship.

ment

down on

ified in

ful or nil

Page 35: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Purge

Descrip

PprCve

ElemenV

AttributVco

Type Scuvad

Attribute

ption urges the sperovides script

CORE. Unlike ersions for a s

ts Variable contates

Variable contaollection is em

ymbol indicaturrent versionalue, the curriscarded.

e Version

ecified collectting access tothe commandspecific attrib

ining the colle

ining the nammpty, CORE w

ting the type on will be mainent version w

s

tion of attributo the purge atds available vute or collect

ection of elem

mes of the attrwill purge ver

of purge to betained with al

will be marked

29

tes for the spettribute versiovia the user inion of attribut

ments for whic

ributes for whsions for all a

e performed. ll interim attrib

d as the basel

ecified collecton and baselinnterface, this tes.

ch you wish to

hich you wish attributes.

If the value isbute versionsline and all pr

CORE

tion of elemene attribute veconstruct allo

o purge attrib

to purge attri

s interim, the s being purgerevious versio

script ConstDatabase Up

nts. This consersion commaows purging a

bute versions.

bute versions

first version ad. For any oth

ons will be

tructs pdate

struct ands in attribute

s. If the

and her

Page 36: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Releas

Descrip

Brelaer

ript Construce Update

se Edit Lo

ption eginning with

epositories. Tanguage as plrror.

cts

ock

h CORE 7, edhough the colaceholders a

dit lock construnstructs are i

allowing existi

30

ucts are no lognored duringng reports tha

onger requiredg execution, tat use these

d for setting pthey remain iconstructs to

properties in rn the construexecute with

remote ct

hout

Page 37: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Remov

Descrip

Rw If

ElemenV

Folder V

ve Eleme

ption Removes the swill automatica

the user doe

t Variable conta

Variable conta

nt From F

specified elemally be added

s not have wr

ining the elem

ining the fold

Folder

ment from theto the root fo

rite permissio

ment to remov

er from which

31

e folder. If no older for the da

on for the elem

ve from the fo

h the element

other folder catabase class

ment, an erro

older.

t should be re

CORE

contains the ss.

r will be signa

emoved.

script ConstDatabase Up

specified elem

aled.

tructs pdate

ment, it

Page 38: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Renam

Descrip

Cdoex

ElemenV

New NaSdr

ript Construce Update

me Eleme

ption Changes the n

oes not have xisting name

t Variable contaame

ymbol specifyrop-down on

cts

nt

name of elemepermission to(element nam

ining the elem

ying the new the left or ma

ent from its cuo change the mes must be u

ment to be ren

name for the anual entry in

32

urrent value telement namunique within

named.

element. Canthe field on th

to new name.me or if the nen a database c

n be specifiedhe right.

. An error is sew element naclass).

d either by a v

signaled if theame conflicts

variable from

user with an

the

Page 39: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Renam

Descrip

Cdoexun

Folder V

New NaSdo

me Folder

ption Changes the n

oes not have xisting name nique in Micro

Variable contaame

ymbol specifyown on the le

r

name of folderpermission to(folder nameosoft Window

ining the fold

ying the new eft or manual

r from its curro change the s must be un

ws).

er to be renam

name for the entry in the fi

33

rent value to nfolder name ique within a

med.

folder. Can beld on the rig

new name. Aor if the new parent folder

be specified eght.

CORE

n error is signfolder name c

r just as direct

either by a var

script ConstDatabase Up

naled if the usconflicts with tory names a

riable from th

tructs pdate

ser an re

e drop-

Page 40: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Renum

Descrip

Rnueq

Root ElV

NumberHreor

Sort BloSvaelar

ript Construce Update

mber Elem

ption Renumbers ro

umber and nequivalent to th

ement Variable contar

Hierarchical nuenumbering ar manual entrock ort block defiariable from tlements withore renumbere

cts

ments

ot element anew hierarchiche Renumber

ining the star

umber specifyall descendentry in the field

nition of a sorhe drop-downout structuresed.

nd all of its deal numbers ar Element com

rting element

ying the new nts. Can be spon the right.

rt block definen on the left os such as FFB

34

escendents. Tre generated mmand in CO

for the renum

number for thpecified either

ed in the CORor a manual seBDs, this sort

The number a for the entire

ORE.

mber comman

he root elemer by a variable

RE project. Celection from block govern

attribute for roe descendent

nd.

ent and startine from the dro

Can be specifie the drop-dow

ns the order in

oot element istree. This is

ng value for op-down on th

ed either by awn on the righn which desce

s set to

he left

a ht. For endents

Page 41: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Set Ed

Descrip

Brelaer

dit Lock

ption eginning with

epositories. Tanguage as plrror.

h CORE 7, edhough the colaceholders a

dit lock construnstructs are i

allowing existi

35

ucts are no lognored duringng reports tha

onger requiredg execution, tat use these

CORE

d for setting pthey remain iconstructs to

script ConstDatabase Up

properties in rn the construexecute with

tructs pdate

remote ct

hout

Page 42: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Set Ele

Descrip

Susto

ElemenV

AttributSclm

Value V

ript Construce Update

ement Att

ption ets the value ser does not

o assign a stri

t Variable contate ymbol naminlass of the ele

manual selecti

Variable conta

cts

tribute

of the specifihave permissing value to a

ining the elem

g the attributeement. Can bon from the d

ining the valu

ied attribute osion to changea numeric attri

ment from the

e to be set. The specified e

drop-down on

ue to be assig

36

of the specifiee the attributeibute).

e CORE datab

he attribute sither by a var the right.

gned to the sp

ed element to e or if a type m

base to acces

hould be defiriable from the

pecified attribu

value. An errmismatch occ

ss.

ned in the COe drop-down o

ute.

ror is signaledcurs (e.g., atte

ORE schema on the left or

d if the empting

for the a

Page 43: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Set Re

Descrip

Sthat

RelationV

AttributSth

Value V

elationshi

ption ets the value

he user does ttempting to a

nship Variable contate ymbol namin

he left or a ma

Variable conta

ip Attribu

of the specifinot have permassign a string

ining the rela

g the attributeanual selectio

ining the valu

ute

ied attribute omission to chag value to a n

tionship from

e to be set. Con from the dr

ue to be assig

37

of the specifieange the attri

numeric attribu

the CORE d

an be specifierop-down on t

gned to the sp

ed relationshipibute or if a tyute).

atabase to ac

ed either by athe right.

pecified attribu

CORE

p to value. Anype mismatch

ccess.

a variable from

ute.

script ConstDatabase Up

n error is signh occurs (e.g.,

m the drop-do

tructs pdate

naled if ,

own on

Page 44: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrDatabase

Termin

Descrip

Brelaer V

ript Construce Update

nate Edit

ption eginning with

epositories. Tanguage as plrror.

Variable conta

cts

Lock

h CORE 7, edhough the colaceholders a

ining the COR

dit lock construnstructs are i

allowing existi

RE element fo

38

ucts are no lognored duringng reports tha

or which the e

onger requiredg execution, tat use these

edit lock shou

d for setting pthey remain iconstructs to

uld be termina

properties in rn the construexecute with

ated.

remote ct

hout

Page 45: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Close

Descrip

CcoFan

File NamSor

LaunchBinva

FileFile

ption Closes the speonstruct is usile construct sn error messa

me tring naming r manual entr File oolean desig

n which case, ariable from t

e Man

ecified file. If aed in conjuncshould subseage is genera

the file to clory in the field

nating whethethe user will he drop-down

nagem

an Open Outpction with onequently be in

ated.

se. Can be spon the right.

er or not to opbe prompted n on the left o

39

ment

put File conste of the data ocluded. If it is

pecified eithe

pen the file into launch the

or by selecting

Cons

truct is used ooutput construs missing, the

er by a variabl

n the associate file or not. Cg the desired

CORE

struc

or if a Set Defucts, then a c

e file is closed

le from the dr

ted applicatioCan be specifi

option on the

script ConstFile Manage

cts

fault Output Fcorresponding automatically

rop-down on t

n. Can also bied either by ae right.

tructs ement

File g Close y, but

the left

be nil a

Page 46: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrFile Mana

Open F

Descrip

Oal

Title Dvapa

File NamScoenspva

Return Vfil

ript Construcagement

File Dialo

ption Opens the com

ll accessible s

Descriptive naariable from tarameter shome tring specifyinommon dialogntry in the fielpecified in theariable that co

Variable to holle, or nil if the

cts

og

mmon file dialstorage volum

me appearinghe drop-down

ould be a strin

ng the defaultg. Can be speld on the righte File Locatioontains a full

d the result oe user selects

og provided bmes and direc

g in the title bn on the left o

ng.

t file name or ecified either t. The commons portion of path name.

of this construthe Cancel b

40

by the host opctory structure

ar of the comor manual ent

filter, such asby a variable on dialog will User Prefere

ct, which is abutton.

perating systees and to sele

mmon dialog. Ctry in the field

s *.csv, to ap from the droautomaticallynces. This ca

a string specify

em, allowing tect a file to be

Can be specion the right.

pear in the sep-down on thy open on thean be overridd

fying the full p

the user to nae opened for r

fied either byThe type of t

election field oe left or manu

e Source direcden by specify

path to the se

avigate reading.

y a his

of the ual ctory fying a

lected

Page 47: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Open I

Descrip

Oerca

File NamSthre

Input File

ption Opens the spe

rror results if an be referen

me tring naming

he left or manelative to the w

e

ecified file for the file is alre

nced in parsin

the file to be ual entry in thworking direc

reading. It doeady open forg constructs.

opened. Canhe field on thectory in which

41

oes no harm tr output. A file

n be specified e right. If the fCORE was la

to open a file e must be ope

either by a vfull path is noaunched.

CORE

multiple timesened via this c

variable from tot specified, it

script ConstFile Manage

s for input, buconstruct befo

the drop-dowis assumed t

tructs ement

ut an ore it

wn on to be

Page 48: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrFile Mana

Open O

Descrip

Oou

File NamSor

File TypSth If fosprege

OverwrBtrapdr

ript Construcagement

Output Fi

ption Opens the file

utput constru

me tring naming r manual entr

pe ymbol specify

he left or a ma

RTF (Rich Teont styles as wpecified, apprequirements. enerate inputite File oolean objec

rue, an existinppended to throp-down on

cts

ile

specified by tcts and shoul

the file to opery in the field

ying the desiranual selectio

ext Format) iswell as embedropriate text trYou can alsot for other par

t indicating wng file will be ohe bottom of athe left or a m

the file nameld be closed a

en. Can be spon the right.

red file type. Con from the dr

s specified, aldded graphicsranslations w

o generate plarsers or tools,

whether an exioverwritten. Ifany existing f

manual select

42

, which can thafterward.

pecified either

Can be specifrop-down on t

ll output will bs and can be

will be made aain ASCII files etc.

isting file shouf the argumenfile contents. Ction using the

hen be used a

r by a variabl

fied either by the right.

be in RTF formimported intoutomatically t

s to output the

uld be overwrnt value is truCan be speci radio buttons

as the destina

e from the dro

a variable fro

mat, which cao word procesto conform toe results of si

ritten. If the aue, the new co

fied either bys on the right

ation of subse

op-down on t

om the drop-d

an include mussors. If HTM HTML mple queries

argument valuontents will bey a variable fro.

equent

the left

down on

ultiple ML is

, to

ue is e om the

Page 49: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Save F

Descrip

Dw

Title Sth

File NamSstenspva

Return Vfil

File Dialog

ption Displays the stwriting), and as

tring to use ahe left or manme tring specifyintandard dialogntry in the fielpecified in theariable that co

Variable to holle, or nil if the

g

tandard Windssigns the res

as the dialog wual entry in th

ng the defaultg. Can be speld on the righte File Locatioontains a full

d the result oe user cancels

dows Save Filsult to the retu

window title. Che field on the

t file name or ecified either t. The standans portion of path name.

of this construs the dialog.

43

e dialog, promurn variable.

Can be specife right.

filter, such asby a variable

ard dialog will User Prefere

ct, which is a

mpting the us

fied either by

s *.rtf, to appee from the dro

automaticallynces. This ca

a string specify

CORE

ser to select a

a variable fro

ear in the seleop-down on thy open on thean be overridd

fying the full p

script ConstFile Manage

a file to open (

om the drop-d

ection field ofhe left or mane Output direcden by specify

path for the se

tructs ement

(for

down on

f the ual ctory fying a

elected

Page 50: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrFile Mana

Set De

Descrip

Smop

File NamSdrid

ript Construcagement

efault Inpu

ption ets the defau

multiple files apened.

me tring naming rop-down on

dentical to the

cts

ut File

ult file used byre open for re

the input file the left or ma

e file name wit

y parsing conseading. Before

to be used asanual entry in th which the f

44

structs when e an input file

s the default.the field on th

file was opene

their file parae can be set a

Can be speche right. The ed.

ameters are nas the default

cified either byvalue of this

not specified a, it must first b

y a variable frparameter sh

and be

rom the hould be

Page 51: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Set De

Descrip

Sm

File NamSth

efault Out

ption ets the defau

multiple files a

me tring naming

he left or man

tput File

ult file used byre open for w

the default ouual entry in th

y output constwriting. This fil

utput file. Canhe field on the

45

tructs when the must still be

n be specifiede right.

heir file parame opened befo

d either by a v

CORE

meters are nofore it can be

variable from

script ConstFile Manage

ot specified anused.

the drop-dow

tructs ement

nd

wn on

Page 52: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrFile Mana

ript Construcagement

cts

THIS PAG

46

GE INTENTIOONALLY BLANK

Page 53: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Comm

Descrip

Ocoemth

VariableV

DestinaSfil

File S

ma-Delimit

ption Outputs the coould contain ambedded quo

his manner). O

e Variable whose

ation ymbol specifyle and the on-

tring specifyin

Outted Outpu

ontents of a vaa comma or ootation marksOtherwise, the

e contents is

ying whether -screen trans

ng the name

tput Cut

ariable formaother special c are doubled e variable is o

to be output i

the output shcript, or a CO

of the destina

47

Cons

tted as a comcharacter, the(dates, time s

output in stan

in comma-de

hould be direcORE2net strea

ation file to wh

struct

mma-delimitede field is delimstamps, string

ndard format.

limited forma

cted to a file, tam.

hich the varia

CORE

ts

d field. If the vmited by quotags, and text b

at.

the on-screen

able is to be o

script ConstO

variable beingation marks ablocks are out

n transcript, b

output.

tructs Output

g output and any tput in

both a

Page 54: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrOutput

Diagra

Descrip

Oe

Od

Object V

File Sdo

File TypSth

ript Construc

am File O

ption Outputs any C

ither WMF, JP

Optionally, for iagram entity

Variable contaClass ElemeFacility

tring naming own on the le

pe ymbol specify

he left or a ma

cts

utput

ORE databasPG, PNG, or

JPG and PNGlocators each

ining an obje

ent y

the destinatioeft or manual

ying the desiranual selectio

se or schemaSVG format.

G formats, ash of which co

ct of one of th

on of file outpentry in the fi

red file type. Con from the dr

48

a diagram as a

ssigns to the rrresponds to

he following d

ut. Can be speld on the rig

Can be specifrop-down on t

a graphics file

return variabla hotspot on

data types:

pecified eitherght.

fied either by the right.

e. A diagram

e an orderedthe output di

r by a variable

a variable fro

can be outpu

collection of agram.

e from the dro

om the drop-d

ut in

op-

down on

Page 55: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

DiagramSdo

DiagramS

Black &BCbu

HierarchSseCse

RelationCobDthse

Target CV(ierig

Create NBerig

Return Vlo

m Type ymbol specifyown on the le

m Scale cale (as a pe

& White oolean indica

Can be specifiuttons on the hy Type ymbol specifyet to “Hierarch

CORE project.election from ns

Collection of sybject. Used if

Diagram” and he left or manet. Classes

Variable conta.e., diagram tither by a varght. Can be o

Array Bag DictionOrdereSet Sorted

Node Map oolean indicaither by a varght.

Variable to holocators or nil d

ying the diagreft or a manua

rcentage of th

ating whether ed either by aright.

ying the type hy Diagram” a Can be specthe drop-dow

ymbols naminf the specifiedhierarchy typual additions

ining a collectype is set to “iable from the

of any of the f

nary ed Collection

d Collection.

ating whether iable from the

d the result odepending on

ram type to oual selection fro

he original dia

the diagram a variable from

of hierarchy dand object is cified either bywn on the righ

ng relations tod diagram is ae is empty). Cinto the colle

ction of filter c“Hierarchy Die drop-down ofollowing data

a node map e drop-down o

of this construn the setting o

49

utput. Can beom the drop-d

agram size) a

should be form the drop-do

diagram to bean Element. y a variable fr

ht.

o traverse in ca custom hieraCan be specifection on the r

classes. Usedagram” and hon the left or

a types:

for the diagraon the left or

ct. It is either of create node

e specified eitdown on the r

at which the d

rced to black own on the le

e produced. OCan be any hrom the drop-

computing thearchy (i.e., diafied either by right. The bes

d if the specifiehierarchy typemanual addit

am should be a manual sel

r an ordered ce map.

CORE

ther by a variaright.

diagram is to b

and white (aseft or a manua

Only meaninghierarchy type-down on the

e closure of thagram type isa variable fro

st kind of colle

ed diagram ise is empty). Ctions into the

generated. Cection from th

collection of d

script ConstO

able from the

be output.

s opposed to al selection fro

ful if diagrame defined in th left or a man

he specified es set to “Hieraom the drop-dection to use

s a custom hieCan be specificollection on

Can be specifhe buttons on

diagram entity

tructs Output

drop-

color). om the

m type is he nual

element archy down on is a

erarchy ied the

fied n the

y

Page 56: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrOutput

Diagra

Descrip

E Tmthprou

Object V

DestinaSfilfr

File Sdo

ript Construc

am Outpu

ption ncodes any C

he diagram ismaximum heighat it fits on a roportionally. utput is chose

Variable contaClass ElemeFacility

ation ymbol specifyle and the on-om the drop-d

tring naming own on the le

cts

ut

CORE databa

s reduced to tght and its wid

page). WhichThis construc

en and the sp

ining an obje

ent y.

ying that outp-screen transdown on the l

the destinatioeft or manual

ase or schema

the scale at wdth is less thahever scaling ct is not usefu

pecified file wa

ct of one of th

put be directedcript, or to a Cleft or a manu

on of file outpentry in the fi

50

a diagram as

which its heighan or equal to

factor is morul if the transcas opened in

he following d

d either to a fCORE2net stual selection f

ut. Can be speld on the rig

a graphic in

ht is less thanthe specified

re restrictive iscript is selecteASCII mode.

data types:

file, to an on-stream. Can befrom the drop

pecified eitherght.

an RTF file.

n or equal to td maximum ws used to reded as the des.

screen text trae specified ei

p-down on the

r by a variable

the specified width (e.g., to e

uce both dimstination or if f

anscript, to bother by a vari

e right.

e from the dro

ensure ensions file

oth a iable

op-

Page 57: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

DiagramSdo

Width Fdem

Height Fden

Black &BCbu

HierarchSseCse

RelationCobDthse

Target CV(ierig

m Type ymbol specifyown on the le

loat specifyinetermine diag

manual entry in

loat specifyiniagram scale)ntry in the fiel

& White oolean indica

Can be specifiuttons on the hy Type ymbol specifyet to “Hierarch

CORE project.election from ns

Collection of sybject. Used if

Diagram” and he left or manet. Classes

Variable conta.e., diagram tither by a varght. Can be o

Array Bag DictionOrdereSet Sorted

ying the diagreft or a manua

g the maximugram scale). Cn the field on

g the maximu). Can be speld on the right

ating whether ed either by aright.

ying the type hy Diagram” a Can be specthe drop-dow

ymbols naminf the specifiedhierarchy typual additions

ining a collectype is set to “iable from the

of any of the f

nary ed Collection

d Collection.

ram type to oual selection fro

um width of thCan be specifthe right.

um width of thecified either bt.

the diagram a variable from

of hierarchy dand object is cified either bywn on the righ

ng relations tod diagram is ae is empty.) Cinto the colle

ction of filter c“Hierarchy Die drop-down ofollowing data

51

utput. Can beom the drop-d

he diagram (ufied either by

he diagram (uby a variable

should be form the drop-do

diagram to bean element. Cy a variable fr

ht.

o traverse in ca custom hieraCan be specifection on the r

classes. Usedagram” and hon the left or

a types:

e specified eitdown on the r

used in conjuna variable fro

used in conjunfrom the drop

rced to black own on the le

e produced. OCan be any hrom the drop-

computing thearchy (i.e., diafied either by right. The bes

d if the specifiehierarchy typemanual addit

CORE

ther by a variaright.

nction with theom the drop-d

nction with thep-down on the

and white (aseft or a manua

Only meaninghierarchy type-down on the

e closure of thagram type isa variable fro

st kind of colle

ed diagram ise is empty). Ctions into the

script ConstO

able from the

e height to down on the le

e width to dete left or manu

s opposed to al selection fro

ful if diagrame defined in th left or a man

he specified es set to “Hieraom the drop-dection to use

s a custom hieCan be specificollection on

tructs Output

drop-

eft or

termine ual

color). om the

m type is he nual

element archy down on is a

erarchy ied the

Page 58: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrOutput

Elemen

Descrip

Rfo

Object Vre

DestinaSandr

File Sdo

RepreseOthre

ript Construc

nt Outpu

ption Represents anormat of the in

Variable contaeport output. ation

ymbol specifynd the on-scrrop-down on

tring naming own on the leentation

Ordered colleche name of thelation, or har

Class NamOutputundefi

Element NOutput

cts

t

n element objenformation inc

ining an elem

ying that outpreen transcripthe left or a m

the destinatioeft or manual

ction of represe element its

rd-coded text.me ts the alias ofned.

Name ts the name o

ect from the Ccluded from th

ment to be refe

put be directedpt, or a COREmanual select

on of file outpentry in the fi

sentation fieldelf, the value .

f the element’

of the elemen

52

CORE databahe element is

erenced in or

d to either a fE2net stream.tion from the d

ut. Can be speld on the rig

ds, each of whof an attribut

’s class, if def

nt.

ase in the reps determined

r from which in

file, an on-scrCan be spec

drop-down on

pecified eitherght.

hich can be thte defined for

fined, or the c

port output. Thby its represe

nformation is

reen text transcified either byn the right.

r by a variable

he alias of thethe class, the

class name if

he amount anentation.

to be extract

script, both ay a variable fr

e from the dro

e element’s ce targets of a

the alias is

nd

ted for

a file rom the

op-

lass,

Page 59: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Attribute Outputthe vadown l If the afollowedesirein a Te

Targets Outputlist as desirespecifishould If no taoutputafter tethe borepres

Text

Output

ts the attributlue. For eachlist.

attribute valueed by the attrid regardless ext represent

ts the targetswell as text tod relation andies not only ind take.

argets exist fot first, followedext is output. ilerplate text s

sentation field

ts the boilerp

te value for thh Attribute fie

e is nil, nothinibute value, aof whether oration field ins

for the specio separate indd sort block mn what order t

or the specified by the list oIf boilerplate should be spe.

late text spec

53

he specified aeld, the desire

ng is output. Oand finally ther not a value estead of an At

fied relation wdividual targe

must be selectto output the t

ed relation, nof targets sepatext is desiredecified in a Te

cified in the te

ttribute with bed attribute m

Otherwise, thee after text is oexists, the bottribute repre

with boilerplatets in the list.ted from the dtargets but al

othing is outparated by the d regardless ext represent

ext field.

CORE

boilerplate texust be selecte

e before text ioutput. If boileoilerplate text esentation fiel

te text beforeFor each Tardrop-down lisso what form

ut. Otherwisebetween textof whether ortation field ins

script ConstO

xt before and ed from the d

is output first,erplate text isshould be spld.

e and after thergets field, thests. The sort b the represen

e, the before tt, and finally tr not targets estead of a Tar

tructs Output

after drop-

, s ecified

e target e

block ntation

text is the exist, rgets

Page 60: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrOutput

ript Construc

cts

54

Page 61: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Include

Descrip

Imthth

Include SthW

DestinaSthdr

File Sdo

e Externa

ption mports an exthe file was ophe word proce

File tring naming

he left or by bWindows file dation

ymbol specifyhe on-screen rop-down on

tring naming own on the le

al Boilerp

ernal file into ened in RTF

essor into whi

the file to be rowsing using

dialog prompti

ying that outptranscript, or the left or a m

the destinatioeft or manual

plate

a report. Thismode. Any filich the RTF fi

imported. Cag the button oing the user to

put be directeda CORE2net

manual select

on of file outpentry in the fi

55

s is only meale type is supile will ultimat

an be specifieon the right. To select a file

d to either a ft stream. Cantion from the d

ut. Can be speld on the rig

ningful if the pported that cately be import

d either by a The file browse for importatio

file, an on-scrn be specifieddrop-down on

pecified eitherght.

CORE

specified desan be read anted.

variable fromse button openon.

reen text transd either by a vn the right.

r by a variable

script ConstO

stination is a fnd understoo

m the drop-downs a standard

script, both a variable from

e from the dro

tructs Output

file and d by

wn on d

file and the

op-

Page 62: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrOutput

Include

Descrip

Ima un

Include Sdost

DestinaAanth

File Sdo

ript Construc

e Externa

ption mports an ext

file and the finderstood by

File tring naming own on the letandard Wind

ation A symbol spec

nd the on-scrhe drop-down

tring naming own on the le

cts

al Graphi

ernal graphicile was openethe word pro

the graphics eft or by browsdows file dialo

cifying that oureen transcrip on the left or

the destinatioeft or manual

c

cs file into a reed in RTF moocessor into w

file to be impsing using the

og prompting t

utput be directpt, or a COREr a manual se

on of file outpentry in the fi

56

eport. This is ode. Any pictuwhich the RTF

orted. Can bee button on ththe user to se

ted to either aE2net stream. election from t

ut. Can be speld on the rig

only meaningure type is supF file will ultim

e specified eithe right. The felect a file for

a file, an on-s Can be spec

the drop-dow

pecified eitherght.

gful if the specpported that c

mately be impo

ther by a varifile browse bur importation.

screen text tracified either b

wn on the right

r by a variable

cified destinacan be read aorted.

iable from theutton opens a

anscript, both by a variable ft.

e from the dro

ation is and

e drop-a

a file from

op-

Page 63: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Include

Descrip

Pdesc

Style ShAwfofie

Ignore DBshle

DestinaSthdr

File Sdo

e Style S

ption laces a style estination is acript.

heet A block of text way to create tormat, and useld. Word proDB Formatoolean indicahould be rem

eft or manual ation

ymbol specifyhe on-screen rop-down on

tring naming own on the le

heet

sheet in a repa file, and the

containing stthis is to define the Extract

ocessors can tting ating whether oved upon ouselection from

ying that outptranscript, or the left or a m

the destinatioeft or manual

port file, on th file is opened

tyle commandne your desirebutton to havalso pull style

any styles asutput. Can bem the buttons

put be directeda CORE2net

manual select

on of file outpentry in the fi

57

he report transd in RTF mod

ds in the RTFed styles in a ve CORE copes from multip

ssociated with specified eithon the right.

d to either a ft stream. Cantion from the d

ut. Can be speld on the rig

script, or bothde. Only one

F language to word process

py the style heple document

h element texher by a varia

file, an on-scrn be specifieddrop-down on

pecified eitherght.

CORE

h. This is onlystyle sheet ca

parse and ousor, save the eader from thts into a single

xt attributes ouable from the

reen text transd either by a vn the right.

r by a variable

script ConstO

y meaningful ian be include

utput. The easdocument in e RTF file inte document.

utput by the sdrop-down o

script, both a variable from

e from the dro

tructs Output

if the ed in a

siest RTF

to this

script n the

file and the

op-

Page 64: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrOutput

RDT O

Descrip

Oimin

Object V

DestinaSthdr

File Sdo

Include AfoCYtrN

ript Construc

Output

ption Outputs informmported into Cnclude toggles

Variable contaation

ymbol specifyhe on-screen rop-down on

tring naming own on the leToggles

A series of togolders, accessCan be specifiYes or No buttrue corresponNo.

cts

mation from anCORE. The as.

ining an elem

ying that outptranscript, or the left or a m

the destinatioeft or manual

gles indicatins control infored either by atons on the rignds to the butt

n element objmount of info

ment from whi

put be directeda CORE2net

manual select

on of file outpentry in the fi

ng whether or rmation, and sa variable fromght. If a variabton choice of

58

ject in the COrmation inclu

ch informatio

d to either a ft stream. Cantion from the d

ut. Can be speld on the rig

not the elemstored view dm the drop-doble is used, it Yes. The valu

ORE databaseded from the

n is to be ext

file, an on-scrn be specifieddrop-down on

pecified eitherght.

ent attributesdescriptions aown on the let must containue of false co

e in .rdt formaelement is de

racted for out

reen text trans either by a vn the right.

r by a variable

s, relationshipre to be inclu

eft or a manuan a Boolean vorresponds to

at that can be etermined by

tput.

script, both a variable from t

e from the dro

ps, structure, cded in the ou

al selection frovalue. The valo the button ch

the

file and the

op-

class utput. om the lue of hoice of

Page 65: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Set Sty

Descrip

Sin

Style Sm

DestinaAandr

File Sdo

yle

ption ets the forma

n RTF mode. T

tring naming manual selectiation A symbol spec

nd the on-scrrop-down on

tring naming own on the le

atting style forThe style mu

a style. Can bon from the d

cifying that oureen transcripthe left or a m

the destinatioeft or manual

r subsequent st previously

be specified edrop-down on

utput be directpt, or a COREmanual select

on of file outpentry in the fi

59

output to a filhave been in

either by a va the right.

ted to either aE2net stream.tion from the d

ut. Can be speld on the rig

le. This is onlncluded in the

ariable from th

a file, an on-sCan be spec

drop-down on

pecified eitherght.

CORE

y meaningfule report.

he drop-down

screen text tracified either byn the right.

r by a variable

script ConstO

if the file is o

n on the left or

anscript, both y a variable fr

e from the dro

tructs Output

opened

r a

a file rom the

op-

Page 66: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrOutput

Tag Ou

Descrip

Ppe

Tag Ath

DestinaAanth

File Sdo

ript Construc

utput

ption laces the tag erformed on t

A text string. Che field on theation A symbol spec

nd the on-scrhe drop-down

tring naming own on the le

cts

text in the scthe tag. This a

Can be specifie right.

cifying that oureen transcrip on the left or

the destinatioeft or manual

cript output. Lallows the dir

ied either by a

utput be directpt, or a COREr a manual se

on of file outpentry in the fi

60

ike the Text Orect output of

a variable from

ted to either aE2net stream.election from t

ut. Can be speld on the rig

Output constrRTF and HTM

m the drop-do

a file, an on-s Can be spec

the drop-dow

pecified eitherght.

ruct except thML command

own on the le

screen text tracified either b

wn on the right

r by a variable

at no translatds.

eft or manual

anscript, both by a variable ft.

e from the dro

tion is

entry in

a file from

op-

Page 67: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Text O

Descrip

P

Text A

DestinaAandr

File Sdo

Output

ption laces fixed te

A text string toation A symbol spec

nd the on-scrrop-down on

tring naming own on the le

ext in the outp

output. Both

cifying that oureen transcripthe left or a m

the destinatioeft or manual

put.

carriage retu

utput be directpt, or a COREmanual select

on of file outpentry in the fi

61

urn-line feeds

ted to either aE2net stream.tion from the d

ut. Can be speld on the rig

and tab spac

a file, an on-sCan be spec

drop-down on

pecified eitherght.

CORE

cing are allow

screen text tracified either byn the right.

r by a variable

script ConstO

wed in this fiel

anscript, both y a variable fr

e from the dro

tructs Output

d.

a file rom the

op-

Page 68: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrOutput

Variab

Descrip

Pw If vaorin

VariableV

Text BeT

Text AftT

DestinaAandr

File Sdo

ript Construc

le Outpu

ption laces a string

with boilerplate

the variable iariable value,r not a value

n a Variable O

e Variable whoseefore ext to be outpter ext to be outp

ation A symbol spec

nd the on-scrrop-down on

tring naming own on the le

cts

t

g representatie text before a

is nil, nothing and finally thexists, the bo

Output Constr

e value is to b

put before out

put after outpu

cifying that oureen transcripthe left or a m

the destinatioeft or manual

on of the objeand after the

is output. Othe text after isoilerplate text uct.

be output.

tputting the va

utting the var

utput be directpt, or a COREmanual select

on of file outpentry in the fi

62

ect containedstring.

herwise the tes output. If boshould be sp

ariable value

riable value if

ted to either aE2net stream.tion from the d

ut. Can be speld on the rig

d in the specif

text before is oilerplate text pecified in a T

if it exists.

it exists.

a file, an on-sCan be spec

drop-down on

pecified eitherght.

fied variable in

output first, fois desired reg

Text Output Co

screen text tracified either byn the right.

r by a variable

n a report out

ollowed by thegardless of wonstruct rathe

anscript, both y a variable fr

e from the dro

tput

e whether er than

a file rom the

op-

Page 69: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

At End

Descrip

Ainop

File Sontofil

Return V

d

ption Assigns to the n the specifiedpened for inp

tring naming n the left or m

o the file namele is tested.

Variable to hol

Pars

return variabd file is at the ut.

the input file manual entry ie with which t

d the result o

sing

ble a Booleanend of the file

to be tested.n the field onthe file was o

of this constru

63

Cons

value indicate. An error re

Can be spec the right. Thepened. If this

ct.

struc

ting whether oesults if the file

cified either bye value of this

s parameter is

CORE

cts

or not the cure has not pre

y a variable frs parameter ss not specified

script ConstPa

rrent positioneviously been

rom the drop-should be ided, the default

tructs arsing

pointer

down entical

input

Page 70: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrParsing

Get Po

Descrip

AspTth

File Adoidde

Return V

ript Construc

osition

ption Assigns to the pecified by thhis construct

he Set Positio

A string naminown on the le

dentical to theefault input fil

Variable to hol

cts

return variabe file paramecan be used

on construct.

g the input fileft or manual e file name witle is queried.

d the result o

ble the integereter. An error

to temporarily

e to be querieentry in the fith which the f

of this constru

64

r index of the results if the fy record a po

ed. Can be speld on the rigfile was opene

ct.

current positfile has not pr

oint in the file

pecified eitheght. The valueed. If this par

ion pointer inreviously beein order to re

r by a variable of this paramrameter is not

the input streen opened forturn to it later

e from the drometer should t specified, th

eam r input. r using

op-be e

Page 71: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Next

Descrip

Pcuer

File Aontofil

Access Dbyth If conulem If neis

Return V

ption arses a stringurrent positionrror results if

A string naminn the left or m

o the file namele is read.

Determines hoyte is read an

he end of the

this parametonstruct returumeric chara

etters and digimay return an

this parametext carriage r

s at the end of

Variable to hol

g from the spen pointer pastthe file has n

g the input filmanual entry ie with which t

ow much is rend converted tfile.

er is set to Wrns nil. Otherwcter it encounits beginning empty string

er is set to Linreturn and linef the file, then

d the result o

ecified file, bet what has beot previously

e to be read.n the field onthe file was o

ad from the sto a string. An

Word and the cwise, it skips fnters or to theat that point, if there are n

ne, then this ce feed combinn this construc

of this constru

65

eginning at theen read, andbeen opened

Can be spec the right. Thepened. If this

specified file. n error results

current positioforward from e end of the filstopping, if no letters or di

construct reanation, or the ct returns an

ct.

e current posd assigns the d for input.

cified either bye value of this

s parameter is

If this parames if the curren

on in the file isthe current ple. It then rea

necessary, at igits remainin

ds all charactend of the filempty string.

CORE

sition in the filstring to the r

y a variable frs parameter ss not specified

eter is set to Cnt position poi

s the end of tosition to the

ads any contigthe end of theg in the file.

ters up to thele. If the curre

script ConstPa

le, advances treturn variabl

rom the drop-should be ided, the default

Character, theinter in the file

the file, then tfirst alphabet

guous sequene file. This co

e next line feeent position in

tructs arsing

the e. An

-down entical

input

e next e is at

this tic or nce of onstruct

d, the n the file

Page 72: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrParsing

Peek

Descrip

Pstcoadst

File Aontofil

Access Dbycu If conulem If neth

Return V

ript Construc

ption arses a stringtring to the reonstruct differdvanced, suctream.

A string naminn the left or m

o the file namele is read.

Determines hoyte is read anurrent position

this parametonstruct returumeric chara

etters and digimay return an

this parametext carriage r

he current pos

Variable to hol

cts

g from the speeturn variable.rs from the Ne

ch that the nex

g the input filmanual entry ie with which t

ow much is rend converted tn pointer in th

er is set to Wrns nil. Otherwcter it encounits beginning empty string

er is set to Linreturn and linesition in the fil

d the result o

ecified file, be An error resuext construct xt parsing con

e to be read.n the field onthe file was o

ad from the sto a string. Un

he file is at the

Word and the cwise, it skips fnters or to theat that point, if there are n

ne, then this ce feed combinle is at the en

of this constru

66

eginning at thults if the filein that the cunstruct to be i

Can be spec the right. Thepened. If this

specified file. nlike the Nexe end of the f

current positioforward from e end of the filstopping, if no letters or di

construct reanation, or the nd of the file, t

ct.

e current poshas not previ

urrent positioninvoked begin

cified either bye value of this

s parameter is

If this paramext construct, afile. Instead, t

on in the file isthe current ple. It then rea

necessary, at igits remainin

ds all charactend of the fil

then this cons

sition in the filiously been on pointer in thns at the sam

y a variable frs parameter ss not specified

eter is set to Can error does his construct

s the end of tosition to the

ads any contigthe end of theg in the file.

ters up to thele. Unlike the struct returns

le, and assignopened for inpe file is not

me point in the

rom the drop-should be ided, the default

Character, thenot result if threturns nil.

the file, then tfirst alphabet

guous sequene file. This co

e next line feeNext constru nil.

ns the put. This

e input

-down entical

input

e next he

this tic or nce of onstruct

d, the ct, if

Page 73: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Set Po

Descrip

Mth

File Avapano

PositionAbefie Nthof

Return Vpo

osition

ption Moves the currhe file has not

A string naminariable from tarameter shoot specified, tn

An integer spee set. Can beeld on the righ

Note that file phe index equaf the file. An e

Variable to holointer in the s

rent position pt previously b

g the input filhe drop-down

ould be identicthe position p

ecifying the inde specified eitht.

positions are zal to the size oerror results if

d the result ospecified file,

pointer in the een opened f

e which positn on the left ocal to the file nointer of the d

dex of the poher by a varia

zero-based –of the file (whf the specified

of this construthe position a

67

specified filefor input.

tion pointer is or manual entname with whdefault input f

sition in the sable from the

that is, the beere the At End position is n

ct, which is aat the time thi

e to the specif

to be movedtry in the field hich the file wfile is set.

specified file tdrop-down o

eginning of a nd construct rnegative or gr

an integer spes construct w

CORE

fied position. A

d. Can be speon the right.

was opened. If

o which its poon the left or m

file is index 0returns true) isreater than the

ecifying the prwas invoked.

script ConstPa

An error resu

ecified either bThe value of f this parame

osition pointemanual entry

0, and the poss after the lase size of the f

revious positio

tructs arsing

ults if

by a this ter is

r is to in the

sition at st byte file.

on

Page 74: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrParsing

Size

Descrip

Are

File Adoidde

Return V

ript Construc

ption Assigns to the esults if the fil

A string naminown on the le

dentical to theefault input fil

Variable to hol

cts

return variable has not pre

g the input fileft or manual e file name witle is queried.

d the result o

ble an integer,eviously been

e to be querieentry in the fith which the f

of this constru

68

, which is the opened for in

ed. Can be speld on the rigfile was opene

ct.

number of bynput.

pecified eitheght. The valueed. If this par

ytes in the sp

r by a variable of this paramrameter is not

pecified file. A

e from the drometer should t specified, th

An error

op-be e

Page 75: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Skip

Descrip

ANpaob

File Avapano

Skip Sretoof If enun If prwch If chthth

CharactIf thth

ption Advances the Note that the p

arameter to bbject). An erro

A string naminariable from tarameter shoot specified, t

pecifies how eport writer wo Over Separaf the file. Whit

this parametncounters thentil it reaches

this parametrintable chara

when this consharacter in th

this parametharacter fromhe parser will he end of the ter a variable is

he parser attehat has been

current positiposition mightbe met (i.e., thor results if th

g the input filhe drop-down

ould be identicthe position p

far the currenhat kind of obators, then thte space is de

er is set to Toe first letter ors the end of th

er is set To Cacter or can mstruct is invoke input stream

er is set to Spm the drop-dow

advance to thfile.

specified in thempts to matcmanually ente

on pointer in t not have to che input streahe file has not

e which positn on the left ocal to the file nointer of the d

nt position pobject to skip oe parser skipefined as spa

o First Alphanr digit after thehe file.

Character, themanually type ked, the parsem or to the en

pecial Characwn list corresphe next occur

his field and tch in the inputered in the fie

69

the specified change in ordm might alreat previously b

tion pointer is or manual entname with whdefault input f

inter advanceover or to skips up to the fir

aces, tabs, ca

numeric, then e point in the

en the report aa character i

er will advancnd of the file.

cter, then the ponding to thirrence of the s

the To Standat stream the veld next to the

file to the speder for the conady be positio

been opened f

to be movedtry in the field hich the file wfile is set.

es through thep to in the inpurst non-white rriage returns

the parser skinput stream

author can sein the field co

ce to the next

report authoris choice, andspecified cha

ard Charactervalue of this ve radio button

CORE

ecified place nditions implieoned at the defor input.

d. Can be speon the right.

was opened. If

e specified fileut stream. If tspace characs, line feeds, a

kips all chara at which this

elect a variablorresponding t

occurrence o

r can choose d, when this caracter in the

r radio buttonvariable instean.

script ConstPa

in its input stred by the skipesired type of

ecified either bThe value of f this parame

e by informinghis parametecter or up to tand form feed

cters until it s construct be

e containing to this choiceof the specifie

a non-printabconstruct is ininput stream

n is selected, tad of any cha

tructs arsing

ream. p f

by a this ter is

g the er is set he end ds.

egan or

a , and,

ed

ble nvoked, or to

then aracter

Page 76: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrParsing

Return Vpo

ript Construc

Variable to holointer in the s

cts

d the result ospecified file,

of this construthe position a

70

ct, which is aat the time thi

an integer spes construct w

ecifying the prwas invoked.

revious positioon

Page 77: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Up To

Descrip

Aanadupob

File Aontofil

CharactIf thor

Return V

ption Advances the

nd assigns todvanced. Notp to parametebject). An erro

A string naminn the left or m

o the file namele is read. ter a variable is

he value of thir space) it can

Variable to hol

current positio the return vate that the poser to be met (or results if th

g the input filmanual entry ie with which t

specified in this variable. If n be specified

d the result o

on pointer in ariable the strsition might ni.e., the input

he file has not

e to be read.n the field onthe file was o

his field, thena special chad using the dr

of this constru

71

the specified ring of all charnot have to cht stream might previously b

Can be spec the right. Thepened. If this

n the parser rearacter is requrop-down list

ct.

file to the speracters (if any

hange in ordeht already be pbeen opened f

cified either bye value of this

s parameter is

eads from theuired (such asin the argume

CORE

ecified place y) over which r for the condpositioned at for input.

y a variable frs parameter ss not specified

e input streams a carriage rent pane.

script ConstPa

in its input str the pointer w

ditions impliedthe desired ty

rom the drop-should be ided, the default

m until it encoureturn, line fee

tructs arsing

ream was d by the ype of

-down entical

input

unters ed, tab,

Page 78: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrParsing

ript Construccts

THHIS PAGE IN

72

NTENTIONAL

LY BLANK

Page 79: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Projec

Descrip

Tpr

Object Ppr

PropertSfrpr

Prct Propert

ption he Project Prroperty for the

roject in the Croject object ity ymbol naminom the drop-droperties are

basePath

creationS

custome

custome

creator descripti

guidance

lastAcce

modifica

organiza

organiza

name schemaB

schemaV

rojectty

roperty Querye given projec

CORE databaitself, not the

g the propertydown on the lthe following

h

Stamp

rAddress

rName

ion

e

essedStamp

tionStamp

tionAddress

tionName

BaselineNam

Version

t Que

y construct asct object.

ase for which name of a pr

y of which theleft or a manu:

a string project.the timewas creformattepropertya string propertya symboformattepropertyformatteReturnsthe timewas lastthe timeproperty

s formatteAddressa string propertya symbo

me a string schemaa hierarthe sche

73

ery C

signs to the r

the property oject.

e value is desual selection f

that is the fulReturns nil if

e stamp (combated.

ed text that is y. Returns nilthat is the co

y. Returns nilol that is the ned text that is y. Returns niled text that is s nil if this proe stamp (combt read from.

e stamp (comby was last moed text that is s property. Rethat is the co

y. Returns nilol that is the nthat is the na

a when the prochical numbeema being us

Const

return variable

value is desir

sired. Can be from the drop

ll path set in tf this path hasbination of da

the contents if this propert

ontents of the if this propert

name of the uthe contents if this propertthe contents perty is emptbination of da

bination of daodified.

the contents eturns nil if thontents of the

if this propertname of the pame of the schoject was cre

er that is the vsed in the proj

CORE

ructs

e the value of

red. Note that

specified eithp-down on the

the Base Paths not been seate and time)

of the projecrty is empty. project Custo

rty is empty. user that crea

of the projecrty is empty.

of the projecty. ate and time)

ate and time)

of the projecis property is project Orga

rty is empty. project hema selecte

eated. version (e.g., ject.

script ConstProject Q

s

f the specified

t this argume

her by a variae right. The av

h property foret.

at which the

ct Customer A

omer Name

ated the projecct Description

ct Guidance p

at which the

at which the

ct Organizatio empty. nization Nam

ed as the base

either 6.0 or

tructs Query

d

nt is a

able vailable

r the

project

Address

ct.

roperty.

project

project

n

me

e

7.0) of

Page 80: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrProject Q

Return V

ript ConstrucQuery

Variable to hol

cts

d the result oof this constru

74

ct.

Page 81: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Projec

Descrip

T

Name Sth

Return V

ct Query

ption he Project Qu

ymbol naminhe left or a ma

Variable to hol

uery construc

g the desiredanual selectio

d the result o

ct assigns to t

project. Can on from the dr

of this constru

75

he return vari

be specified rop-down on t

ct, which is a

iable the proj

either by a vathe right.

a project objec

CORE

ect object spe

ariable from t

ct in the COR

script ConstProject Q

ecified by its n

the drop-down

RE database.

tructs Query

name.

n on

Page 82: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrProject Q

Projec

Descrip

T

Return Vse

ript ConstrucQuery

cts

ption he Projects c

Variable to holet are project

cts

construct retur

d the result oobjects them

rns a collectio

of this construmselves, not th

76

on of all proje

ct, which is ahe names of p

cts defined in

a set of projecprojects.

n the CORE d

cts. Note that

database.

the objects inn the

Page 83: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Set Pro

Descrip

SPis

Project Par

Return Pob

oject

ption ets the projecroject constru

s run.

roject in the Crgument is a

roject in the Cbject, not the

ct for subsequuct, project is

CORE databaproject object

CORE databaname of a pr

uent databasedefaulted to t

ase from whict, not the nam

ase that is theroject.

77

e and schemathe project as

ch subsequenme of a projec

e previously s

a queries. If nssociated with

nt retrievals arct.

set project. No

CORE

not explicitly sh the window

re to be made

ote that this a

script ConstProject Q

set using a Sefrom which a

e. Note that th

argument is a

tructs Query

et a script

his

project

Page 84: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrProject Q

ript ConstrucQuery

cts

THIS PAG

78

GE INTENTIOONALLY BLANK

Page 85: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Drop-D

Descrip

SDreth

CollectiC

If w

Title Sth

MessagSva

Return V

PDown Sel

ption election prom

Drop-Down Seepresenting ahe Cancel but

ion Collection of st

Array Bag DictionOrdereSet Sorted

the collectionwhereby other

tring to use ahe left or mange

tring to use aariable from t

Variable to hol

Promection Pr

mpts allow theelection Prom collection of tton is presse

trings from wh

nary ed Collection

d Collection n is a dictionavalues are a

as the dialog wual entry in th

as the notificathe drop-down

d the result o

mptingrompt

e report to propt construct pstrings and ad, nil is return

hich to select

ary, the stringsccessed.

window title. Che field on the

tion messagen on the left o

of this constru

79

g Con

ompt the user prompts the uassigns the sened.

t. Can be of o

s should be th

Can be specife right.

e displayed inor manual ent

ct, which is a

nstru

r to select oneuser to select elected string

one of the follo

he values sto

fied either by

n the dialog. Ctry in the field

a string or nil.

CORE

ucts

e or more itemone string fro to the return

owing data ty

ored in the dic

a variable fro

Can be specifon the right.

script ConstProm

ms from a list.om a drop-dowvariable. Not

pes:

ctionary, not th

om the drop-d

ied either by

tructs mpting

. The wn list te that if

he keys

down on

a

Page 86: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrPromptin

Elemen

Descrip

Tserere

ClassesCfo

Title Sdo

Class LSdr

CandidaSsp

Return V

ript Construcng

nt Select

ption he Element Select one elemeturn variableeturns nil.

s Collection of vaollowing data

Array Bag DictionOrdereSet Sorted

tring to be usown on the leabel tring to be usrop-down on ate Label tring to be uspecified eithe

Variable to hol

cts

ion Prom

Selection Promment from any. If no elemen

alid classes frtypes:

nary ed Collection

d Collection

sed as the diaeft or manual

sed as the labthe left or ma

sed as the labr by a variabl

d the result o

mpt

mpt constructy class in thent is selected

rom which the

alog window tientry in the fi

bel for the clasanual entry in

bel for the pane from the dr

of this constru

80

t displays an E collection of or if the Canc

e user may se

itle. Can be seld on the rig

ss pane. Can the field on th

ne listing all eop-down on t

ct, which is a

Element Seleclasses and cel button is p

elect an elem

pecified eitheght.

be specified he right.

lements in ththe left or man

an element or

ection dialog aassigning thepressed, then

ment. Can be o

er by a variab

either by a va

e selected clanual entry in t

nil.

allowing the ue selection to n this construc

of any of the

le from the dr

ariable from t

ass. Can be the field on th

user to the ct

rop-

the

he right.

Page 87: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Messa

Descrip

Td

Title Sth

MessagSva

ge Prom

ption he Message ialog before p

tring to use ahe left or mange

tring to use aariable from t

pt

Prompt constproceeding.

as the dialog wual entry in th

as the notificathe drop-down

truct displays

window title. Che field on the

tion messagen on the left o

81

a notification

Can be specife right.

e displayed inor manual ent

n dialog for th

fied either by

n the dialog. Ctry in the field

CORE

e user. The u

a variable fro

Can be specifon the right.

script ConstProm

user must clos

om the drop-d

ied either by

tructs mpting

se the

down on

a

Page 88: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrPromptin

Multipl

Descrip

SMasstO

CollectiC

If d

Title Sdo

Object LInmfie

SelectioInva

Sort SeBcoinwsem

Return Vco

ript Construcng

le Selecti

ption election Prom

Multiple Selectssigns the cotring in the lis

OK button is p

ion Collection of o

Array Bag DictionOrdereSet Sorted

the collectionictionary, not

tring to be usown on the leLabel ndicates the smade). Can beeld on the righon Label ndicates the sariable from tlections oolean objeconstruct retur

n the collectioway). If the argelected by the

manual selecti

Variable to holollection.

cts

ion Prom

mpts allow thetion Prompt cllection of selt presented toressed withou

bjects from w

nary ed Collection

d Collection n is a dictionathe keys whe

sed as the diaeft or manual

string with whie specified eitht.

string with whihe drop-down

t indicating wrns the user sn as the sort gument value e user. Can bon from the b

d the selecte

mpt

e report to proconstruct promlected objectso the user. Nout selecting a

which to select

ary, the user-sereby other va

alog window tientry in the fi

ich to label thther by a varia

ich to label thn on the left o

whether or not elections in acriterion (but is false, the s

be specified ebuttons on the

d subset of th

82

ompt the usermpts the user s to the returnote that if the n item from th

t. Can be of o

selectable objalues are acc

itle. Can be seld on the rig

he candidate lable from the

he list of selecor manual ent

the selectiona sorted colleceach type of selections areither by a var

e right.

he collection d

r to select oneto select one

n variable. EaCancel butto

he list, an em

one of the foll

jects should bcessed.

pecified eitheght.

list (the list fro drop-down o

cted items. Catry in the field

ns should be.ction using a object handle

e returned in triable from the

described abo

e or more iteme or more objeach object is ron is pressed,mpty collection

owing data ty

be the values

er by a variab

om which seleon the left or m

an be specifieon the right.

If the argumesimple compaes the compathe collectione drop-down

ove. It may be

ms from a listects from a lisrepresented a, nil is returnen is returned.

ypes:

s stored in the

le from the dr

ections are bemanual entry

ed either by a

ent value is trarison on the

arison in its own in the order on the left or

e nil or a sorte

. The st and as a ed. If the

e

rop-

eing in the

a

rue, this objects wn

a

ed

Page 89: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Report

Descrip

BprT Tpl

t Settings

ption eginning withroject properthe “prepared

hough the colaceholders a

s Prompt

h CORE 7, theties. The “prefor” fields are

nstructs are iallowing existi

e values prevpared by” fiele now the cus

gnored duringng reports tha

83

viously accessds are now th

stomer name

g execution, tat use these c

sed as report he organizatio/ address pro

they remain inconstructs to

CORE

settings haveon name / addoperties.

n the construexecute with

script ConstProm

e been migratdress propert

ct language aout error.

tructs mpting

ted to ties.

as

Page 90: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrPromptin

Single

Descrip

SSthus

CollectiC

If d

Title Sth

Object LInberig

Return V

ript Construcng

Selectio

ption election Promingle Selectio

he selection toser. Note that

ion Collection of o

Array Bag DictionOrdereSet Sorted

the collectionictionary, not

tring to use ahe left or manLabel ndicates the se specified eight.

Variable to hol

cts

n Prompt

mpts allow theon Prompt cono the return vt if the Cance

bjects from w

nary ed Collection

d Collection n is a dictionathe keys whe

as the dialog wual entry in th

string with whither by a vari

d the selecte

t

e report to pronstruct prompariable. Each

el button is pre

which to select

ary, the user-sereby other va

window title. Che field on the

ich to label thiable from the

d object or ni

84

ompt the userpts the user toh object is repessed, nil is re

t. Can be of o

selectable objalues are acc

Can be specife right.

he pane displae drop-down o

il.

r to select oneo select a sin

presented as aeturned.

one of the foll

jects should bcessed.

fied either by

aying the curron the left or m

e or more itemgle object froa string in the

owing data ty

be the values

a variable fro

rently selectemanual entry

ms from a listm a list and a

e list presente

ypes:

s stored in the

om the drop-d

d object, if any in the field o

. The assigns ed to the

e

down on

ny. Can n the

Page 91: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Value P

Descrip

Tth

Title Sdo

MessagSva

Default Insp

Return V

Prompt

ption he Value Pro

he return varia

tring to be usown on the le

ge tring to be usariable from t

nitial string to pecified eithe

Variable to hol

mpt construcable. Note tha

sed as the diaeft or manual

sed as the nothe drop-down

be displayed r by a variabl

d the string e

ct prompts theat if the Cance

alog window tientry in the fi

tification mesn on the left o

and selectede from the dr

entered by the

85

e user to enteel button is pr

itle. Can be seld on the rig

sage displayeor manual ent

d in the entry fop-down on t

e user.

r a string beforessed, an em

pecified eitheght.

ed in the dialotry in the field

field when thethe left or man

CORE

ore continuingmpty string is

er by a variab

og. Can be spon the right.

e prompt is onual entry in t

script ConstProm

g and assignsreturned.

le from the dr

pecified eithe

pened. Can bthe field on th

tructs mpting

s it to

rop-

r by a

be he right.

Page 92: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrPromptin

YesOr

Descrip

Ta bu

Title Sdo

MessagSva

Default AYva

Return V

ript Construcng

No Prom

ption he YesOrNo Boolean trueutton.

tring to be usown on the le

ge tring to be usariable from t

A Boolean indiYes button. If tariable from t

Variable to hol

cts

pt

Prompt conste if the user cl

sed as the diaeft or manual

sed as the nothe drop-down

icating which the object is fhe drop-down

d the result o

truct asks thelicks on the Y

alog window tientry in the fi

tification mesn on the left o

button is the false, then then on the left o

of this constru

86

e user a yes/nYes button or a

itle. Can be seld on the rig

sage displayeor manual ent

default buttone default is theor manual ent

ct, which is a

no question ana Boolean fal

pecified eitheght.

ed in the dialotry in the field

n. If the objece No button. try in the field

a Boolean.

nd assigns tolse if the user

er by a variab

og. Can be spon the right.

ct is true, thenCan be specion the right.

o the return var clicks on the

le from the dr

pecified eithe

n the default iified either by

ariable e No

rop-

r by a

is the y a

Page 93: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Attribu

Descrip

A

Object A

PropertSdr

Return V

Scute Defini

ption Assigns to the

Attribute definity ymbol naminrop-down on

Variable to hol

chemition Prop

return variab

tion from the

g the propertythe left or a m

d the result o

a Quperty

ble the value o

CORE schem

y which valuemanual select

of this constru

87

ery C

of the specifie

ma for which t

e is desired. Ction from the d

ct.

Const

ed property fo

the property v

Can be specifdrop-down on

CORE

tructs

or the given at

value is desir

fied either by n the right.

script ConstSchema Q

s

ttribute definit

red.

a variable fro

tructs Query

tion.

om the

Page 94: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

Class A

Descrip

Ade

Class Aspdo

Return Vor

ript ConstrucQuery

Attribute

ption Assigns to the

efinitions can

A class definedpecified eitheown on the rig

Variable to holrdered alphab

cts

s

return variab then be quer

d in the CORr by a variablght. Note that

d the result obetically by di

ble a collectionried for their p

E schema fore from the drt this argume

of this construisplay name.

88

n of all attribuproperty value

r which the attop-down on tnt is a class o

ct, which is a

ute definitionses (e.g., nam

ttribute definitthe left or a mobject itself, n

a sorted collec

s for the specie, type) as ne

tions are desimanual selectinot just the na

ction of attribu

ified class. Thecessary.

red. Can be ion from the dame of a class

ute definitions

hese

drop-s.

s

Page 95: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Class

Descrip

A

Object Ccl

PropertSdr

Return V

Property

ption Assigns to the

Class in the COlass object itsty ymbol naminrop-down on

Variable to hol

return variab

ORE schemaself, not just th

g the propertythe left or a m

d the result o

ble the value o

a for which thehe name of a

y which valuemanual select

of this constru

89

of the specifie

e property valclass.

e is desired. Ction from the d

ct.

ed property fo

lue is desired

Can be specifdrop-down on

CORE

or the given cl

d. Note that th

fied either by n the right.

script ConstSchema Q

lass object.

his argument i

a variable fro

tructs Query

is a

om the

Page 96: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

Class Q

Descrip

A

Name Sle

Return V

ript ConstrucQuery

Query

ption Assigns to the

ymbol namineft or a manua

Variable to hol

cts

return variab

g the desiredal selection fro

d the result o

ble the class o

class. Can bom the drop-d

of this constru

90

object specifie

be specified edown on the r

ct, which is a

ed by its nam

ither by a varright.

a class object

e.

riable from the

in the CORE

e drop-down

E schema.

on the

Page 97: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Class

Descrip

Aca

Class Aa N

Return Val

Relations

ption Assigns to the an then be qu

A class definedvariable from

Note that this a

Variable to hollphabetically

s

return variabueried for thei

d in the CORm the drop-dowargument is a

d the result oby name.

ble a collectionir property va

E schema forwn on the left

a class object

of this constru

91

n of all relatiolues (e.g., na

r which the ret or a manual itself, not jus

ct, which is a

ons from the same, complem

elations are de selection fro

st the name of

a sorted collec

CORE

specified clasment) as nece

esired. Can bm the drop-dof a class.

ction of relatio

script ConstSchema Q

ss. These defiessary.

be specified eown on the rig

ons ordered

tructs Query

nitions

ither by ght.

Page 98: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

Class T

Descrip

Athinta

Class Cdefra

RelationRreleob

Return Val

ript ConstrucQuery

Target Cl

ption Assigns to the he specified ren the CORE darget classes

Class defined esired. Can bom the drop-dclass.

n Relation defineelation from theft or a manuabject itself, no

Variable to hollphabetically

cts

lasses

return variabelation from th

database with as targets, su

in the CORE be specified edown on the r

ed in the CORhe specified cal selection froot just the nam

d the result oby display na

ble a collectionhe specified celements of t

ubject to the l

schema for wither by a varright. Note tha

RE schema foclass. Can be om the drop-dme of a relatio

of this construame.

92

n of all classeclass. Relatiothe specified imitations imp

which the targriable from theat this argum

or which the taspecified eith

down on the ron.

ct, which is a

es defined in tonships define

class as the posed by the

get classes ofe drop-down ent is a class

arget classesher by a variaright. Note tha

a sorted collec

the CORE sced by the relasource and euser in the sc

f the specifiedon the left or

s object itself,

s are desired. able from the at this argum

ction of class

chema as targation can be celements of thchema.

d relation are a manual selnot just the n

Should be a drop-down onent is a relatio

objects order

gets of created he

lection name of

valid n the on

red

Page 99: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Databa

Descrip

A

Return Valno

ase Class

ption Assigns to the

Variable to hollphabetically ot just the nam

ses

return variab

d the result oby display names of classe

ble a collection

of this construame. Note thaes.

93

n of all concre

ct, which is aat the objects

ete (i.e., non-

an ordered coin the collecti

CORE

-abstract) clas

llection of claion are class

script ConstSchema Q

sses in the sc

asses orderedobjects them

tructs Query

chema.

d mselves,

Page 100: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

Faciliti

Descrip

A

Return Valju

ript ConstrucQuery

ies

ption Assigns to the

Variable to hollphabetically

ust the names

cts

return variab

d the result oby name. Not

s of facilities.

ble a collection

of this construte that the obj

94

n of all facilitie

ct, which is ajects in the co

es defined in

a sorted collecollection are f

the CORE sc

ction of facilitifacility objects

chema.

es ordered s themselves, not

Page 101: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Facility

Descrip

AC

Facility Fdofa

Return Valno

y Databas

ption Assigns to the CORE schema

acility in the Cown on the le

acility object it

Variable to hollphabetically ot just the nam

se Classe

return variaba as belongin

CORE schemeft or a manuatself and not j

d the result oby display names of classe

es

ble a collectiong to the spec

ma to be querial selection frojust the name

of this construame. Note thaes.

95

n of all concreified facility.

ed. Can be spom the drop-d

e of a facility.

ct, which is aat the objects

ete (i.e., non-

pecified eithedown on the r

an ordered coin the collecti

CORE

-abstract) clas

er by a variabright. Note tha

llection of claion are class

script ConstSchema Q

sses defined

le from the drat this argum

asses orderedobjects them

tructs Query

in the

rop-ent is a

d mselves,

Page 102: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

Facility

Descrip

A

Object Ffa

PropertSdr

Return V

ript ConstrucQuery

y Propert

ption Assigns to the

acility in the Cacility object, nty ymbol naminrop-down on

Variable to hol

cts

ty

return variab

CORE schemnot just the na

g the propertythe left or a m

d the result o

ble the value o

ma for which thame of a facil

y which valuemanual select

of this constru

96

of the specifie

he property vality.

e is desired. Ction from the d

ct.

ed property fo

alue is desire

Can be specifdrop-down on

or the given fa

ed. Note that t

fied either by n the right.

acility object.

this argument

a variable fro

t is a

om the

Page 103: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Facility

Descrip

A

Name Sle

Return V

y Query

ption Assigns to the

ymbol namineft or a manua

Variable to hol

return variab

g the desiredal selection fro

d the result o

ble the facility

facility. Can om the drop-d

of this constru

97

object specif

be specified edown on the r

ct, which is a

fied by its nam

either by a varight.

a facility objec

CORE

me.

ariable from th

ct in the CORE

script ConstSchema Q

he drop-down

E schema.

tructs Query

n on the

Page 104: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

Facility

Descrip

Acl

Facility Fdofa

Return Valno

ript ConstrucQuery

y Schema

ption Assigns to the lasses in the

acility in the Cown on the le

acility object it

Variable to hollphabetically ot just the nam

cts

a Classes

return variabCORE schem

CORE schemeft or a manuatself and not j

d the result oby display names of classe

s

ble a collectionma that belong

ma to be querial selection frojust the name

of this construame. Note thaes.

98

n of all abstrag to the speci

ed. Can be spom the drop-d

e of a facility.

ct, which is aat the objects

act and concreified facility.

pecified eithedown on the r

a sorted collecin the collecti

ete classes u

er by a variabright. Note tha

ction of classeion are class

sed to identif

le from the drat this argum

es ordered objects them

fy the

rop-ent is a

mselves,

Page 105: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Relatio

Descrip

Ade

RelationAspdo

Return Vor

on Attribu

ption Assigns to the

efinitions can

n A relation definpecified eitheown on the rig

Variable to holrdered alphab

utes

return variab then be quer

ned in the COr by a variablght. Note that

d the result obetically by di

ble a collectionried for their p

ORE schema fe from the drt this argume

of this construisplay name.

99

n of all attribuproperty value

for which the op-down on tnt is a relation

ct, which is a

ute definitionses (e.g., nam

attribute defithe left or a mn object itself

a sorted collec

CORE

s for the specie, type) as ne

nitions are demanual selectif, not just the

ction of attribu

script ConstSchema Q

ified relation.ecessary.

esired. Can bion from the dname of a cla

ute definitions

tructs Query

These

e drop-ass.

s

Page 106: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

Relatio

Descrip

A

Object Rre

PropertSdr

Return V

ript ConstrucQuery

on Prope

ption Assigns to the

Relation in theelation object ty ymbol naminrop-down on

Variable to hol

cts

rty

return variab

CORE schemitself, not just

g the propertythe left or a m

d the result o

ble the value o

ma for which t the name of

y which valuemanual select

of this constru

100

of the specifie

the property vf a relation.

e is desired. Ction from the d

ct.

ed property fo

value is desir

Can be specifdrop-down on

or the given re

red. Note that

fied either by n the right.

elation object.

t this argume

a variable fro

.

nt is a

om the

Page 107: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Relatio

Descrip

A

Name Sth

Return V

on Query

ption Assigns to the

ymbol naminhe left or a ma

Variable to hol

return variab

g the desiredanual selectio

d the result o

ble the relation

relation. Canon from the dr

of this constru

101

n object spec

n be specifiedrop-down on t

ct, which is a

cified by its na

d either by a vthe right.

a relation obje

CORE

ame.

variable from

ect in the COR

script ConstSchema Q

the drop-dow

RE schema.

tructs Query

wn on

Page 108: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

Relatio

Descrip

A

Return Valju

ript ConstrucQuery

ons

ption Assigns to the

Variable to hollphabetically

ust the names

cts

return variab

d the result oby name. Not

s of relations.

ble a collection

of this construte that the obj

102

n of all relatio

ct, which a sojects in the co

ons in the sch

orted collectioollection are r

ema.

on of relationsrelation objec

s ordered cts themselves, not

Page 109: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Schem

Descrip

A

Return Valth

ma Classe

ption Assigns to the

Variable to hollphabetically

he names of c

es

return variab

d the result oby name. Notclasses.

ble a collection

of this construte that the obj

103

n of all classe

ct, which a sojects in the co

es in the sche

orted collectioollection are c

CORE

ema.

on of classes class objects

script ConstSchema Q

ordered themselves,

tructs Query

not just

Page 110: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSchema Q

ript ConstrucQuery

cts

THHIS PAGE IN

104

NTENTIONAL

LY BLANK

Page 111: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Resou

Descrip

Arenoun

Object V

Return VA

Note: Onl

Srce Leve

ption Assigns to the esource is useot utilized by ndefined, the

Variable conta

Variable to holAmount Type a

y available to

Simul Query

return variabed in the scopthe model, thconstruct ret

ining the elem

d the result oattribute of th

o Simulation s

ulatio

ble the currentpe of the curr

he construct returns zero.

ment in the Re

of this construe Resource e

scripts.

105

n Co

tly available aent model beeturns the init

esource class

ct, which is eelement.

nstru

amount of theeing simulatedtial value of th

s from the CO

either a float o

CORE

ucts

e specified resd. If the resouhe resource.

ORE database

or integer dep

script ConstSimul

source if the urce is definedIf the resourc

e to query.

pending on the

tructs lation

d but ce is

e

Page 112: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSimulatio

Script

Descrip

AinelA

Return Vob

Notes: On

TthacprscCD

ript Construcon

Context

ption Assigns to the n the case of alement in the

Amount attribu

Variable to holbject.

nly available t

he Begin Loghe very start ocquired. End roduced and chema extens

C4ISR40SimuDoDAF50Simu

cts

Query

return variaba Begin Logiccase of a Ma

ute).

d the result o

to Simulation

gic and End Lof Function exLogic is execItems are outsion file (i.e., lationExtensioulationSchem

ble the contexc, Duration, Eaximum Amou

of this constru

scripts.

ogic attributexecution, aftecuted at the vetput. These ateither Base40ons.xml, Base

maExtensions.

106

xt in which thend Logic, Exi

unt attribute; a

ct, which is e

s are availablr enablementery end of Futtributes can 0SimulationEe50Simulatio.xml) located

e script is exeit Logic, or Timand the relatio

either a Functi

le as extensiot and triggerinunction execube added by

Extensions.xmnSchemaExtin the Sample

ecuting (i.e., thmeout attribuonship object

ion, Resource

ons. Begin Long but before tion, after Reimporting the

ml, ensions.xml, es subfolders

he Function ete; the Resout in the case o

e, or relations

ogic is executResources a

esources are e appropriate

or s.

element urce of an

ship

ted at are

Page 113: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Simula

Descrip

A

PropertT

Return

V

Note: Onl

ator Prop

ption Assigns to the

ty he simulator

areLinks

time timeLimi

Variable to hol

y available to

perty Que

return variab

property to beConstrained

it

d the result o

o Simulation s

ry

ble the selecte

e returned. Thd a Boole

false oththe curruser setautomatReturns

of this constru

scripts.

107

ed simulator p

his field is a dan that is trueherwise. ent simulationt simulation ctically be term

s nil if it has no

ct.

property durin

drop-down liste if the Link c

n clock timeclock time at wminated if it haot been set.

CORE

ng simulation

t with the folloonstraints are

which the simas not already

script ConstSimul

execution.

owing selectioe being applie

ulation will y completed.

tructs lation

ons: ed,

Page 114: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrSimulatio

ript Construcon

cts

THHIS PAGE IN

108

NTENTIONAL

LY BLANK

Page 115: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Availab

Descrip

RorC

DiagramDph

Return V

ble Diagr

ption Returns an Ord

rder. Using thCORE, providi

m Query Desired collect

hysicalViews

Variable to hol

Utilrams Que

deredCollectihe construct inng a standard

tion of availab. Can be spec

d the result o

itieseries

ion of diagramnsulates the sd mechanism

ble views to recified by selec

of this constru

109

Cons

m types (represcript against

m to access th

eturn (allAvaiction from the

ct.

struc

esented as syt changes bete various coll

ilableViews, be drop-down o

CORE

cts

ymbols) sortetween versionlections of dia

behavioralVieon the right.

script ConstUt

ed in alphabetns and editionagrams.

ews, or

tructs tilities

tical ns of

Page 116: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrUtilities

Beep (No sett Descrip

B

ript Construc

tings requi

ption eeps the syst

cts

ired)

tem speaker.

110

Page 117: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Breakp

Descrip

S

Single LAst

MultipleAfo

List PanAas

Although variable.

point

ption tops script ex

Line FieldsAn integer spetrings, integer

e Line FieldAn integer speor text fields s

nes An integer spe

s arrays, orde

any variable

xecution and o

s ecifying the nurs, elements,

ds ecifying the nusuch as descr

ecifying the nuered collection

can be displa

opens a debu

umber of entryetc.).

umber of formriptions).

umber of list pns, and dictio

ayed in any p

111

ugger on the c

y fields to dis

matted text fiel

panes to displonaries).

pane, it is mos

current script

play values in

lds to display

lay collections

st valuable to

CORE

.

n the debugge

y large blocks

s (intended fo

o use the pan

script ConstUt

er (good for d

of informatio

or collections

e best suited

tructs tilities

dates,

n (good

such

for that

Page 118: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrUtilities

Cance(No sett Descrip

Ais

Note: Not

ript Construc

l Report tings requi

ption Aborts the exes pressed.

available to S

cts

ired)

ecution of the

Simulation sc

script. This is

cripts.

112

s the same ass if the Canceel button on thhe progress inndicator

Page 119: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Chang

Descrip

Ausm

MessagSm

Return V

Note: Not

ge Indicat

ption Allows the repo

seful techniqumessage is as

ge tring to be dis

manual entry in

Variable to hol

available to S

tor

ort to changeue to keep thesigned to the

splayed. Can n the field on

d the result o

Simulation sc

the messagee individual ru return variab

be specified the right.

of this constru

cripts.

113

e currently disunning a repoble.

either by a va

ct, which is th

splayed in theort informed o

ariable from t

he previously

CORE

e progress indof the status. N

he drop-down

displayed str

script ConstUt

dicator. This iNote that the

n on the left o

ring.

tructs tilities

s a prior

or

Page 120: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrUtilities

Color Q

Descrip

AbeIsla

Color C

Return V

ript Construc

Query

ption Assigns to the

e written to asssues to brighavender).

Color to be sel

Variable to hol

cts

return variabssign elemen

ht green, assig

lected. Can b

d the result o

ble the selectent colors basegn the fill colo

e specified by

of this constru

114

ed color specid upon a spe

or for all funct

y selection fro

ct.

ification.Usingecific conditiontions allocated

om the drop-d

g this construns (e.g., set td to human C

down on the r

uct, utility scriphe fill color fo

Components t

right.

pts can or open to

Page 121: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Comm

Descrip

C

CommeA

ment

ption Comment allow

ent An explanation

ws the script a

n of what is ac

author to add

ccomplished

115

d internal com

by following c

mments to doc

constructs, as

CORE

cument the sc

ssumptions m

script ConstUt

cript.

made, etc.

tructs tilities

Page 122: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrUtilities

Expire

Descrip

EE

Expirati

A

ript Construc

Outputs

ption xpire Output xpire Output

ion Stamp A time stamp t

cts

is used in a Csets the ‘Exp

that ensures t

CORE2net scires’ flag with

the latest data

116

cript to tell a bhin the HTTP

abase update

browser whenheader of the

es are shown

to ‘expire’ the output docu

in CORE2ne

e output pagement.

et output.

e.

Page 123: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Open T (No sett Descrip

OT

Transcrip

tings requi

ption Opens the rep

ranscript]” is

pt

ired)

ort transcript.specified as t

Note that thithe destinatio

117

s happens aun of an outpu

utomatically ifut construct or

CORE

f “Transcript” r if an error is

script ConstUt

or “Both [Files encountered

tructs tilities

e and d.

Page 124: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrUtilities

Send M

Descrip

Ada Rthne

AddressOby

SubjectSdr

Priority Sth

ript Construc

Mail Mess

ption Allows a script

atabase mod

Requires that Mhis .dll should etwork system

ses Ordered Collec

y a variable frt tring containirop-down on

ymbol designhe drop-down

cts

sage

t to send an eifications afte

MAPI32.dll bebe enabled.

m administrat

ctions of the Trom the drop-

ng the subjecthe left or a m

nating the deli on the left or

e-mail messager a specific d

e enabled. If MIf CORE doetor to verify th

To, cc, and bc-down on the

ct line of the mmanual entry o

ivery priority or a manual se

118

ge. This couldata and time.

Microsoft mais not allow yo

hat this .dll is e

cc distributionleft or a man

message. Canof the text on

of the messagelection from t

d be used in a

il options havou to utilize thenabled.

n addresses.ual entry usin

n be specified the right.

ge. Can be spthe drop-dow

a script to not

ve been instalhe send featu

Each collectiong the buttons

d either by a v

pecified eithewn on the right

tify users of a

led and configre contact yo

on can be sps on the right.

variable from

er by a variablt.

ny

gured, our

ecified .

the

le from

Page 125: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Body Son

AttachmOerig

tring containin the left or a

ments Ordered collec

ither by a varght.

ng the text of manual entry

ction of full paiable from the

f the messagey of the text o

ath names for e drop-down o

119

e. Can be speon the right.

files to be atton the left or

ecified either

tached to the a manual ide

CORE

by a variable

message. Caentification of e

script ConstUt

from the drop

an be specifieeach file on th

tructs tilities

p-down

ed he

Page 126: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrUtilities

System

Descrip

A

PropertT

Return

ript Construc

m Propert

ption Assigns to the

ty he system pr

allReport

baselineS

common

common

currentS

date repositormainScri

mainScri

outputDiproject schemaV

time timeStamuser userAgen

userScrip

userScrip

cts

ty Query

return variab

operty to be rtScripts

SchemaNam

nScriptDirect

nScriptURI

ScriptDirector

ryName iptDirectory

iptURI

irectory

Version

mp

nt

ptDirectory

ptURI

ble the value o

returned. Thisa dictionEach vathat is a

me the namcurrent

tory a string The valureport oa string directory

ry a string being exthe curra string a string value is CORE2a string directorythe full pthe curra hierarof the scthe currthe currthe curra user aCORE2(returnsisNetscaa string value is CORE2a string directory

120

of the property

s field is a dronary of all repalue is a stringa string contaime of the sche

project was cthat is the ful

ue is context r CORE2net that is the Uny of Commonthat is the fulxecuted ent date that is the fulthat is the fulcontext sensnet script. that is the Uny of Main COpath of the Ouent project chical numbechema being ent time ent time stament system us

agent object thnet session. a string), isInape (returns athat is the fulcontext sensnet script. that is the Uny of User CO

ty.

op-down list wports scripts ag that is the fuining the namema selected created ll path for the sensitive to wscript. niform Resoun CORE2net sll path for the

ll path for the ll path for the sitive to wheth

niform ResouORE2net scrip

utput director

er which is theused in the p

mp (combinatiser hat representNote that thisnternetExplora Boolean). ll path for the sitive to wheth

niform ResouRE2net scrip

with the followavailable to thull path for the

me of the scripas the base s

directory of Cwhether it is e

rce Identifier scripts. directory of t

current reposdirectory of M

her it is execu

rce Identifier pts. ry as set in Us

e version (e.gproject

on of the date

ts the browses object resporer (returns a

directory of Uher it is execu

rce Identifier pts.

wing selectione CORE proje scripts with

pt. schema when

Common scriexecuted from

(URI) for the

the script that

sitory file Main scripts. Tuted from a re

(URI) for the

ser Preferenc

g., either 4.0 o

e and time)

er in use in a onds to name Boolean), an

User scripts. Tuted from a re

(URI) for the

s: ect. a key

n the

pts. m a

t is

The eport or

ces

or 5.0)

d

The eport or

Page 127: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Variable tan object.

o hold the sp.

ecified system

m property. U

121

Unless otherwwise stated, a

CORE

system prope

script ConstUt

erty is returne

tructs tilities

ed as

Page 128: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrUtilities

ript Construccts

THHIS PAGE IN

122

NTENTIONAL

LY BLANK

Page 129: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

VDataba

Descrip

Acotheqcoco

CollectiV

If askea

AscendBIf orfr

IterationSw

ExpressInexmva

Variabase Objec

ption Assigns to the ollection to behe iteration vaqual to the vaollection is suollection is no

ion Variable conta

Array Bag DictionOrdereSet SortedString Symbo

the collectionssigned to theeys whereby collection of

ding oolean objecthe argumenrder. Can be om the drop-dn Variable tring specifyin

within the scopsion ndicates the cxpression lan

menu of the Reariable descri

ble Mct Sort

return variabe sorted. The ariable in the salue that resuubstituted for tot modified.

ining a collec

nary ed Collection

d Collection

ol n is a dictionae iteration varthe values arits characters

t indicating wnt value is falsspecified eithdown on the r

ng the name pe of this cons

criterion to be nguage, variabeport Editor, cibed above.

anipu

ble a new ordeobjects in thespecified explts when the othe iteration v

ction of object

ary, the objectriable as descre accessed. s in a new ord

whether the cose, this constrher by a variabright.

of a variable struct but will

used in sortinbles defined uconstants tha

123

ulatio

ered collectioe new collecti

pression, the vobject in the nvariable in the

ts to be sorted

ts in the returcribed above If the collectioder.

ollection shouruct returns thble from the d

referenced innot be acces

ng. An expresusing the Editat can be code

on Co

n containing ion are orderevalue that resnext higher ore specified ex

d. Can be of o

rned collectionare the value

on is a string

ld be sorted ihe objects in tdrop-down on

n the expressissible after th

ssion consistst Variables coed in some da

COREVaria

onstr

all the same oed so that, whsults for each rdinal position

xpression. No

one of the fol

n and the objees stored in thor symbol, th

n ascending the collectionn the left or a

ion. This variais construct te

s of operatorsommand undeata types, and

script Constable Manipul

ructs

objects as arehen substituteone is less thn within the nte that the ori

lowing data ty

ects that are he dictionary, is construct r

or descendin in descendinmanual selec

able is declarerminates.

s in the COREer the Propertd the iteration

tructs lation

e in the ed for han or ew iginal

ypes:

not the returns

g order. ng ction

red

E ties n

Page 130: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrVariable

ValidateVunbo

Return V

ript ConstrucManipulation

e Validates the s

nexpected locounds checki

Variable to hol

cts n

syntax of the ecations, all opng can be pe

d the result o

expression toperators are rerformed.

of this constru

124

o ensure that ecognized, an

ct, which is a

neither operand all variable

an ordered co

ators nor operes have been

llection.

rands appearn defined. No

r in type or

Page 131: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Elemen

Descrip

AcoblCS

CollectiVel

Sort BloSvaso

Return V

nt Sort

ption Assigns to the ollection to belock. This con

Construct usesort Construct

ion Variable conta

lements from

ock ort block defiariable from tort criteria con

Variable to hol

return variabe sorted. Elemnstruct differss a pre-definet sorts the ele

ining the collea single clas

nition of a sorhe drop-downntinues to gov

d the sorted c

ble a new sortments in the n from the Dat

ed CORE sortments based

ection of elems or elements

rt block definen on the left overn the beha

collection of e

125

ted collection new collectiontabase Objectt block to sort upon an exp

ments to be sos from multipl

ed in the CORor a manual seavior of the so

elements.

containing aln are ordered ct Sort Construt the elements

pression enter

orted. This cole classes.

RE project. Celection from orted collectio

COREVaria

ll the same elbased upon

uct in that thes whereas thered as a cons

ollection can c

Can be specifie the drop-dow

on that results

script Constable Manipul

ements as arthe specified

e Element Soe Database Ostruct parame

contain either

ed either by awn on the righs from this co

tructs lation

re in the sort

rt Object eter.

r

a ht. This nstruct.

Page 132: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrVariable

Elemen

Descrip

AinTinN

Return T

ript ConstrucManipulation

nt Sort B

ption Assigns to the n the CORE pherefore, it is

n CORE. For eNumeric by cla

he variable to

cts n

locks

return variabproject. This li very importaexample, if thass), it is very

o hold the sor

ble an alphabest contains bo

ant that a stanhe names of ay easy to distin

rted collection

126

etically sortedoth single clandard naming all multi-class nguish single

n of all sort blo

d collection coss sort blocks convention bsort blocks h

e class sort blo

ock definition

ontaining all ss and multi-clbe used whenhave “by classocks from mu

s.

sort block defiass sort bloc

n defining sorts” appended (ulti-class sort

initions ks. t blocks (e.g., blocks.

Page 133: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Filter

Descrip

A(ebeev

CollectiV

IterationSw If asa

ExpressInexmva

ValidateVunbo

ption Assigns to the except that if te sorted is asvaluates to a

ion Variable conta

Array Bag DictionOrdereSet SortedString Symbo

n Variable tring specifyin

within the scop

the collectionssigned to thestring or sym

sion ndicates the cxpression lan

menu of the Scariable descrie

Validates the snexpected locounds checki

return variabthe collectionssigned, in turBoolean true

ining the colle

nary ed Collection

d Collection

ol

ng the name pe of this cons

n to be filterede iteration var

mbol, individua

criterion to be nguage, variabcript Editor, cibed above. T

syntax of the ecations, all opng can be pe

ble a new colle is a symbol, rn, to the itera

e, the object is

ection of obje

of a variable struct but will

d is a dictionariable, not theal characters

used in filteribles defined uonstants that

This expressio

expression toperators are rerformed.

127

ection of the sthen a string

ation variables added to the

ects to be filte

referenced innot be acces

ary, then only e keys wherebare assigned

ing. An expreusing the Editcan be code

on must evalu

o ensure that ecognized, an

same data typis returned)., and, if the se new collecti

red. Can be o

n the expressissible after th

the values stby the values to the iteratio

ession consistt Variables cod in some dauate to a Boo

neither operand all variable

COREVaria

pe as the collEach object pecified expreion.

of one of the f

ion. This variais construct te

tored in the ds are accesseon variable.

ts of operatorommand undeata types, andlean.

ators nor operes have been

script Constable Manipul

lection to be fin the collecti

ression then

following data

able is declarerminates.

ictionary will d. If the colle

rs in the CORer the Propert the iteration

rands appearn defined. No

tructs lation

filtered ion to

a types:

red

be ction is

RE ties

r in type or

Page 134: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrVariable

Return V(eobre If co

ript ConstrucManipulation

Variable to holexcept that if tbjects thereinelative positio

the collectionollection. If th

cts n

d the result othe collection

n. If the collecns.

n is a sorted ce collection is

of this constru is a symbol,

ctions are orde

collection, thes a dictionary

128

ct. It is of the then a string ered or sorted

en the same s, each filtered

same data tyis returned) a

d, the objects

sort criterion wd value will be

ype as the coand contains s they contain

will be maintae associated w

ollection to be a subset of th maintain the

ained by the rewith the same

filtered he

eir

eturned e key.

Page 135: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Report

Descrip

Aco Tseopcodaofd

Name Aon

NumberAa

Return V

t Section

ption Assigns to the onstruct is as

his construct ections, and epened on theonstruct iteratata type suchf the report caictionary as th

A string naminn the left or mr

A hierarchical variable from

Variable to hol

return variab follows:

is executed meach resultan collection, altes over the s

h as a symbolan be place inhe condition f

g the new repmanual entry i

number accom the drop-dow

d the result o

ble a new obje

multiple timesnt object is adllowing the usselected repo for keys. Then “if-then” confor execution.

port section. Cn the field on

rding to whichwn on the left

of this constru

129

ect of the repo

s at the beginnded to a colleser to choose rt sections ane script langunstructs, using

Can be specif the right.

h report sectit or manual e

ct, which is a

ort section da

ning of a repoection. A Mult a subset of t

nd builds a dicage statemeng the presenc

fied either by

ons can be sntry in the fie

a report sectio

COREVaria

ata type. One

ort script to crtiple Selectionthe report secctionary from nts corresponce of the asso

a variable fro

orted. Can beld on the righ

on.

script Constable Manipul

possible use

reate differenn Prompt is thctions. An iterthem using a

nding to each ociate key in t

om the drop-d

e specified eitht.

tructs lation

of this

t report hen rate a simple section

the

down

ther by

Page 136: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrVariable

Report

Descrip

Ad

Setting NOA

Return V

Note: Not

ript ConstrucManipulation

t Setting

ption Assigns to the

ialog (e.g., Pr

Name of the prOverride ValueAddress”, “Pre

Variable to hol

available to S

cts n

return variabrepared By N

roperty whiche”, “Date Oveepared By Nam

d the result o

Simulation sc

ble the value oame).

h value is to brride Value”, me”, “Prepare

of this constru

cripts.

130

of the selecte

e returned. It “Override Creed For Addres

ct.

d setting prop

t is one of theeator”, “Overrss”, or “Prepa

perty from the

e following striride Date”, “Pared For Nam

e report settin

ings: “CreatorPrepared By me”.

ngs

r

Page 137: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Sort

Descrip

Aar

CollectiV

If dco

AscendBIf orfr

Return V

ption Assigns to the

re in the colle

ion Variable conta

Array Bag DictionOrdereSet SortedString Symbo

the collectionictionary, not onstruct retur

ding oolean objecthe argumenrder. Can be om the drop-d

Variable to hol

return variabection to be so

ining a collec

nary ed Collection

d Collection

ol n is a dictionathe keys whe

rns a collectio

t indicating wnt value is falsspecified eithdown on the r

d the result o

ble a new, sororted. Note th

ction of object

ary, the objectereby the valuon of its chara

whether the cose, this constrher by a variabright.

of this constru

131

rted ordered chat the origina

ts to be sorted

ts in the returues are accesacters in a new

ollection shouruct returns thble from the d

ct, which is a

collection conal collection is

d. Can be of o

rned collectionssed. If the cow order.

ld be sorted ihe objects in tdrop-down on

an ordered co

COREVaria

ntaining all thes not modified

one of the fol

n are the valuollection is a s

n ascending the collectionn the left or a

llection.

script Constable Manipul

e same objectd.

lowing data ty

ues stored in tstring or symb

or descendin in descendinmanual selec

tructs lation

ts as

ypes:

the bol, this

g order. ng ction

Page 138: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrVariable

Variab

Descrip

Aon

ExpressAthbe

ValidateVunbo

Data TyT

ASize

Tsp

Rows Tsp

ript ConstrucManipulation

le Assign

ption Assigns an obj

ne of the ava

sion An expression he Edit Variabe coded in soe

Validates the snexpected locounds checki

ype his construct

Array DictionOrdereSet Table

Arrays and tab

he number ofpecified eithe

he number ofpecified eithe

cts n

nment

ject to the retilable data typ

consisting ofbles commandome data type

syntax of the ecations, all opng can be pe

can create ne

nary ed Collection

bles have fixe

f indices allocr by a variabl

f rows allocatr by a variabl

turn variable.pes or it can b

f operators in d under the Pes.

expression toperators are rerformed.

ew objects of

d dimensions

cated to the ree from the dr

ed in the retue from the dr

132

The object asbe the result o

the CORE exProperties me

o ensure that ecognized, an

f the following

s that are also

eturned array op-down on t

urned table if top-down on t

ssigned can bof a CORE ex

xpression lannu of the Scr

neither operand all variable

g types:

o defined by t

y if the Array dthe left or man

the Table datthe left or man

be a new andxpression.

nguage, variabript Editor, and

ators nor operes have been

his construct.

data type is senual entry in t

ta type is selenual entry in t

empty collec

bles defined ud constants th

rands appearn defined. No

.

elected. Can the field on th

ected. Can bethe field on th

ction of

using hat can

r in type or

be he right.

e he right.

Page 139: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

ColumnTsp

Return V

ns he number ofpecified eithe

Variable to hol

f columns allor by a variabl

d the result o

ocated in the e from the dr

of this constru

133

returned tableop-down on t

ct.

e if the Table the left or man

COREVaria

data type is snual entry in t

script Constable Manipul

selected. Canthe field on th

tructs lation

n be he right.

Page 140: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscrVariable

ript ConstrucManipulation

cts n

THHIS PAGE IN

134

NTENTIONAL

LY BLANK

Page 141: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

Add ElemAt End .....Attribute DAvailable Beep .......Block ConBreakpoinCancel ReChange InChildren QClass AttrClass ProClass QueClass RelClass TarClose FileColor QueComma-DCommentDatabaseDatabaseDelete ObDiagram FDiagram ODisabled CDrop-DowElement AElement OElement SElement SElement SElements ExpireOutFacilities .Facility DaFacility PrFacility QFacility ScFilter .......Get PositiHierarchyIf Then CoIf Then ElInclude ExInclude ExInclude ScInclude StIterate CoMessage Move EleMultiple SNamed E

ment To Folde.....................Definition ProDiagrams Qu.....................nstruct ..........nt ..................eport ............ndicator ........Query ...........ributes ..........operty ............ery ...............ations ..........

rget Classes .e ...................ery ................Delimited Outt ....................

e Classes ......e Object Sort .bject .............File Output ...Output ..........Code Constru

wn Selection PAttribute QuerOutput ..........Selection ProSort ..............Sort Blocks ...Query .........tputs .................................atabase Clasroperty .........uery .............chema Classe.....................ion ................

y Iterate Consonstruct ........se Construct xternal Boilerxternal Graphcript .............tyle Sheet ....

onstruct .........Prompt ........ment To Fold

Selection Promlement Query

Cr ........................................

operty ............uery ...............................................................................................................................................................................................................................................................................................put ..............................................................................................................................................uct ................Prompt..........ry .......................................mpt ........................................................................................................................ses .........................................................es ...........................................................truct .......................................................rplate ............hic .....................................................................................................

der .................mpt ...............y ....................

Constr.......... 23 .......... 63 .......... 87 ........ 109 ........ 110 ............ 1 ........ 111 ........ 112 ........ 113 .......... 13 .......... 88 .......... 89 .......... 90 .......... 91 .......... 92 .......... 39 ........ 114 .......... 47 ........ 115 .......... 93 ........ 123 .......... 24 .......... 48 .......... 50 ............ 2 .......... 79 .......... 14 .......... 52 .......... 80 ........ 125 ........ 126 .......... 15 ........ 116 .......... 94 .......... 95 .......... 96 .......... 97 .......... 98 ........ 127 .......... 64 ............ 3 ............ 5 ............ 6 .......... 55 .......... 56 ............ 7 .......... 57 ............ 8 .......... 81 .......... 25 .......... 82 .......... 16

135

ruct InNewNewNewNextOpeOpeOpeOpeParePeekProjeProjeProjePurgRDTRelaRelaRelaRelaRelaRelaReleRemRenaRenaRenuRepeRepoRepoRepoResoRetuRootSaveScheScripSendSet DSet DSet ESet ESet PSet PSet RSet SSimuSingSizeSkipSortSystTag

ndexw Element ......w Folder .........w Relationshipt ....................n File Dialogn Input File ..n Output Filen Transcript .

ents Query ....k ...................ect Property .ect Query .....ects ..............ge Attribute VT Output ........ation Attributeation Propertyation Query ...ations ............ationship Attriationships Quease Edit Locmove Elementame Elementame Folder ..umber Elemeeat Until Conort Section ...ort Setting ....ort Settings Pource Level Qurn ................t Folder Quere File Dialog .ema Classespt Context Qud Mail MessaDefault Input Default OutpuEdit Lock ......Element AttribPosition ........Project .........Relationship AStyle .............ulator Propertgle Selection Pe ....................p ....................

....................tem Property Output .........

CORE

.....................

.....................p ......................................................................................................................................................................................................................................

Versions ..............................

es...................y ..............................................................bute Query ...ery ...............k ...................t From Foldert .........................................

ent .................struct ......................................................

Prompt ..........Query .................................ry ............................................................

uery...............age ................

File ..............ut File ................................bute ........................................................Attribute ............................ty Query .......Prompt ........................................................................Query ...............................

script Const

................... 2

................... 2

................... 2

................... 6

................... 4

................... 4

................... 4

................. 11

................... 1

................... 6

................... 7

................... 7

................... 7

................... 2

................... 5

................... 9

................. 10

................. 10

................. 10

................... 1

................... 1

................... 3r .................. 3................... 3................... 3................... 3...................................... 12................. 13................... 8................. 10................... 1................... 2................... 4................. 10................. 10................. 11................... 4................... 4................... 3................... 3................... 6................... 7................... 3................... 5................. 10................... 8................... 6................... 6................. 13................. 12................... 6

tructs

26 27 28 65 40 41 42 17 17 66 73 75 76 29 58 99 00 01 02 18 19 30 31 32 33 34 9

29 30 83 05 10 20 43 03 06 18 44 45 35 36 67 77 37 59 07 84 68 69 31 20 60

Page 142: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

COREscr

Targets QTerminateText OutpUp To ......Update B

ript Construc

Query ............e Edit Lock ...put .....................................lock Construc

cts

.....................

.....................

.....................

.....................ct ..................

.......... 21

.......... 38

.......... 61

.......... 71

.......... 11

136

ValuVariaVariaWhilYesO

ue Prompt .....able Assignmable Output ..e Do ConstruOrNo Prompt

.....................ment ...............

.....................uct .................t .....................

................... 8

................. 13

................... 6

................... 1

................... 8

85 32 62 12 86

Page 143: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt
Page 144: COR Es cript C G - Vitech · PDF filesability, com ied and move ructs enclosed CORE ts Editor’s Scri an artificial, posability, re d as a unit, a within the b script Const Co pt

54Custom

Vitech C2270 Kraft Blacksbur

40.951.3322mer Support

www.v

Corporat Drive, Suiterg, Virginia 22 FAX: 540.: support@v

vitechcorp.co

ation e 1600 24060 951.8222

vitechcorp.coom

om