ftp.nice.ch/pub/next/developer/resources/classes/CompSim.s.tar.gz#/CompSim/ORGate.m

This is ORGate.m in view mode; [Download] [Up]

//
// ORGate
//
// An Objective-C class for digital logic simulation which
// simulates the behavior of an n-input, m-bit OR gate.
//


#import "ORGate.h"


@implementation ORGate


- (bit)op:(bit)a :(bit)b
{
    return (a || b);					// OR bits.
}


@end


//
// End of file.
//

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.