Hi Brandon There is no such thing as infinity i n computer since. You can set variable to is maximum available value. For example:
UINT8 max val is 255 (dec) or 0xFF (hex) UINT18 max val is 0xFFFF and so on. -- Best regards Mindaugas Jaraminas Fran Lebowitz - "Food is an important part of a balanced diet." 2009/1/24 Brandon Fu <[email protected]>: > Hi all, > Do anyone know how to set an infinity in enumerated constant? > Example i have a header file and i wish to set 1 of the constant as > infinity: > > enum { //define constant > SET_INIFINITY = ?, > }; > > Anyone please help me,tks a milllion. > > yours sincerely, > Brandon > > ________________________________ > Chat online and in real-time with friends and family! Windows Live Messenger > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
