Re: speek() function

Ed Casas (edc@ece.ubc.ca) Tue, 5 Dec 2000 16:48:32 -0800


Date: Tue, 5 Dec 2000 16:48:32 -0800
From: Ed Casas <edc@ece.ubc.ca>
Subject: Re: speek() function

> Does the speek function return/give the binary number located > in the specified addressport or does it give something else? Yes it returns the number. Functions don't return "binary" numbers though, they just return values. > For example, is the following code logically possible? > > if (speek (addressport) < 0x4A ) { ... Yes, this is correct, but it would exactly equivalent to say: if (speek (addressport) < 74 ) { -- Ed Casas edc@ece.ubc.ca http://casas.ece.ubc.ca +1 604 822-2592