example code, only the basics due of my question:
Code: Select all
var
output1: sbit at portL1_bit;
output2: sbit at portL2_bit;
// etc...
procedure doOutput( outputNR: ????? );
begin
outputNR:= 1;
//more code
outputNR:= 0;
{
output1:= 1 // this works of course
}
end;
// calling the procedure:
doOutput( output1 );
What do I need to place on the ?????? ?
It's a kinda pointer-thing?
Kind regards! Marcel