{"id":868,"date":"2020-10-04T18:54:45","date_gmt":"2020-10-04T16:54:45","guid":{"rendered":"https:\/\/www.kassebaum.eu\/?p=868"},"modified":"2020-10-04T18:54:45","modified_gmt":"2020-10-04T16:54:45","slug":"did-you-know-6","status":"publish","type":"post","link":"https:\/\/www.kassebaum.eu\/blog\/2020\/10\/04\/did-you-know-6\/","title":{"rendered":"Did you know&#8230;?"},"content":{"rendered":"<p>Did you know that TMS Web Core supports record helpers for intrinsic types? They are located in the unit WEBLib.Utils and are compatible to the Delphi record helpers but support further methods like e.g.<\/p>\n<pre class=\"lang:delphi decode:true \">if lString.NotIsEmpty then\r\nbegin\r\n  ...\r\nend;<\/pre>\n<p>This is more comfortable and object-oriented than the classic way and it also doesn&#8217;t need brackets like here:<\/p>\n<pre class=\"lang:delphi decode:true\">if lVeryLongStatement and (not lString.IsEmpty) then\r\nbegin\r\n  ...\r\nend;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Did you know that TMS Web Core supports record helpers for intrinsic types? They are located in the unit WEBLib.Utils and are compatible to the Delphi record helpers but support further methods like e.g. if lString.NotIsEmpty then begin &#8230; end; &hellip; <a href=\"https:\/\/www.kassebaum.eu\/blog\/2020\/10\/04\/did-you-know-6\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,32,34,35,38,39,23,27,4,3,36,37],"tags":[],"class_list":["post-868","post","type-post","status-publish","format-standard","hentry","category-delphi","category-rad-studio-10-seattle","category-rad-studio-10-1-berlin","category-rad-studio-10-2-tokyo","category-rad-studio-10-3-rio","category-rad-studio-10-4-sydney","category-rad-studio-xe7","category-rad-studio-xe8","category-thirdpartycomponents","category-tipsandtricks","category-tms-software","category-tms-web-core"],"_links":{"self":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts\/868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/comments?post=868"}],"version-history":[{"count":1,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts\/868\/revisions"}],"predecessor-version":[{"id":869,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts\/868\/revisions\/869"}],"wp:attachment":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/media?parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/categories?post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/tags?post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}