Changes

Jump to: navigation, search

User:Dhhodgin

24 bytes added, 20:00, 5 February 2010
hex()
=== hex() ===
hex(x, y) function for processing. x is a byte, char, int, or color. y is the length of the string to return.<br />commit [http://github.com/dhodgin/processing-js/commit/d51adccc9acfeb4fa286366c98e06a33ad296524 hex() commit]<br />test available [http://matrix.senecac.on.ca/~dhhodgin/dps911/hextest.htm here]<br /><br />
// note: since we cannot keep track of byte, char, and int types by default the returned string is 8 chars long
// if no 2nd argument is passed. closest compromise we can use to match java implementation Feb 5 2010
1
edit

Navigation menu