<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.m2osw.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Made to Order Software Corporation - macro</title>
 <link>http://www.m2osw.com/taxonomy/term/393/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>Insert Node Parameter: repeat (6-1.2) [no content]</title>
 <link>http://www.m2osw.com/doc-insert-node-parameter-repeat</link>
 <description>&lt;p&gt;The repeat keyword is used to repeat the filtering on the data just inserted. This is particularly useful with the asterisk name or on nodes that do not otherwise include a format that transforms the tags included in themselves.&lt;/p&gt;
&lt;p&gt;This let you create nodes that are &lt;span class=&quot;insert-node insert-node1 insert-nid464&quot;&gt;&lt;span class=&quot;insert-node-link&quot;&gt;&lt;a href=&quot;/doc-insert-node-macro&quot;&gt;like macros&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Note that the macro can itself include a repeat in one of its Insert Node tags.&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref1_lqh04tk&quot; title=&quot;As far as I can tell, this will not create recursive calls, however, if you have a problem with a macro using repeat, try to remove the keyword to see if that solves the problem. If so, let me know by&quot; href=&quot;#footnote1_lqh04tk&quot;&gt;1&lt;/a&gt;

&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_lqh04tk&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_lqh04tk&quot;&gt;1.&lt;/a&gt; As far as I can tell, this will not create recursive calls, however, if you have a problem with a macro using repeat, try to remove the keyword to see if that solves the problem. If so, let me know by&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/doc-insert-node-parameter-repeat&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/doc-insert-node-parameter-repeat#comments</comments>
 <pubDate>Mon, 22 Feb 2010 07:53:25 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">465 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Insert Nodes used as a macro (6.x-1.2)</title>
 <link>http://www.m2osw.com/doc-insert-node-macro</link>
 <description>&lt;p&gt;This module can be used to create macros (as pointed out by one of our user in a &lt;a href=&quot;http://drupal.org/node/547392&quot; target=&quot;_blank&quot; title=&quot;Click here to read the original message about the use of Insert Node as a macro.&quot;&gt;Drupal issue&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;The following steps show you how you can create a macro with the Insert Node module.&lt;/p&gt;
&lt;h3&gt;Create the Macro&lt;/h3&gt;
&lt;p&gt;First, create a node that is to become the macro. We will call this node &lt;span style=&quot;font-family: Courier New;&quot;&gt;macro&lt;/span&gt;. It is used without the Insert Node filter so the Insert Node tags do not get changed. This is important since we reference the main node (with the asterisk) and that reference would look like a recursive reference.&lt;/p&gt;
&lt;p&gt;One idea is to use the macro as a PayPal button which gets set with parameters from another node. This

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/doc-insert-node-macro&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/doc-insert-node-macro#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <pubDate>Mon, 22 Feb 2010 07:19:24 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">464 at http://www.m2osw.com</guid>
</item>
<item>
 <title>The assert() macro in C/C++ </title>
 <link>http://www.m2osw.com/assert_macro_in_cplusplus</link>
 <description>&lt;p&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;p&gt;This is a subject that comes back all the time in C/&lt;abbr class=&quot;mo-glossary mo-glossary-abbr&quot;  title=&quot;Object Oriented C&quot; lang=&quot;en&quot;&gt;C++&lt;/abbr&gt; boards.&lt;/p&gt;
&lt;p&gt;Should you use assertions?&lt;/p&gt;
&lt;p&gt;The answer is clearly yes. But the C/C++ assert() function is usually defined using a macro. Macros have several problems. The most common ones are: they offer no type checking, they do not warn you about weird side effects, they have a different syntax than the C/C++ language itself.&lt;/p&gt;
&lt;p&gt;One good thing: for a fast program, the debug code used to check parameters, results, etc. is gone.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/assert_macro_in_cplusplus&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/assert_macro_in_cplusplus#comments</comments>
 <pubDate>Sat, 27 Oct 2007 05:06:00 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">88 at http://www.m2osw.com</guid>
</item>
</channel>
</rss>


