<?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 - repeat</title>
 <link>http://www.m2osw.com/taxonomy/term/738/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_ncedg61&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_ncedg61&quot;&gt;1&lt;/a&gt;

&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_ncedg61&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_ncedg61&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>Insert Node Usage</title>
 <link>http://www.m2osw.com/doc-insert-node-usage</link>
 <description>&lt;h3&gt;Syntax&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Insert node&lt;/strong&gt; tag syntax is:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   [&lt;span&gt;node:&lt;/span&gt;&amp;lt;name of node&amp;gt; &amp;lt;parameters&amp;gt;]&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;Name of node&lt;/h3&gt;
&lt;p&gt;The &lt;span style=&quot;font-family: Courier New;&quot;&gt;&amp;lt;name of node&amp;gt;&lt;/span&gt; can either be&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;The name of the node, i.e. it&#039;s URL without the protocol and domain&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref1_t41o009&quot; title=&quot;For instance, to insert this very node, I would use the name doc_insert_node_usage.&quot; href=&quot;#footnote1_t41o009&quot;&gt;1&lt;/a&gt;, or&lt;/li&gt;
    &lt;li&gt;The node identifier (the number you see in your URL when you edit the node), or&lt;/li&gt;
    &lt;li&gt;An asterisk (*) in which case the current node applies&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref2_siory46&quot; title=&quot;The asterisk is useful to repeat something from the node in a block. This could be the title of the node or a CCK field. I would suggest ...&quot; href=&quot;#footnote2_siory46&quot;&gt;2&lt;/a&gt;

&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_t41o009&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_t41o009&quot;&gt;1.&lt;/a&gt; For instance, to insert this very node, I would use the name &lt;em&gt;doc_insert_node_usage&lt;/em&gt;.&lt;/li&gt;
&lt;li class=&quot;footnote&quot; id=&quot;footnote2_siory46&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref2_siory46&quot;&gt;2.&lt;/a&gt; The asterisk is useful to repeat something from the node in a block. This could be the title of the node or a CCK field. I would suggest ...&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/doc-insert-node-usage&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/doc-insert-node-usage#comments</comments>
 <pubDate>Sun, 31 Jan 2010 07:44:38 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">438 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Upgrading from version 1.0/1.1 to 1.2 or newer (or -dev) for Drupal 6.x users</title>
 <link>http://www.m2osw.com/doc-insert-node-upgrading</link>
 <description>&lt;p&gt;I changed the name of the module back to InsertNode (although I did not want to, I did not want to jeopardize the Drupal 5 version... which would probably have been fine, but well...)&lt;/p&gt;
