gece_sisi Posted June 4, 2012 Share Posted June 4, 2012 Merhaba arkadaşlar. Ams de ,bir labeldeki karakterleri (Örnek : abAB12) ikinci bir labele nasıl ascii kod olarak yazdırabiliriz? Label 1 :abAB12 Label 2 :Label 1 in Ascii kodu Bu konu hakkındaki yardımlarınız için şimdiden teşekür eder iyi çalışmalar dilerim... Quote Link to comment Share on other sites More sharing options...
blackman12 Posted June 4, 2012 Share Posted June 4, 2012 (edited) [codebox]result = Input.GetText("Input1"); sonuc = ""; for count = 1, #result do harf = String.Mid(result, count, count+1); asci = String.Asc(harf); if sonuc == "" then sonuc = asci else sonuc = sonuc .. "+" .. asci end end -- istek üzerine Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); --istek sonu Input.SetText("Input2",sonuc);[/codebox] Edited June 4, 2012 by MostWanted Arkadaşı azmi için tebrik ediyorum :D Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted June 4, 2012 Share Posted June 4, 2012 [quote name='blackman12' date='04 June 2012 - 18:54 ' timestamp='1338825268' post='1208733'] [codebox]result = Input.GetText("Input1"); sonuc = ""; for count = 1, #result do harf = String.Mid(result, count, count+1); asci = String.Asc(harf); if sonuc == "" then sonuc = asci else sonuc = sonuc .. "+" .. asci end end -- istek üzerine Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); Input.SetText("Input2",""); --istek sonu Input.SetText("Input2",sonuc);[/codebox] [/quote] Abi 32 tane Input.SetText("Input2",""); yazmanın sebebi nedir.? Quote Link to comment Share on other sites More sharing options...
MostWanted Posted June 4, 2012 Share Posted June 4, 2012 Arkadaşın biraz psikolojik sorunları var da, sen hepsini silebilirsin Quote Link to comment Share on other sites More sharing options...
blackman12 Posted June 4, 2012 Share Posted June 4, 2012 valla tam ciddi cevap vericektim ki imzanı görene kadar 19 tane spoiler koymanın sebebi nedir ya çatladım lan aç aç bitmiyo Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted June 4, 2012 Share Posted June 4, 2012 [quote name='blackman12' date='04 June 2012 - 23:27 ' timestamp='1338841641' post='1208797'] valla tam ciddi cevap vericektim ki imzanı görene kadar 19 tane spoiler koymanın sebebi nedir ya çatladım lan aç aç bitmiyo [/quote] Haha üşenmedin açtınmı Daha fazla koyacaktımda adminler modlar sinirden banlarlar diye koymadım Quote Link to comment Share on other sites More sharing options...
blackman12 Posted June 4, 2012 Share Posted June 4, 2012 isabet olmuş üstüne bi de üşenmedim saydım kaç tane olduğunu Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted June 4, 2012 Share Posted June 4, 2012 (edited) Abi imzama şimdi bakabilirsin ne iyi ettinde imzayı aklıma getirdin çok sağol Edited June 4, 2012 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
gece_sisi Posted June 5, 2012 Author Share Posted June 5, 2012 blackman12 arkadaşım kodlar için çok teşekür ederim.İşimi hallettim Eline sağlık... 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.