Jump to content

Ams De Karakterleri Ascii Koduna Nasıl Çeviririz?


gece_sisi
 Share

Recommended Posts

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...
Link to comment
Share on other sites

[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 by MostWanted
Arkadaşı azmi için tebrik ediyorum :D
Link to comment
Share on other sites

[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.?

Link to comment
Share on other sites

[quote name='blackman12' date='04 June 2012 - 23:27 ' timestamp='1338841641' post='1208797']
valla tam ciddi cevap vericektim ki imzanı görene kadar :D 19 tane spoiler koymanın sebebi nedir ya çatladım lan aç aç bitmiyo :D
[/quote]

Haha üşenmedin açtınmı :D Daha fazla koyacaktımda adminler modlar sinirden banlarlar diye koymadım :D

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...