Ed Casas (edc@ece.ubc.ca) Tue, 5 Dec 2000 16:48:32 -0800
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- New Message to:eece485@listhost.ece.ubc.ca
- Reply to:Re: speek() function
- Next message: Ed Casas: "Re: CGI File"
- Previous message: Ed Casas: "Re: Final Exam"
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
- Next message: Ed Casas: "Re: CGI File"
- Previous message: Ed Casas: "Re: Final Exam"