Can you define a DEV array in a module?
Garret
Posts: 27
Can you define a DEV array in a module?
I have a unit with two tuners built in, I want to decide witch tuner to talk to by witch virtual device channel is pulsed by using a get last and putting the two vdvs into an array. When i define the DEV array in the module i get a compiler error (not a constant) or some such. If you can answer a simple yes to the above question then I'm doing something wrong and can pursue it further.
If no is your answer then can i pass a DEV array into a module? This isnt a make or break situation for me, i can simply copy and paste my code change one number and it will work. I'm just trying to improve my programming abilities and copy/paste is usually the less elegant way of doing things... It may however be a more "efficient" use of my time
Thank you for any advice.
I have a unit with two tuners built in, I want to decide witch tuner to talk to by witch virtual device channel is pulsed by using a get last and putting the two vdvs into an array. When i define the DEV array in the module i get a compiler error (not a constant) or some such. If you can answer a simple yes to the above question then I'm doing something wrong and can pursue it further.
If no is your answer then can i pass a DEV array into a module? This isnt a make or break situation for me, i can simply copy and paste my code change one number and it will work. I'm just trying to improve my programming abilities and copy/paste is usually the less elegant way of doing things... It may however be a more "efficient" use of my time
Thank you for any advice.
0
Comments
dev dvTPs[] = device array of touch panels for controlling the tuner.