23.12.2012 Views

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

RLIB Programmers Manual - RLIB - SICOM Systems, Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table of Contents<br />

1. Introduction ..........................................................................................................................................1<br />

<strong>RLIB</strong> in a nutshell............................................................................................................................1<br />

What is a Report Writer..................................................................................................................1<br />

This <strong>Manual</strong> .....................................................................................................................................1<br />

2. Basic Training .......................................................................................................................................2<br />

A little Terminology........................................................................................................................2<br />

The DATE variable type .................................................................................................................2<br />

Fixed Point .......................................................................................................................................3<br />

Data Sources.....................................................................................................................................3<br />

Report Layout ..................................................................................................................................4<br />

Breaks Explained.............................................................................................................................4<br />

Report Variables ..............................................................................................................................5<br />

Defining a Report ............................................................................................................................5<br />

SAMPLE XML FILE ........................................................................................................................5<br />

Report................................................................................................................................................6<br />

Output...............................................................................................................................................7<br />

HorizontalLine.................................................................................................................................7<br />

Image.................................................................................................................................................7<br />

Line....................................................................................................................................................7<br />

Literals ..............................................................................................................................................8<br />

Field...................................................................................................................................................8<br />

ReportHeader ..................................................................................................................................8<br />

ReportFooter ....................................................................................................................................8<br />

PageHeader......................................................................................................................................8<br />

PageFooter........................................................................................................................................8<br />

Detail .................................................................................................................................................8<br />

Variables ...........................................................................................................................................9<br />

Breaks................................................................................................................................................9<br />

3. <strong>RLIB</strong> Function Table..........................................................................................................................10<br />

..........................................................................................................................................................10<br />

+ .......................................................................................................................................................10<br />

- ........................................................................................................................................................10<br />

* ........................................................................................................................................................10<br />

/ .......................................................................................................................................................10<br />

% ......................................................................................................................................................10<br />

^ .......................................................................................................................................................10<br />

.......................................................................................................................................................11<br />

==.....................................................................................................................................................11<br />

!= ......................................................................................................................................................11<br />

&& ...................................................................................................................................................11<br />

||.....................................................................................................................................................11<br />

abs(expN) .......................................................................................................................................11<br />

ceil(expN) .......................................................................................................................................12<br />

floor(expN).....................................................................................................................................12<br />

round(expN) ..................................................................................................................................12<br />

sin(expN) ........................................................................................................................................12<br />

cos(expN)........................................................................................................................................12<br />

ln(expN)..........................................................................................................................................12<br />

exp(expN).......................................................................................................................................12<br />

atan(expN)......................................................................................................................................12<br />

sqrt(expN).......................................................................................................................................12<br />

val(expS) .........................................................................................................................................13<br />

fxpval(expS, expN)........................................................................................................................13<br />

str(expN1, expN2, expN3) ...........................................................................................................13<br />

iii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!