hello again,

im transferring a fortran program to VB, and the translator doesnt do great but it does its job. Anyway I have a huge list of public variables, these variables are set right at the beginning of the program (they are specifically set to zero). then the program calls a subroutine and then the subroutine calls another subroutine. When I check the variables some of the variables are coming in as zeros and others (that are set to zero) are coming in "empty".

Is it possible for something in the program to unset them?

Can you set the value of the public variables in the public statements?

Does setting the values in the main program possible effect the way they are transfered to different subroutines since they are public variables?

thanks guys.