&lt;p&gt;So, the newer version of the D6 module is again called InsertNode.&lt;/p&gt;
&lt;p&gt;To upgrade you will want to keep the other version running until you get the new version as the replacement (although you can manage your site the way you&#039;d like this procedure let you switch from the previous version to the new version without having to turn off your site for a little while.)&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Extract the new version, it adds InsertNode ...&lt;/ol&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/doc-insert-node-upgrading&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/doc-insert-node-upgrading#comments</comments>
 <pubDate>Sun, 31 Jan 2010 06:01:07 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">436 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Appendix A — The geometry in SWF — Edges</title>
 <link>http://www.m2osw.com/swf_appendix_a_edges</link>
 <description>&lt;p&gt;Edges are used to define a shape vector based and also coordinates       where images need to be drawn. The edges are always coordinates       from where ever your last point was to where ever you want the       next point to be (a little like a turtle in LOGO).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_appendix_a_edges&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_appendix_a_edges#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <pubDate>Sun, 13 Dec 2009 08:02:03 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">259 at http://www.m2osw.com</guid>
</item>
<item>
 <title>SWF Any Filter (swf_any_filter)</title>
 <link>http://www.m2osw.com/swf_struct_any_filter</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-structure&quot;&gt;&lt;legend&gt;SWF Structure Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    8        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-structure&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;SWF Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;pre&gt;&lt;a name=&quot;swf_filter_type&quot;&gt;&lt;font color=&quot;green&quot;&gt;/* the filter type */&lt;/font&gt;&lt;/a&gt;
struct swf_filter_type {
	unsigned char	f_type;
};

struct swf_filter_glow {
	swf_filter_type	f_type;		&lt;font color=&quot;green&quot;&gt;/* 0, 2, 3, 4 or 7 */&lt;/font&gt;
	if(f_type == GradientGlow || f_type == GradientBevel) {
		unsigned char		f_count;
	}
	else {
		f_count = 1;
	}
	&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;		f_rgba[f_count];
	if(f_type == Bevel) {
		&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;		f_highlight_rgba[f_count];
	}
	if(f_type == GradientGlow || f_type == GradientBevel) {
		unsigned char		f_position[f_count];
	}
	signed long fixed	f_blur_horizontal;
	signed long fixed	f_blur_vertical;
	if(f_type != Glow) {
		signed long fixed	f_radian_angle;
		signed long fixed	f_distance;
	}
	signed short fixed	f_strength;
	unsigned		f_inner_shadow : 1;
	unsigned		f_knock_out : 1;
	unsigned		f_composite_source : 1;
	if(f_type == Bevel) {
		unsigned		f_on_top : 1;
	}
	else {
		unsigned		f_reserved : 1;
	}
	if(f_type == GradientGlow || f_type == GradientBevel) {
		unsigned		f_passes : 4;
	}
	else {
		unsigned		f_reserved : 4;
	}
};

struct swf_filter_blur {
	swf_filter_type		f_type;	&lt;font color=&quot;green&quot;&gt;/* 1 */&lt;/font&gt;
	unsigned long fixed	f_blur_horizontal;
	unsigned long fixed	f_blur_vertical;
	unsigned		f_passes : 5;
	unsigned		f_reserved : 3;
};

struct swf_filter_convolution {
	swf_filter_type	f_type;		&lt;font color=&quot;green&quot;&gt;/* 5 */&lt;/font&gt;
	unsigned char	f_columns;
	unsigned char	f_rows;
	long float	f_divisor;
	long float	f_bias;
	long float	f_weights[f_columns &amp;times; f_rows];
	&lt;a href=&quot;/swf_struct_rgba&quot;&gt;swf_rgba&lt;/a&gt;	f_default_color;
	unsigned	f_reserved : 6;
	unsigned	f_clamp : 1;
	unsigned	f_preserve_alpha : 1;
};

struct swf_filter_colormatrix {
	swf_filter_type	f_type;		&lt;font color=&quot;green&quot;&gt;/* 6 */&lt;/font&gt;
	long float	f_matrix[20];
};

struct swf_any_filter {
	&lt;a href=&quot;#swf_filter_type&quot;&gt;swf_filter_type&lt;/a&gt;			f_fitler_type;
	&lt;a href=&quot;#swf_filter_blur&quot;&gt;swf_filter_blur&lt;/a&gt;			f_filter_blur;
	&lt;a href=&quot;#swf_filter_colormatrix&quot;&gt;swf_filter_colormatrix&lt;/a&gt;		f_filter_colormatrix;
	&lt;a href=&quot;#swf_filter_convolution&quot;&gt;swf_filter_convolution&lt;/a&gt;		f_filter_convolution;
	&lt;a href=&quot;#swf_filter_glow&quot;&gt;swf_filter_glow&lt;/a&gt;			f_filter_glow;
};
&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;A filter defines how to transform the objects it is attached to. The first byte is the filter type. The data following depend on the type. Because each filter is much different, they are defined in separate structures. You can attach a filter to an object using an ActionScript or the &lt;a class=&quot;swf_tagname&quot; href=&quot;/swf_tag_placeobject3&quot;&gt;&lt;strong&gt;PlaceObject3&lt;/strong&gt;&lt;/a&gt; tag.&lt;/p&gt;
&lt;p&gt;The following describes the different filters available since version 8.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_struct_any_filter&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_struct_any_filter#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/578">Display</category>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <category domain="http://www.m2osw.com/taxonomy/term/662">PlaceObject3</category>
 <pubDate>Sun, 13 Dec 2009 04:32:03 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">242 at http://www.m2osw.com</guid>
</item>
<item>
 <title>SWF Gradient (swf_gradient)</title>
 <link>http://www.m2osw.com/swf_struct_gradient</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-structure&quot;&gt;&lt;legend&gt;SWF Structure Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    3        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-structure&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;SWF Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;pre&gt;
struct swf_gradient {
	if(tag == &lt;a href=&quot;/swf_tag_defineshape4&quot;&gt;DefineShape4&lt;/a&gt;) {
		unsigned		f_spread_mode : 2;
		unsigned		f_interpolation_mode : 2;
		unsigned		f_count : 4;
	}
	else {
		unsigned		f_pad : 4;
		unsigned		f_count : 4;
	}
	&lt;a href=&quot;/swf_struct_gradient_record&quot;&gt;swf_gradient_record&lt;/a&gt;	f_gradient_record[f_count];
	&lt;font color=&quot;green&quot;&gt;/* &lt;i&gt;f_type&lt;/i&gt; is defined in the &lt;a href=&quot;/swf_struct_fill_style&quot;&gt;swf_fill_style&lt;/a&gt; encompassing this gradient */&lt;/font&gt;
	if(f_type == 0x13) {
		signed short fixed	f_focal_point;
	}
};&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;This structure defines a gradient. This is a set of colors which are   used to define an image with colors smoothly varying from one color to   the next. The gradient can be radial (circular) or linear (rectangular).&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;f_count&lt;/code&gt; field is limited depending on the tag used and the   version of SWF as defined below:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_struct_gradient&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_struct_gradient#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/577">Define</category>
 <category domain="http://www.m2osw.com/taxonomy/term/583">DefineShape</category>
 <category domain="http://www.m2osw.com/taxonomy/term/605">DefineShape2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/618">DefineShape3</category>
 <category domain="http://www.m2osw.com/taxonomy/term/676">DefineShape4</category>
 <pubDate>Sun, 13 Dec 2009 02:32:10 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">239 at http://www.m2osw.com</guid>
</item>
<item>
 <title>Trinity℠</title>
 <link>http://www.m2osw.com/trinity</link>
 <description>&lt;h2&gt;Trinity℠ &amp;mdash; 3-In-1 Credit Card Processing&lt;/h2&gt;
&lt;p&gt;&lt;img border=&quot;0&quot; width=&quot;131&quot; height=&quot;144&quot; title=&quot;The Trinity Logo, a box presenting the product&quot; style=&quot;float: left; padding-right: 10px; padding-bottom: 10px;&quot; src=&quot;https://secure.m2osw.com/images/logo-trinity.png&quot; alt=&quot;Trinity 3-In-1 Credit Card Processing&quot; /&gt; 	Trinity is a credit card processing software available over the 	Internet and phone anywhere in the world&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref1_tugynqg&quot; title=&quot;Note that the system is accessible from anywhere in the world. 			However, at this time, you need to have a legally registered company 			in the USA.&quot; href=&quot;#footnote1_tugynqg&quot;&gt;1&lt;/a&gt;.

&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_tugynqg&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_tugynqg&quot;&gt;1.&lt;/a&gt; Note that the system is accessible from anywhere in the world. 			However, at this time, you need to have a legally registered company 			in the USA.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/trinity&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 06 Oct 2009 05:07:22 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">126 at http://www.m2osw.com</guid>
</item>
<item>
 <title>How to create a theme for Drupal</title>
 <link>http://www.m2osw.com/theme_how_to_design</link>
 <description>&lt;p&gt;This page explains how a graphics person can work with us to create a web design that will immediately work with Drupal 6.x and Drupal 7.x.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/theme_how_to_design&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/theme_how_to_design#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/377">Advanced</category>
 <pubDate>Tue, 02 Jun 2009 22:38:44 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">45 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>


