From: Carsten H. (T. R. <ra...@ra...> - 2005-06-09 09:44:29
|
On Thu, 9 Jun 2005 11:31:44 +0200 Nick Martens <ni...@xs...> babbled: > Hi, I have the following script in a theme, but I keep getting the following > error: "edje_cc: Warning. Compiling script code not clean." I know it has > something to do with the "new Float:val2 = val / 8;" lines, but I can't > figure out what. hope someone can help me out. > Best regard Nick. there will be a bug higher up too if you look - or there should. embryo_cc will complain. > > > script { > public message(Msg_Type:type, id, ...) { > if ((type == MSG_FLOAT) && (id == 1)) { > new Float:val; > // new Float:val1; > // new Float:val2; > // new Float:val3; > val = getfarg(2); > set_drag(PART:"temp_top", 0.0, val); > > new Float:val2 = val / 8; > new Float:val3 = val % 8; > if (val2 => 8) { > new val1 = val2 / 8; > val2 = val2 % 8; > } else { > new val1 = 0; > } > set_state(PART:"bar1", 0.0, val1); > set_state(PART:"sign1", 0.0, val1); > set_state(PART:"bar2", 0.0, val2); > set_state(PART:"sign2", 0.0, val2); > set_state(PART:"bar3", 0.0, val3); > set_state(PART:"sign3", 0.0, val3); > } > } > } > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput > a projector? How fast can you ride your desk chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > enlightenment-users mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... 裸好多 ra...@de... Tokyo, Japan (東京 日本) |