----boundary-LibPST-iamunique-2038742564_-_-
Content-type: text/plain
>
> My programming aims are pretty simple. I want to
> read and write from files and the console and do some
> calculations. I need to be able to detect a pressed key so I
> can interrupt a process if necessary (and only if necessary).
> I might also need to do serial port I/O and graphics, but
> that's beyond this discussion. Notice I left out windows.
> Nice, but not always needed or even helpful.
>
Rex,
It sounds to me that BlackBox is not the tool that you should be using,
given your particular requirements. I'd recommend that you try
Queensland University's Gardens Point Component Pascal for the Windows
.NET platform - it seems to be just what you are looking for.
http://www.citi.qut.edu.au/members/research_areas/plas/projects/
The runtime system has these functions:
* Console writes strings and numbers to the console
* StdIn reads characters and whole lines from the console
* Error this library writes strings and number to the error stream
* ProgArgs provides access to the command line arguments, if any
* GPText a basic library for handling text formatting
* GPFiles defines the supertype of GPBinfFiles.FILE and GPTextFiles.FILE
* GPBinFiles reading and writing binary files
* GPTextFiles reading and writing text files
* RealStr formatting real numbers: based on the ISO-Modula-2 library
* RTS access to the facilities of the runtime system
* StringLib string library, based on the ISO-Modula-2 library
Using Microsoft's ILMerge utility you can build standalone executables.
These are typically about 50 - 100 Kbytes (YES - KILOBYTES) in size.
i.e. about 10% of the size of an equivalent Borland Delphi executable.
I'm more interested in GUI Windows programming so I rarely use these
libraries, but make use of the amazing range of functions available in
the .NET framework. It has taken some of the fun out of programming -
most of my programs these days seem to be just sequences of library
calls, but I do get the actual job (i.e. producing a program to perform
a particular task) much quicker.
One of the advantages for me using GPCP for .NET is that I can now reuse
my Component Pascal code for Desktop applications, handheld PCs and
server-side web programming.
Chris Burrows
CFB Software
http://www.cfbsoftware.com/gpcp
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-2038742564_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcml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