On Thu, 9 Jun 2005 11:31:44 +0200 Nick Martens <[EMAIL PROTECTED]> babbled:
(B
(B> Hi, I have the following script in a theme, but I keep getting the following
(B> error: "edje_cc: Warning. Compiling script code not clean." I know it has
(B> something to do with the "new Float:val2 = val / 8;" lines, but I can't
(B> figure out what. hope someone can help me out.
(B> Best regard Nick.
(B
(Bthere will be a bug higher up too if you look - or there should. embryo_cc will
(Bcomplain.
(B
(B>
(B>
(B> script {
(B> public message(Msg_Type:type, id, ...) {
(B> if ((type == MSG_FLOAT) && (id == 1)) {
(B> new Float:val;
(B> // new Float:val1;
(B> // new Float:val2;
(B> // new Float:val3;
(B> val = getfarg(2);
(B> set_drag(PART:"temp_top", 0.0, val);
(B>
(B> new Float:val2 = val / 8;
(B> new Float:val3 = val % 8;
(B> if (val2 => 8) {
(B> new val1 = val2 / 8;
(B> val2 = val2 % 8;
(B> } else {
(B> new val1 = 0;
(B> }
(B> set_state(PART:"bar1", 0.0, val1);
(B> set_state(PART:"sign1", 0.0, val1);
(B> set_state(PART:"bar2", 0.0, val2);
(B> set_state(PART:"sign2", 0.0, val2);
(B> set_state(PART:"bar3", 0.0, val3);
(B> set_state(PART:"sign3", 0.0, val3);
(B> }
(B> }
(B> }
(B>
(B>
(B>
(B>
(B> -------------------------------------------------------
(B> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
(B> a projector? How fast can you ride your desk chair down the office luge track?
(B> If you want to score the big prize, get to know the little guy.
(B> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
(B> _______________________________________________
(B> enlightenment-users mailing list
(B> [email protected]
(B> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
(B>
(B
(B
(B--
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
$BMg9%B?(B [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BThis SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
(Ba projector? How fast can you ride your desk chair down the office luge track?
(BIf you want to score the big prize, get to know the little guy.
(BPlay to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
(B_______________________________________________
(Benlightenment-users mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-users