{"id":4716,"date":"2014-12-18T14:49:29","date_gmt":"2014-12-18T12:49:29","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=4716"},"modified":"2014-12-18T14:49:29","modified_gmt":"2014-12-18T12:49:29","slug":"vb-visual-basic-script-ile-rastgele-sayi-uretmek-vbs-script","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/vb-visual-basic-script-ile-rastgele-sayi-uretmek-vbs-script.html","title":{"rendered":"VB Visual Basic Script ile rastgele say\u0131 \u00fcretmek VBS Script"},"content":{"rendered":"<p>Sub SayisalLoto(sayiaraligi,kactane)<br \/>\n&#8216; Developer\u00a0Burhan KARADERE<\/p>\n<p>Dim tuzaksayisi(10)<br \/>\nDim sayi, j<br \/>\nDim buldu<\/p>\n<p>sayi = 0<br \/>\nj = 0<\/p>\n<p>&#8216; tumu oalcak ise<br \/>\nif sayiaraligi = kactane then<\/p>\n<p>For j = 0 To kactane &#8211; 1<br \/>\ntuzaksayisi(j) = j + 1<br \/>\nWscript.echo tuzaksayisi(j)<br \/>\nNext<\/p>\n<p>else<\/p>\n<p>buldu = False<\/p>\n<p>For i = 0 To kactane<\/p>\n<p>buldu = False<\/p>\n<p>Do While buldu = False<\/p>\n<p>sayi = Int((sayiaraligi * Rnd + 1) )<\/p>\n<p>For j = 0 To kactane<br \/>\nIf tuzaksayisi(j) = sayi Then<br \/>\nExit For<\/p>\n<p>End If<br \/>\nNext<\/p>\n<p>If j = kactane + 1 Then<br \/>\ntuzaksayisi(i) = sayi<br \/>\nbuldu = True<br \/>\nEnd If<br \/>\nLoop<br \/>\nNext<\/p>\n<p>For i = 1 To kactane<\/p>\n<p>Wscript.echo tuzaksayisi(i)<\/p>\n<p>Next<br \/>\nend if<br \/>\nEnd Sub<br \/>\nCall SayisalLoto(10,6)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Basic VB Script ile rasgele say\u0131 bulmak<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[41,63,66],"tags":[552,622,1312,1473,1615,1758,1759,1768,1799,1857,1862,2187,2188,2212],"class_list":["post-4716","post","type-post","status-publish","format-standard","hentry","category-programlama-software","category-vb-ms-visual-script","category-visual-basic-6-0","tag-basic","tag-bulma","tag-kod","tag-microsoft","tag-ornek","tag-random","tag-randomize","tag-rastgele","tag-rnd","tag-sayi","tag-script","tag-vb","tag-vb-script","tag-visyual","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":2011,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/4716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=4716"}],"version-history":[{"count":0,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/4716\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=4716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=4716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=4716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}