<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : syntax error satir 6</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : syntax error satir 6]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Jul 2026 19:21:44 +0000</pubDate>
  <lastBuildDate>Tue, 07 Jul 2026 16:12:39 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1600</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[syntax error satir 6 : var hesapForm : TclForm; titleLabel:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1600&amp;PID=3697#3697</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=249">kayra12</a><br /><strong>Konu:</strong> 1600<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Temmuz&nbsp;2026 Saat 16:12<br /><br /><div>var</div><div>&nbsp; hesapForm : TclForm;</div><div>&nbsp; titleLabel: TClProLabel;</div><div>&nbsp; hesapPanel : TclProPanel;</div><div>&nbsp; displayLabel : TClProLabel;</div><div>&nbsp; btn : TClProButton;</div><div>&nbsp; buttons: array&#091;0..19&#093; of string;</div><div>&nbsp; i, col, row: Integer;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // HESAPLAMA İÇİN YENİ EKLENEN DEĞİŞKENLER</div><div>&nbsp; ilkSayi: Double;</div><div>&nbsp; islem: String;</div><div>&nbsp; yeniSayiMi: Boolean;</div><div><br></div><div>// TUŞLARA TIKLANDIĞINDA ÇALIŞACAK ANA FONKSİYON</div><div>void ButtonClick;</div><div>var</div><div>&nbsp; tiklananTus: String;</div><div>&nbsp; ikinciSayi, sonuc: Double;</div><div>{</div><div>&nbsp; // Hangi tuşa basıldığını alıyoruz</div><div>&nbsp; tiklananTus = TClProButton(hesapForm.ClSender).Caption;&nbsp;</div><div>&nbsp; if (tiklananTus == '') Exit; // Boş tuşa basıldıysa hiçbir şey yapma</div><div><br></div><div>&nbsp; // 1. Temizleme Tuşu (C)</div><div>&nbsp; if (tiklananTus == 'C')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; displayLabel.Text = '0';</div><div>&nbsp; &nbsp; ilkSayi = 0;</div><div>&nbsp; &nbsp; islem = '';</div><div>&nbsp; &nbsp; yeniSayiMi = True;</div><div>&nbsp; }</div><div>&nbsp; // 2. Geri Silme Tuşu (&#9003;)</div><div>&nbsp; else if (tiklananTus == '&#9003;')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (Length(displayLabel.Text) &gt; 1)</div><div>&nbsp; &nbsp; &nbsp; displayLabel.Text = Copy(displayLabel.Text, 1, Length(displayLabel.Text) - 1);</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; displayLabel.Text = '0';</div><div>&nbsp; }</div><div>&nbsp; // 3. Eşittir Tuşu (=) - Sonucu Hesapla</div><div>&nbsp; else if (tiklananTus == '=')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (islem &lt;&gt; '')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ikinciSayi = StrToFloat(displayLabel.Text);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (islem == '+') sonuc = ilkSayi + ikinciSayi;</div><div>&nbsp; &nbsp; &nbsp; else if (islem == '-') sonuc = ilkSayi - ikinciSayi;</div><div>&nbsp; &nbsp; &nbsp; else if (islem == '*') sonuc = ilkSayi * ikinciSayi;</div><div>&nbsp; &nbsp; &nbsp; else if (islem == '/')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (ikinciSayi == 0) sonuc = 0; // Sıfıra bölme hatasını engellemek için</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else sonuc = ilkSayi / ikinciSayi;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; displayLabel.Text = FloatToStr(sonuc);</div><div>&nbsp; &nbsp; &nbsp; islem = '';</div><div>&nbsp; &nbsp; &nbsp; yeniSayiMi = True; // İşlem bitti, yeni rakam girildiğinde ekranı temizle</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; // 4. Dört İşlem Tuşları (+, -, *, /)</div><div>&nbsp; else if ((tiklananTus == '+') || (tiklananTus == '-') || (tiklananTus == '*') || (tiklananTus == '/'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ilkSayi = StrToFloat(displayLabel.Text);</div><div>&nbsp; &nbsp; islem = tiklananTus;</div><div>&nbsp; &nbsp; yeniSayiMi = True;</div><div>&nbsp; }</div><div>&nbsp; // 5. Yüzde Alma İşlemi (%)</div><div>&nbsp; else if (tiklananTus == '%')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ilkSayi = StrToFloat(displayLabel.Text);</div><div>&nbsp; &nbsp; sonuc = ilkSayi / 100;</div><div>&nbsp; &nbsp; displayLabel.Text = FloatToStr(sonuc);</div><div>&nbsp; &nbsp; yeniSayiMi = True;</div><div>&nbsp; }</div><div>&nbsp; // 6. Rakamlar ve Nokta</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (yeniSayiMi || (displayLabel.Text == '0'))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; displayLabel.Text = tiklananTus;</div><div>&nbsp; &nbsp; &nbsp; yeniSayiMi = False;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; displayLabel.Text = displayLabel.Text + tiklananTus;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void setLabel;</div><div>{</div><div>&nbsp; titleLabel = hesapForm.AddNewProLabel(hesapForm,'titleLabel','My First Hesap Makinesi');</div><div>&nbsp; titleLabel.Align = alTop;</div><div>&nbsp; titleLabel.Height = 70;</div><div>&nbsp;&nbsp;</div><div>&nbsp; titleLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#f5428d');</div><div>&nbsp; titleLabel.clProSettings.FontSize = 40;</div><div>&nbsp; titleLabel.clProSettings.FontVertAlign = palcenter;</div><div>&nbsp; titleLabel.clProSettings.FontHorzAlign = palCenter;</div><div>&nbsp; titleLabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; titleLabel.SetclProSettings(titleLabel.clProSettings);</div><div>}</div><div><br></div><div>void setPanel;</div><div>{</div><div>&nbsp; hesapPanel = hesapForm.AddNewProPanel(hesapForm,'hesapPanel');</div><div>&nbsp; hesapPanel.Align = alCenter;&nbsp;</div><div>&nbsp; hesapPanel.Width = 460;</div><div>&nbsp; hesapPanel.Height = 420;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; hesapPanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#46484e');</div><div>&nbsp; hesapPanel.clProSettings.BorderWidth = 2;</div><div>&nbsp; hesapPanel.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; hesapPanel.clProSettings.IsRound = True;</div><div>&nbsp; hesapPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#080c16');</div><div>&nbsp; hesapPanel.SetclProSettings(hesapPanel.clProSettings);</div><div>}</div><div><br></div><div>void setDisplay;</div><div>{</div><div>&nbsp; displayLabel = hesapForm.AddNewProLabel(hesapPanel,'displayLabel','0');</div><div>&nbsp; displayLabel.Align = alTop;</div><div>&nbsp; displayLabel.Height = 70;</div><div>&nbsp; displayLabel.Margins.Top = 15;</div><div>&nbsp; displayLabel.Margins.Left = 15;</div><div>&nbsp; displayLabel.Margins.Right = 15;</div><div>&nbsp;&nbsp;</div><div>&nbsp; displayLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff');</div><div>&nbsp; displayLabel.clProSettings.FontSize = 36;</div><div>&nbsp; displayLabel.clProSettings.FontVertAlign = palCenter;</div><div>&nbsp; displayLabel.clProSettings.FontHorzAlign = palTrailing;&nbsp;</div><div>&nbsp; displayLabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; displayLabel.clProSettings.IsFill = True;</div><div>&nbsp; displayLabel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#101d2d');</div><div>&nbsp; displayLabel.clProSettings.IsRound = True;</div><div>&nbsp; displayLabel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#f5428d');</div><div>&nbsp; displayLabel.clProSettings.BorderWidth = 2;</div><div>&nbsp; displayLabel.SetclProSettings(displayLabel.clProSettings);</div><div>}</div><div><br></div><div>void setButtons;</div><div>{</div><div>&nbsp; buttons&#091;0&#093; = 'C'; &nbsp;buttons&#091;1&#093; = '%'; &nbsp;buttons&#091;2&#093; = '&#9003;'; buttons&#091;3&#093; = '/';</div><div>&nbsp; buttons&#091;4&#093; = '7'; &nbsp;buttons&#091;5&#093; = '8'; &nbsp;buttons&#091;6&#093; = '9'; &nbsp;buttons&#091;7&#093; = '*';</div><div>&nbsp; buttons&#091;8&#093; = '4'; &nbsp;buttons&#091;9&#093; = '5'; &nbsp;buttons&#091;10&#093; = '6'; buttons&#091;11&#093; = '-';</div><div>&nbsp; buttons&#091;12&#093; = '1'; buttons&#091;13&#093; = '2'; buttons&#091;14&#093; = '3'; buttons&#091;15&#093; = '+';</div><div>&nbsp; buttons&#091;16&#093; = '0'; buttons&#091;17&#093; = '.'; buttons&#091;18&#093; = '='; buttons&#091;19&#093; = '';</div><div>}</div><div><br></div><div>void createButtonUI;</div><div>{</div><div>&nbsp; for (i = 0 to 19)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; col = i mod 4;&nbsp;</div><div>&nbsp; &nbsp; row = i div 4;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; btn = hesapForm.AddNewProButton(hesapPanel, 'btn'+IntToStr(i), buttons<em>);</div><div>&nbsp; &nbsp; btn.Align = alNone;&nbsp;</div><div>&nbsp; &nbsp; btn.Width = 100;</div><div>&nbsp; &nbsp; btn.Height = 55;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; btn.Position.X = (col * 110) + 15;&nbsp;</div><div>&nbsp; &nbsp; btn.Position.Y = (row * 60) + 105;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; btn.clProSettings.IsRound = True;</div><div>&nbsp; &nbsp; btn.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; &nbsp; btn.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#101d2d');&nbsp;</div><div>&nbsp; &nbsp; btn.clProSettings.BorderColor = clAlphaColor.clHexToColor('#f5428d');</div><div>&nbsp; &nbsp; btn.clProSettings.BorderWidth = 2;</div><div>&nbsp; &nbsp; btn.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff');&nbsp;</div><div>&nbsp; &nbsp; btn.clProSettings.FontSize = 22;</div><div>&nbsp; &nbsp; btn.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; &nbsp; btn.SetclProSettings(btn.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; // YENİ EKLENEN KISIM: Tuşları ButtonClick fonksiyonuna bağlıyoruz</div><div>&nbsp; &nbsp; hesapForm.AddNewEvent(btn, tbeOnClick, 'ButtonClick');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; hesapForm = TCLForm.Create(Self);</div><div>&nbsp; hesapForm.SetFormColor('#101d2d','',clGNone);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Uygulama ilk açıldığında rakam girilmesini beklesin diye True yapıyoruz</div><div>&nbsp; yeniSayiMi = True;&nbsp;</div><div>&nbsp; ilkSayi = 0;</div><div>&nbsp; islem = '';</div><div>&nbsp;&nbsp;</div><div>&nbsp; setLabel;</div><div>&nbsp; setPanel;</div><div>&nbsp; setDisplay;&nbsp;</div><div>&nbsp; setButtons;&nbsp;</div><div>&nbsp; createButtonUI;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; hesapForm.Run;</div><div>}. iyi çalışmalar dilerim&nbsp;</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Tue, 07 Jul 2026 16:12:39 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1600&amp;PID=3697#3697</guid>
  </item> 
  <item>
   <title><![CDATA[syntax error satir 6 : varhesapForm : TclForm;titleLabel:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1600&amp;PID=3696#3696</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=476">Barthe_dev</a><br /><strong>Konu:</strong> 1600<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Temmuz&nbsp;2026 Saat 15:38<br /><br /><div>var</div><div>hesapForm : TclForm;</div><div>titleLabel: TClProLabel;</div><div>hesapPanel : TclProPanel;</div><div>buttons: array&#091;20&#093; of string;</div><div>buttons : {</div><div>&nbsp; &nbsp; "C", "%", "&#9003;", "/",</div><div>&nbsp; &nbsp; "7", "8", "9", "*",</div><div>&nbsp; &nbsp; "4", "5", "6", "-",</div><div>&nbsp; &nbsp; "1", "2", "3", "+",</div><div>&nbsp; &nbsp; "0", ".", "=", ""</div><div>&nbsp; };</div><div><br></div><div>void setLabel;</div><div>{</div><div>&nbsp; titleLabel = hesapForm.AddNewProLabel(hesapForm,'titleLabel','My First Hesap Makinesi');</div><div>&nbsp; titleLabel.Align = alTop;</div><div>&nbsp; titleLabel.Width = 150;</div><div>&nbsp; titleLabel.Height = 70;</div><div>&nbsp; titleLabel.Margins.Left=120;</div><div>&nbsp;&nbsp;</div><div>&nbsp; titleLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#f5428d');</div><div>&nbsp; titleLabel.clProSettings.FontSize = 40;</div><div>&nbsp; titleLabel.clProSettings.FontVertAlign = palcenter;</div><div>&nbsp; titleLabel.clProSettings.FontHorzAlign = palLeading;</div><div>&nbsp; titleLabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;;</div><div>&nbsp; titleLabel.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; titleLabel.clProSettings.IsRound = True;</div><div>&nbsp; titleLabel.SetclProSettings(titleLabel.clProSettings);</div><div>}</div><div>void setPanel{</div><div>&nbsp; hesapPanel=hesapForm.AddNewProPanel(hesapForm,'hesapPanel');</div><div>&nbsp; hesapPanel.Width = 500;</div><div>&nbsp; hesapPanel.Height = 400;</div><div>&nbsp; hesapPanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#46484e');</div><div>&nbsp; hesapPanel.clProSettings.BorderWidth = 2;</div><div>&nbsp; hesapPanel.clProSettings.IsFill = True;&nbsp;</div><div>&nbsp; hesapPanel.clProSettings.IsRound = True;</div><div>&nbsp; hesapPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#080c16')</div><div>&nbsp; hesapPanel.SetclProSettings(hesapPanel.clProSettings);</div><div>}</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>{</div><div>&nbsp; hesapForm = TCLForm.Create(Self);</div><div>&nbsp; hesapForm.SetFormColor('#101d2d','',clGNone);</div><div>&nbsp; setLabel;</div><div>&nbsp; setPanel;</div><div>&nbsp; hesapForm.Run;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Tue, 07 Jul 2026 15:38:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1600&amp;PID=3696#3696</guid>
  </item> 
 </channel>
</rss>