-> For your interest, I have uploaded the (fully automatic) BBC BASIC
-> translation of your program 'compiled' using BBC BASIC for Windows:
-> http://www.bbcbasic.co.uk/SUNALIGN.EXE
Interesting. I assume you checked that it works!
Actually, compiling it to an EXE slightly misses the point of that
particular program. The idea was to do the trigonometry that is needed in
a program to control a heliostat - a device with a mirror that moves so
as to reflect sunlight in a constant direction despite the sun's
motions in the sky. However, the complete program would also need code
to make the computer control the motors that drive the mirror, etc.,
but I couldn't include that because it would depend on the exact design
of the machine, which I have no way of knowing. So the idea was that
someone would start with SUNALIGN, amd add whatever code is needed to
run his particular heliostat.
But that means he has to have SUNALIGN's source code, not a compiled
version.
Thanks, anyway.
dow


|