Write-only variables

John Hascall hascall at atanasoff.cs.iastate.edu
Fri Sep 15 10:45:19 AEST 1989


In article <...> flaps at dgp.toronto.edu (Alan J Rosenthal) writes:
}raph at tigger.planet.bt.co.uk (Raphael Mankin) writes:
}>How does one declare write-only variables in C?
}[ explanation of the use of write-only variables deleted ]
 
}You cannot write to a variable in C ...

    Come to think of it, why is there no "writeonly" modifier?

    It would seem useful, and orthoganal (sp?).

    John




More information about the Comp.lang.c mailing list