Sunday, March 9, 2008

Re: [oopic] more debugging

On Mar 9, 2008, at 9:36 AM, Andrew Porrett wrote:

> Variables (byte and word) are unsigned; data objects can be
> signed. That can certainly lead to operational differences under the
> right circumstances.

I am aware of the differences between signed and unsigned types. (I
must admit to being surprised to see that type char is signed. That
makes no sense to me.) I was wondering if they behaved differently,
i.e. can I substitute an oByte for a Byte in my program code without
any ramifications? I am using it in a switch (case) statement which
defines the states in my state machine. I am trying to follow the
state transitions by watching the data object in real time.

--

Brian Lloyd Granite Bay Montessori
brian AT gbmontessori DOT com 9330 Sierra College Blvd.
+1.916.367.2131 (voice) Roseville, CA 95661, USA

http://www.gbmontessori.com

I fly because it releases my mind from the tyranny of petty things . . .
— Antoine de Saint-Exupéry

PGP key ID: 12095C52A32A1B6C
PGP key fingerprint: 3B1D BA11 4913 3254 B6E0 CC09 1209 5C52 A32A 1B6C


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments:

Post a Comment