As omniscientbeing stated, the Verifone Tranz 330 is programmed using
TCL. All the information contained in my answer was found in the TCL
Programmers Manual. It's a 10 MB download, but if you want more
detailed information on how to write programs in TCL, I suggest you
download it:
http://www.verifone.com/support/documents/
In answer to your question, TCL is programmed using a text editor.
The only requirement is that the editor must be able to store the text
in a standard MS-DOS ASCII disk file format. I personally would
recommend using Notepad for this, but you can use practically
anything.
After writing your program, you can load it onto the terminal two
different ways.
The first method is to manually enter the program on the terminal.
Because this can be a very lengthy process, it is not recommended by
VeriFone. Entering programs by keypad doesn't sound very exciting to
me either.
The second method is to download the program to the terminal.
VeriFone has two different programs for this. The first is TCLOAD.
It is used mainly for testing and development. The second is ZONTALK
2000. It's used once you're ready to actually send your application
to terminals in the field. These programs are downloaded onto your
computer, not the terminal. See Chapter 4 in the manual for
instructions on using the programs. Depending on whether you're
debugging your application or actually sending it to terminals in the
field, you may connect to the terminal using a direct cable to your pc
or you may use the terminal's modem to download the program from a
server.
Here is a some sample code that copies a memory location control
string:
31$ ;Get the location umbers
B.5 ;Select buffer 5 as destination buffer
G ;Clear it
P299 ;Display "COPY FROM LOC?"
K2.3 ;Accept 3 digits from keypad
D1 ;Delete the field seperator
This is just a small portion of the program. I'm including it so you
can see what TCL looks like. The ";" means everything after that
character is a comment and is not actually programming code. If you
want to view the entire program, look at Appendix C in the manual.
Thanks for the question and if you require more information, don't
hesitate to ask for clarification. And if you find this answer
satisfactory, please feel free to rate it. Thank you!
xemion-ga |