turkoglu98 Posted October 29, 2011 Share Posted October 29, 2011 arkadaşlar ben bir projemde bir şeyi yapamadım şimdi anlatamam o yuzden apz olarak sorucam linki http://www.wupload.com/file/1553380721/yardım.apz Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 29, 2011 Share Posted October 29, 2011 10 azalt buttonundaki kodları şunla değiştirin: [code]say = Label.GetText("Label1"); sayi = say-10 if sayi == 0 then Dialog.Message("Hata", "Sayı 0 oldu") else Label.SetText("Label1", sayi); end[/code] Quote Link to comment Share on other sites More sharing options...
turkoglu98 Posted October 29, 2011 Author Share Posted October 29, 2011 ama sayı eksiye düşdüğü zaman hata vermesi gerekiyor Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted October 29, 2011 Share Posted October 29, 2011 [codebox] say = Label.GetText("Label1"); if sayi > 10 then sayi = say-10 elseif sayi == 0 then Dialog.Message("Hata", "Sayı 0 oldu") else Label.SetText("Label1", sayi); Dialog.Message("Hata", "Sayı 10dan Küçük") end [/codebox] [b]Denemeden Yazdım. Yani Mantık Bu.[/b] Quote Link to comment Share on other sites More sharing options...
turkoglu98 Posted October 29, 2011 Author Share Posted October 29, 2011 arkadaş sonradan anladım ama ben 10 azatmak yerine 9 azaltırsam nasıl oucak Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 29, 2011 Share Posted October 29, 2011 önemli değil, eklediğim koşul sonucun 0 olup olmamasına bakıyor. Quote Link to comment Share on other sites More sharing options...
turkoglu98 Posted October 29, 2011 Author Share Posted October 29, 2011 (edited) teşekkürler Baba_ kardeş Edited October 29, 2011 by turkoglu98 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.