Further to my previous e-mail I have a question relating to the use of modules and scope of variables declared in module being 'seen' by other modules. The thing is I have variables in one module that I want to be able to seen by other modules. I thought as long as I export the variables from the module it should be fine but it seems not to work all that well as on compiling I get undefined reference errors.

 I am a newbie to pascal so don't fully understand the inner workings so help would be appreciated.