[Hai-users] Program compiler
Tony Golden
mrgolden at earthlink.net
Wed Nov 28 09:44:48 CST 2007
That does sound extra cool.
However, I'm concerned about it "breaking" with future firmware updates, or
not being compatible with specific versions. Have you discussed sharing
your work with HAI, so they could officially support it? I've heard they've
had plans to update PC Access for a long time, so hopefully they would be
interested...
Thanks for sharing!
_____
From: hai-users-bounces at tssi.com [mailto:hai-users-bounces at tssi.com] On
Behalf Of Tom Williamson
Sent: Wednesday, November 28, 2007 9:43 AM
To: hai-users at tssi.com
Subject: [Hai-users] Program compiler
I have finished my first pass at a compiler for the HAI Programs.
It can be downloaded at http://www.dtssoftware.com/haipc (windows version).
The file 1701-1.haipc is a sample.
It has the following advantages over the PCAccess program:
1) You can add comments to your programs
2) UNITS/ZONES. etc can be renumbered without changing your programs. The
HAI PCAccess program shows names of UNITS/ZONES but they are keep as
UNIT/ZONE numbers. If you move a name the program does not match the new
name.
3) You can use long names in your programs. The DEFINE statement allows any
length for a UNIT/ZONE name that can they be referenced in the program. The
name that gets downloaded into the panel is separate from this name
4) The name/voice downloaded into the panel is also defined within the
compiler. If you change any UNIT/ZONE the panel name/voice will also change.
5) You can use structured programming. The WHILE statement can have more
than one IF/ANDIF or DO statement under it. This means that you do not need
to keep repeating the same WHEN or IF statement over and over again.
6) The normal BAT file used to invoke the compiler runs a macro preprocessor
first. This allows the source to have embedded macros or equates or INCLUDE
other files.
7) The compiler accepts literals for device names. This allows the use of
device names within the program lines without actually defining the names.
8) The compiler produces a list of the programs generated with a symbol
cross-reference. This makes it easy to see where a symbol is used.
9) More than two IF statement allowed. You can use more than two if
statements (IF / ANDIF) and the compiler will automatically pick an unused
button to chain the Ifs together. See XANDIF
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://romaine.tssi.com/pipermail/hai-users/attachments/20071128/0f1e0eac/attachment.htm
More information about the HAI-users
mailing list