I've just recieved an ancient copy of PowerBasic, and the most useful commands for robotics seem to be the input and 'OUT' commands. The syntax is stated as:
OUT port#, byte
But I'm stuck with the port# bit. How do you find what number to put there to specify a paralell port or com port. How do you do it?