The Official Forum  

Go Back   The Official Forum > Basketball
Register FAQ Community Calendar Today's Posts Search

 
 
LinkBack Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11 (permalink)  
Old Sun Dec 11, 2011, 10:06pm
TODO: creative title here
 
Join Date: Sep 2009
Location: Minneapolis, MN
Posts: 1,250
Quote:
Originally Posted by BillyMac View Post
And I still can't figure out what JugglingReferee was trying to say. I don't know whether to agree with him, or to disagree with him, or to agree to disagree with him, or to disagree to agree with him.
Computer programmer humor. If you're writing computer code, you get to declare a variable as a specific type, and the type you declare has certain (that may be different for other types of variables).

Code:
int c = 5;
int c1 = 05;
int c3 = 000005;
"int" in this case stands for "Integer"... ie: a whole number. The zeros in front of the number 5 do not matter in this case, because all three of the examples I used are equal to the number 5.

Code:
char string[4] = "5", 
char string[4] = "05"
These are examples of character strings. In this case, each one is 4 characters long. In these examples, we have " 5" and " 05" respectively. Since character strings are compared literally, these two values are NOT identical.

In other words, when you're asking if 5 and 05 are identical, computer programmers like me have to ask "what data type are you using?" before we can answer your question.

So, to know if 05 is a legal FED basketball number, we need to know if the list of valid numbers in the rulebook is intended to be "Integers" (which would mean 05 is legal) or "Strings" (which would make 05 illegal). I am not aware of a casebook ruling either way.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is "the patient whistle" and "possession consequence" ruining the game? fiasco Basketball 46 Fri Dec 02, 2011 08:43am
ABC's "Nightline" examines "worst calls ever" tonight pizanno Basketball 27 Fri Jul 04, 2008 06:08am
2007 NFHS Rules Changes - "Step and Reach" Dakota Softball 8 Mon Jul 10, 2006 02:46pm


All times are GMT -5. The time now is 05:27pm.



Search Engine Friendly URLs by vBSEO 3.3.0 RC1