<?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 : if döngüsünde kontrol etme</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : if döngüsünde kontrol etme]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:54:23 +0000</pubDate>
  <lastBuildDate>Fri, 07 Nov 2025 17:34:01 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1217</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[if döngüsünde kontrol etme : Sizin kodunuzla beraber kontolu...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2650#2650</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 17:34<br /><br />Sizin kodunuzla beraber kontolu doğru şekilde yapabildim teşekkürler.<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Fri, 07 Nov 2025 17:34:01 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2650#2650</guid>
  </item> 
  <item>
   <title><![CDATA[if döngüsünde kontrol etme : Hay&#305;r e&#287;er ki iki yetkiye de sahipse...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2649#2649</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 17:31<br /><br />Hayır eğer ki iki yetkiye de sahipse yönlendirebiliyorum fakat tek bir yetkiye sahipse herhangi bir şekilde yönlendirme yapamıyorum.<br><br>Fakat eğer ki sadece birine sahipse problem olmuyor.]]>
   </description>
   <pubDate>Fri, 07 Nov 2025 17:31:10 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2649#2649</guid>
  </item> 
  <item>
   <title><![CDATA[if döngüsünde kontrol etme : if((Clomosy.CLParseJSON(FJson,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2647#2647</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 16:32<br /><br /><div style=": rgb251, 251, 253;">&nbsp;&nbsp;if((Clomosy.CLParseJSON(FJson, IntToStr(I) + '.'+ FArrayItem) &lt;&gt; '') || (Clomosy.CLParseJSON(FJson, IntToStr(I) + '.'+ FArrayItem) &lt;&gt; nil))</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;{</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; IsValid = true</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp;}&nbsp;<br><br>burada ki kontrolün her zaman true dönüyor mu?&nbsp;<br><br><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Fri, 07 Nov 2025 16:32:13 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2647#2647</guid>
  </item> 
  <item>
   <title><![CDATA[if döngüsünde kontrol etme : G&#252;ney tespit etti&#287;im problemler;Result...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2646#2646</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 16:29<br /><br />Güney tespit ettiğim problemler;<br><div>Result başlangıçta False olarak ayarlanmamış</div><div>&nbsp;Döngü içinde Exit komutu yok , bu yüzden gereksiz yere tüm döngüyü dolaşıyor</div><div>&nbsp;|| yerine &amp;&amp; kullanman&nbsp;<br><br><div>function IsArrayContain(FArr: TCLJSONArray; FJson: String; FArrayItem: String; FLookingStr: String): Boolean</div><div>var</div><div>&nbsp; I: Integer;</div><div>&nbsp; currentValue: String;</div><div>{</div><div>&nbsp; Result = False;</div><div>&nbsp;&nbsp;</div><div>&nbsp; Try</div><div>&nbsp; &nbsp; if (FArr == nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; &nbsp; Exit;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (FJson == '')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; &nbsp; Exit;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; for (I = 0 to (FArr.Count - 1))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; currentValue = Clomosy.CLParseJSON(FJson, IntToStr(I) + '.' + FArrayItem);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (currentValue == FLookingStr)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Result = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Exit;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; }</div><div>}</div><div><br></div><div><br></div><div>void GetUserPrivilegesCompletedV</div><div>var</div><div>&nbsp; jsonResponse: String;</div><div>&nbsp; Arr: TCLJSONArray;</div><div>&nbsp; I: Integer;</div><div>&nbsp; hasViewOrders: Boolean;</div><div>&nbsp; hasTakePayment: Boolean;</div><div>{</div><div>&nbsp; Try</div><div>&nbsp; &nbsp; jsonResponse = TCRest.Response;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage('Privileges JSON: ' + jsonResponse);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Arr = TCLJSONArray.Create;</div><div>&nbsp; &nbsp; Arr = TCLJSONArray.CreateFromJSON(jsonResponse);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (jsonResponse == '')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Yetkiler listesi boş herhangi bir yetki yok.');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; hasViewOrders = Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS');</div><div>&nbsp; &nbsp; &nbsp; hasTakePayment = Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'TAKE_PAYMENT');</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; ShowMessage(hasViewOrders); // debug&nbsp;</div><div>&nbsp; &nbsp; &nbsp; ShowMessage(hasTakePayment);&nbsp; // debug</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (hasViewOrders &amp;&amp; hasTakePayment)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('SelectRoleV');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if (hasViewOrders)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uWaiterAndChefDetails');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if (hasTakePayment)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('&#8594; uCashierDetails sayfasına yönlendiriliyor');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uCashierDetails');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Uyarı: Hiçbir yetki bulunamadı!');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (Arr &lt;&gt; nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Arr.Free;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Arr = nil;</div><div>&nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception Class: ' + LastExceptionClassName + ' Exception Message: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}&nbsp;<br><br>kodunla karşılaştırıp bakabilir misin&nbsp;</div></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Fri, 07 Nov 2025 16:29:39 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2646#2646</guid>
  </item> 
  <item>
   <title><![CDATA[if döngüsünde kontrol etme : Kodun bulundgu&#287;u k&#305;s&#305;mvoid GetUserPrivilegesCompletedVvar...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2642#2642</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 15:34<br /><br /><div>Kodun bulundguğu kısım<br><br><br></div><div>void GetUserPrivilegesCompletedV</div><div>var</div><div>&nbsp; jsonResponse: String;</div><div>&nbsp; Arr : TCLJSONArray;</div><div>&nbsp; I: Integer;</div><div>{</div><div>&nbsp; jsonResponse = TCRest.Response</div><div>&nbsp; ShowMessage(jsonResponse);</div><div>&nbsp; Arr = TCLJSONArray.Create;</div><div><span style="white-space: normal;"><span style="white-space:pre">	</span>Arr = TCLJSONArray.CreateFromJSON(jsonResponse);</span></div><div>&nbsp; if(jsonResponse == ''){</div><div>&nbsp; &nbsp; ShowMessage('Yetkiler listesi boş herhangi bir yetki yok.')</div><div>&nbsp; }else{</div><div>&nbsp; &nbsp; //ShowMessage('Privileges output: '+ jsonResponse);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if((Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS')) &amp;&amp; (Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'TAKE_PAYMENT')))</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('SelectRoleV');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if(Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS')){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage(TClProButton(MainForm.Clsender).clTagStr);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uWaiterAndChefDetails');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //uWaiterAndChefDetails.SetTitleV();</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if(Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'TAKE_PAYMENT')){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uCashierDetails');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; /*</div><div>&nbsp; &nbsp; for (I=0 to Arr.Count -1)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; if(Clomosy.CLParseJSON(FJson, IntToStr(I) + '.privilege_name') == 'VIEW_ORDERS'){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if(Clomosy.CLParseJSON(FJson, IntToStr(I) + '.privilege_name') == 'TAKE_PAYMENT'){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('SelectRoleV');}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uWaiterAndChefDetails');}</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if(Clomosy.CLParseJSON(FJson, IntToStr(I) + '.privilege_name') == 'TAKE_PAYMENT'){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if(Clomosy.CLParseJSON(FJson, IntToStr(I) + '.privilege_name') == 'VIEW_ORDERS'){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('SelectRoleV');}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uCashierDetails');}</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>*/</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>}<br><br>Maindeki fonksiyonum&nbsp;<br><br><div>function IsArrayContain(FArr : TCLJSONArray; FJson, FArrayItem, FLookingStr : String): Boolean;</div><div>&nbsp; var&nbsp;</div><div>&nbsp; &nbsp; I : Integer;</div><div>&nbsp; &nbsp; IsValid : Boolean;</div><div>&nbsp; {</div><div>&nbsp; &nbsp;if((Clomosy.CLParseJSON(FJson, IntToStr(I) + '.'+ FArrayItem) &lt;&gt; '') || (Clomosy.CLParseJSON(FJson, IntToStr(I) + '.'+ FArrayItem) &lt;&gt; nil))</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; IsValid = true</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;if(IsValid){</div><div>&nbsp; &nbsp; &nbsp;for(I=0 to FArr.Count-1)&nbsp;</div><div>&nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if(Clomosy.CLParseJSON(FJson, IntToStr(I) + '.'+ FArrayItem) == FLookingStr)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Result = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }else Result = False;</div><div>}<br><br></div><br><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Fri, 07 Nov 2025 15:34:57 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2642#2642</guid>
  </item> 
  <item>
   <title><![CDATA[if döngüsünde kontrol etme : void CheckPrivilegesvar hasViewOrders:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2641#2641</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 14:39<br /><br /><div>void CheckPrivileges</div><div>var</div><div>&nbsp; hasViewOrders: Boolean;</div><div>&nbsp; hasTakePayment: Boolean;</div><div>{</div><div>&nbsp; Try</div><div>&nbsp; &nbsp; ShowMessage('Privileges output: ' + jsonResponse);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; hasViewOrders = Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS');</div><div>&nbsp; &nbsp; hasTakePayment = Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'TAKE_PAYMENT');</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (hasViewOrders &amp;&amp; hasTakePayment)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Clomosy.RunUnit('SelectRoleV');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else if (hasViewOrders)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uWaiter&amp;ChefDetails');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else if (hasTakePayment)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uCashierDetails');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Hiçbir yetki bulunamadı');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}&nbsp;<br><br>inceleyip dener misin</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Fri, 07 Nov 2025 14:39:47 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2641#2641</guid>
  </item> 
  <item>
   <title><![CDATA[if döngüsünde kontrol etme : Kodun bir &#246;nce ki ve kalan k&#305;sm&#305;n&#305;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2640#2640</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 14:34<br /><br />Kodun bir önce ki ve kalan kısmını da paylaşabilir misin?<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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"><div><br></div>]]>
   </description>
   <pubDate>Fri, 07 Nov 2025 14:34:49 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2640#2640</guid>
  </item> 
  <item>
   <title><![CDATA[if döngüsünde kontrol etme : Merhaba G&#252;ney,Muhtemel hata,Boolean...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2639#2639</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 14:27<br /><br />Merhaba Güney,<br>Muhtemel hata,<br>Boolean döndürmüyor,&nbsp;<br>else if koşullarını yanlış değerlendiriyor olabilir ya da JSON parsing hatası olabilir.&nbsp;<br><br><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Fri, 07 Nov 2025 14:27:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2639#2639</guid>
  </item> 
  <item>
   <title><![CDATA[if döngüsünde kontrol etme : IsArrayContain fonksiyonum bana...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2637#2637</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1217<br /><strong>Gönderim Zamanı:</strong> 07&nbsp;Kasım&nbsp;2025 Saat 11:46<br /><br /><div><br>IsArrayContain fonksiyonum bana boolean bir değer döndürüyor eğer ki benim iki yetkim de olursa sorunsuzca istiefğim sayfaya yönelendiriyor fakat eğer ki benim bu yetkilerden birine sahipsem yönlendirme yapmıyor.<br><br></div><div><br></div><div>&nbsp; &nbsp; ShowMessage('Privileges output: '+ jsonResponse);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if((Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS')) &amp;&amp; (Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'TAKE_PAYMENT')))</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('SelectRoleV');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if(Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'VIEW_ORDERS')){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uWaiter&amp;ChefDetails');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else if(Main.IsArrayContain(Arr, jsonResponse, 'privilege_name', 'TAKE_PAYMENT')){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('uCashierDetails');</div><div>&nbsp; &nbsp; &nbsp; }</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Fri, 07 Nov 2025 11:46:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1217&amp;PID=2637#2637</guid>
  </item> 
 </channel>
</rss>