home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / scrptmng.hqx / Script Utilities demo / cards.xml < prev    next >
Encoding:
Text File  |  1993-05-30  |  42.7 KB  |  1,329 lines

  1. card_2956.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2956</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>2628</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3192.css" />
  12.     <content>
  13.         <layer>background</layer>
  14.         <id>1</id>
  15.         <text>This stack demonstrates the use of a set of externals for accessing functions of the Script Manager. These functions let you transparently take account of the idiosyncrasies of character sets used by different languages, and even different writing systems.Check out the ΓÇ£DemoΓÇ¥ menu to see the various demonstrations.Note: the behaviour of these externals will normally be affected by the current font setting in the card window.This stack and the externals were written by Lawrence DΓÇÖOliveiro, Computer Services Dept, University of Waikato, Hamilton, New Zealand. You can reach me via e-mail on the Internet at ldo@waikato.ac.nz.</text>
  16.     </content>
  17.     <name>About</name>
  18.     <script></script>
  19. </card>
  20.  
  21.  
  22. card_4216.xml
  23. <?xml version="1.0" encoding="utf-8" ?>
  24. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  25. <card>
  26.     <id>4216</id>
  27.     <filler1>0</filler1>
  28.     <bitmap>BMAP_5836.pbm</bitmap>
  29.     <cantDelete> <false /> </cantDelete>
  30.     <showPict> <true /> </showPict>
  31.     <dontSearch> <false /> </dontSearch>
  32.     <owner>4030</owner>
  33.     <link rel="stylesheet" type="text/css" href="stylesheet_3192.css" />
  34.     <part>
  35.         <id>1</id>
  36.         <type>field</type>
  37.         <visible> <true /> </visible>
  38.         <dontWrap> <false /> </dontWrap>
  39.         <dontSearch> <false /> </dontSearch>
  40.         <sharedText> <false /> </sharedText>
  41.         <fixedLineHeight> <false /> </fixedLineHeight>
  42.         <autoTab> <false /> </autoTab>
  43.         <lockText> <false /> </lockText>
  44.         <rect>
  45.             <left>95</left>
  46.             <top>71</top>
  47.             <right>319</right>
  48.             <bottom>102</bottom>
  49.         </rect>
  50.         <style>scrolling</style>
  51.         <autoSelect> <false /> </autoSelect>
  52.         <showLines> <false /> </showLines>
  53.         <wideMargins> <false /> </wideMargins>
  54.         <multipleLines> <false /> </multipleLines>
  55.         <reservedFamily> 0 </reservedFamily>
  56.         <titleWidth>0</titleWidth>
  57.         <icon>0</icon>
  58.         <textAlign>left</textAlign>
  59.         <font>Helvetica</font>
  60.         <textSize>12</textSize>
  61.         <textStyle>plain</textStyle>
  62.         <textHeight>16</textHeight>
  63.         <name>Date</name>
  64.         <script>On CloseFieldParseDateEnd CloseField</script>
  65.     </part>
  66.     <part>
  67.         <id>2</id>
  68.         <type>field</type>
  69.         <visible> <true /> </visible>
  70.         <dontWrap> <false /> </dontWrap>
  71.         <dontSearch> <false /> </dontSearch>
  72.         <sharedText> <false /> </sharedText>
  73.         <fixedLineHeight> <false /> </fixedLineHeight>
  74.         <autoTab> <false /> </autoTab>
  75.         <lockText> <true /> </lockText>
  76.         <rect>
  77.             <left>34</left>
  78.             <top>73</top>
  79.             <right>86</right>
  80.             <bottom>88</bottom>
  81.         </rect>
  82.         <style>opaque</style>
  83.         <autoSelect> <false /> </autoSelect>
  84.         <showLines> <false /> </showLines>
  85.         <wideMargins> <false /> </wideMargins>
  86.         <multipleLines> <false /> </multipleLines>
  87.         <reservedFamily> 0 </reservedFamily>
  88.         <titleWidth>0</titleWidth>
  89.         <icon>0</icon>
  90.         <textAlign>right</textAlign>
  91.         <font>Helvetica</font>
  92.         <textSize>12</textSize>
  93.         <textStyle>bold</textStyle>
  94.         <textHeight>16</textHeight>
  95.         <name></name>
  96.         <script></script>
  97.     </part>
  98.     <part>
  99.         <id>3</id>
  100.         <type>field</type>
  101.         <visible> <true /> </visible>
  102.         <dontWrap> <false /> </dontWrap>
  103.         <dontSearch> <false /> </dontSearch>
  104.         <sharedText> <false /> </sharedText>
  105.         <fixedLineHeight> <false /> </fixedLineHeight>
  106.         <autoTab> <false /> </autoTab>
  107.         <lockText> <false /> </lockText>
  108.         <rect>
  109.             <left>95</left>
  110.             <top>112</top>
  111.             <right>319</right>
  112.             <bottom>143</bottom>
  113.         </rect>
  114.         <style>scrolling</style>
  115.         <autoSelect> <false /> </autoSelect>
  116.         <showLines> <false /> </showLines>
  117.         <wideMargins> <false /> </wideMargins>
  118.         <multipleLines> <false /> </multipleLines>
  119.         <reservedFamily> 0 </reservedFamily>
  120.         <titleWidth>0</titleWidth>
  121.         <icon>0</icon>
  122.         <textAlign>left</textAlign>
  123.         <font>Helvetica</font>
  124.         <textSize>12</textSize>
  125.         <textStyle>plain</textStyle>
  126.         <textHeight>16</textHeight>
  127.         <name>Time</name>
  128.         <script>On CloseFieldParseTimeEnd CloseField</script>
  129.     </part>
  130.     <part>
  131.         <id>4</id>
  132.         <type>field</type>
  133.         <visible> <true /> </visible>
  134.         <dontWrap> <false /> </dontWrap>
  135.         <dontSearch> <false /> </dontSearch>
  136.         <sharedText> <false /> </sharedText>
  137.         <fixedLineHeight> <false /> </fixedLineHeight>
  138.         <autoTab> <false /> </autoTab>
  139.         <lockText> <true /> </lockText>
  140.         <rect>
  141.             <left>34</left>
  142.             <top>113</top>
  143.             <right>86</right>
  144.             <bottom>128</bottom>
  145.         </rect>
  146.         <style>opaque</style>
  147.         <autoSelect> <false /> </autoSelect>
  148.         <showLines> <false /> </showLines>
  149.         <wideMargins> <false /> </wideMargins>
  150.         <multipleLines> <false /> </multipleLines>
  151.         <reservedFamily> 0 </reservedFamily>
  152.         <titleWidth>0</titleWidth>
  153.         <icon>0</icon>
  154.         <textAlign>right</textAlign>
  155.         <font>Helvetica</font>
  156.         <textSize>12</textSize>
  157.         <textStyle>bold</textStyle>
  158.         <textHeight>16</textHeight>
  159.         <name></name>
  160.         <script></script>
  161.     </part>
  162.     <part>
  163.         <id>5</id>
  164.         <type>button</type>
  165.         <visible> <true /> </visible>
  166.         <reserved5> 0 </reserved5>
  167.         <reserved4> 0 </reserved4>
  168.         <reserved3> 0 </reserved3>
  169.         <reserved2> 0 </reserved2>
  170.         <reserved1> 0 </reserved1>
  171.         <enabled> <true /> </enabled>
  172.         <rect>
  173.             <left>55</left>
  174.             <top>167</top>
  175.             <right>113</right>
  176.             <bottom>192</bottom>
  177.         </rect>
  178.         <style>roundrect</style>
  179.         <showName> <true /> </showName>
  180.         <highlight> <false /> </highlight>
  181.         <autoHighlight> <true /> </autoHighlight>
  182.         <sharedHighlight> <true /> </sharedHighlight>
  183.         <family>0</family>
  184.         <titleWidth>0</titleWidth>
  185.         <icon>0</icon>
  186.         <textAlign>center</textAlign>
  187.         <font>Chicago</font>
  188.         <textSize>12</textSize>
  189.         <textStyle>plain</textStyle>
  190.         <name>Add</name>
  191.         <script>On MouseUpAddToDateEnd MouseUp</script>
  192.     </part>
  193.     <part>
  194.         <id>6</id>
  195.         <type>field</type>
  196.         <visible> <true /> </visible>
  197.         <dontWrap> <false /> </dontWrap>
  198.         <dontSearch> <false /> </dontSearch>
  199.         <sharedText> <false /> </sharedText>
  200.         <fixedLineHeight> <false /> </fixedLineHeight>
  201.         <autoTab> <false /> </autoTab>
  202.         <lockText> <false /> </lockText>
  203.         <rect>
  204.             <left>121</left>
  205.             <top>172</top>
  206.             <right>242</right>
  207.             <bottom>188</bottom>
  208.         </rect>
  209.         <style>rectangle</style>
  210.         <autoSelect> <false /> </autoSelect>
  211.         <showLines> <false /> </showLines>
  212.         <wideMargins> <false /> </wideMargins>
  213.         <multipleLines> <false /> </multipleLines>
  214.         <reservedFamily> 0 </reservedFamily>
  215.         <titleWidth>0</titleWidth>
  216.         <icon>0</icon>
  217.         <textAlign>left</textAlign>
  218.         <font>Helvetica</font>
  219.         <textSize>12</textSize>
  220.         <textStyle>plain</textStyle>
  221.         <textHeight>16</textHeight>
  222.         <name>Delta Days</name>
  223.         <script>On CloseFieldParseTimeEnd CloseField</script>
  224.     </part>
  225.     <part>
  226.         <id>7</id>
  227.         <type>field</type>
  228.         <visible> <true /> </visible>
  229.         <dontWrap> <false /> </dontWrap>
  230.         <dontSearch> <false /> </dontSearch>
  231.         <sharedText> <false /> </sharedText>
  232.         <fixedLineHeight> <false /> </fixedLineHeight>
  233.         <autoTab> <false /> </autoTab>
  234.         <lockText> <true /> </lockText>
  235.         <rect>
  236.             <left>249</left>
  237.             <top>173</top>
  238.             <right>301</right>
  239.             <bottom>188</bottom>
  240.         </rect>
  241.         <style>opaque</style>
  242.         <autoSelect> <false /> </autoSelect>
  243.         <showLines> <false /> </showLines>
  244.         <wideMargins> <false /> </wideMargins>
  245.         <multipleLines> <false /> </multipleLines>
  246.         <reservedFamily> 0 </reservedFamily>
  247.         <titleWidth>0</titleWidth>
  248.         <icon>0</icon>
  249.         <textAlign>left</textAlign>
  250.         <font>Helvetica</font>
  251.         <textSize>12</textSize>
  252.         <textStyle>bold</textStyle>
  253.         <textHeight>16</textHeight>
  254.         <name></name>
  255.         <script></script>
  256.     </part>
  257.     <part>
  258.         <id>8</id>
  259.         <type>button</type>
  260.         <visible> <true /> </visible>
  261.         <reserved5> 0 </reserved5>
  262.         <reserved4> 0 </reserved4>
  263.         <reserved3> 0 </reserved3>
  264.         <reserved2> 0 </reserved2>
  265.         <reserved1> 0 </reserved1>
  266.         <enabled> <true /> </enabled>
  267.         <rect>
  268.             <left>96</left>
  269.             <top>220</top>
  270.             <right>163</right>
  271.             <bottom>240</bottom>
  272.         </rect>
  273.         <style>radiobutton</style>
  274.         <showName> <true /> </showName>
  275.         <highlight> <false /> </highlight>
  276.         <autoHighlight> <false /> </autoHighlight>
  277.         <sharedHighlight> <true /> </sharedHighlight>
  278.         <family>0</family>
  279.         <titleWidth>0</titleWidth>
  280.         <icon>0</icon>
  281.         <textAlign>center</textAlign>
  282.         <font>Chicago</font>
  283.         <textSize>12</textSize>
  284.         <textStyle>plain</textStyle>
  285.         <name>GMT</name>
  286.         <script>On MouseUpOffsetGMTEnd MouseUp</script>
  287.     </part>
  288.     <part>
  289.         <id>9</id>
  290.         <type>button</type>
  291.         <visible> <true /> </visible>
  292.         <reserved5> 0 </reserved5>
  293.         <reserved4> 0 </reserved4>
  294.         <reserved3> 0 </reserved3>
  295.         <reserved2> 0 </reserved2>
  296.         <reserved1> 0 </reserved1>
  297.         <enabled> <true /> </enabled>
  298.         <rect>
  299.             <left>188</left>
  300.             <top>220</top>
  301.             <right>255</right>
  302.             <bottom>240</bottom>
  303.         </rect>
  304.         <style>radiobutton</style>
  305.         <showName> <true /> </showName>
  306.         <highlight> <true /> </highlight>
  307.         <autoHighlight> <false /> </autoHighlight>
  308.         <sharedHighlight> <true /> </sharedHighlight>
  309.         <family>0</family>
  310.         <titleWidth>0</titleWidth>
  311.         <icon>0</icon>
  312.         <textAlign>center</textAlign>
  313.         <font>Chicago</font>
  314.         <textSize>12</textSize>
  315.         <textStyle>plain</textStyle>
  316.         <name>Local</name>
  317.         <script>On MouseUpOffsetGMTEnd MouseUp</script>
  318.     </part>
  319.     <content>
  320.         <layer>background</layer>
  321.         <id>1</id>
  322.         <text>Date/Time Conversions</text>
  323.     </content>
  324.     <content>
  325.         <layer>card</layer>
  326.         <id>2</id>
  327.         <text>Date:</text>
  328.     </content>
  329.     <content>
  330.         <layer>card</layer>
  331.         <id>4</id>
  332.         <text>Time:</text>
  333.     </content>
  334.     <content>
  335.         <layer>card</layer>
  336.         <id>1</id>
  337.         <text>Sunday, 30 May 1993</text>
  338.     </content>
  339.     <content>
  340.         <layer>card</layer>
  341.         <id>3</id>
  342.         <text>2:01:42 PM</text>
  343.     </content>
  344.     <content>
  345.         <layer>card</layer>
  346.         <id>7</id>
  347.         <text>Days</text>
  348.     </content>
  349.     <content>
  350.         <layer>card</layer>
  351.         <id>6</id>
  352.         <text>100000</text>
  353.     </content>
  354.     <name>Dates</name>
  355.     <script>On FormatDateGlobal TheLongDateRecGet LongDate2Secs(TheLongDateRec)Put IULDateString(it, 1) into card field "Date"Put IULTimeString(it, true) into card field "Time"End FormatDateOn ParseDateGlobal TheDateCache, TheLongDateRecGet String2Date(card field "Date", TheDateCache, TheLongDateRec)Put line 1 of it into TheLongDateRecPut line 3 of it into TheDateCacheIf line 2 of it < the length of card field "Date" thenAnswer "Not all characters of date used."End IfFormatDateEnd ParseDateOn ParseTimeGlobal TheDateCache, TheLongDateRecGet String2Time(card field "Time", TheDateCache, TheLongDateRec)Put line 1 of it into TheLongDateRecPut line 3 of it into TheDateCacheIf line 2 of it < the length of card field "Time" thenAnswer "Not all characters of time used."End IfFormatDateEnd ParseTimeOn AddSeconds NrSeconds-- offsets the displayed date/time by the specified amount.Global TheLongDateRecPut LongSecs2Date(LongDate2Secs(TheLongDateRec) + NrSeconds) ┬¼into TheLongDateRecFormatDateEnd AddSecondsOn AddToDateAddSeconds Round(card field "Delta Days" * 86400)End AddToDateOn OffsetGMT-- common MouseUp handler for GMT/Local radio buttons.Put "8,9" into ButtonIDsPut "-1,1" into FactorListRepeat with i = 1 to the number of items in ButtonIDsGet item i of ButtonIDsIf the short id of the target = it thenIf the hilite of card button id it thenPut 0 into TheFactor -- already selected -- donΓÇÖt change date/timeElseSet hilite of card button id it to truePut item i of FactorList into TheFactorEnd IfElseSet hilite of card button id it to falseEnd IfEnd RepeatAddSeconds TheFactor * line 4 of ReadLocation()End OffsetGMT---- Top-level handlers--On OpenCardGlobal TheDateCache, TheLongDateRecPut InitDateCache() into TheDateCachePut LongSecs2Date(the seconds) into TheLongDateRecFormatDateEnd OpenCard</script>
  356. </card>
  357.  
  358.  
  359. card_4709.xml
  360. <?xml version="1.0" encoding="utf-8" ?>
  361. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  362. <card>
  363.     <id>4709</id>
  364.     <filler1>0</filler1>
  365.     <bitmap>BMAP_5590.pbm</bitmap>
  366.     <cantDelete> <false /> </cantDelete>
  367.     <showPict> <true /> </showPict>
  368.     <dontSearch> <false /> </dontSearch>
  369.     <owner>4030</owner>
  370.     <link rel="stylesheet" type="text/css" href="stylesheet_3192.css" />
  371.     <part>
  372.         <id>1</id>
  373.         <type>field</type>
  374.         <visible> <true /> </visible>
  375.         <dontWrap> <false /> </dontWrap>
  376.         <dontSearch> <false /> </dontSearch>
  377.         <sharedText> <false /> </sharedText>
  378.         <fixedLineHeight> <false /> </fixedLineHeight>
  379.         <autoTab> <false /> </autoTab>
  380.         <lockText> <false /> </lockText>
  381.         <rect>
  382.             <left>95</left>
  383.             <top>71</top>
  384.             <right>319</right>
  385.             <bottom>102</bottom>
  386.         </rect>
  387.         <style>scrolling</style>
  388.         <autoSelect> <false /> </autoSelect>
  389.         <showLines> <false /> </showLines>
  390.         <wideMargins> <false /> </wideMargins>
  391.         <multipleLines> <false /> </multipleLines>
  392.         <reservedFamily> 0 </reservedFamily>
  393.         <titleWidth>0</titleWidth>
  394.         <icon>0</icon>
  395.         <textAlign>left</textAlign>
  396.         <font>Helvetica</font>
  397.         <textSize>12</textSize>
  398.         <textStyle>plain</textStyle>
  399.         <textHeight>16</textHeight>
  400.         <name>Text Format</name>
  401.         <script>On CloseFieldConvertFormatEnd CloseField</script>
  402.     </part>
  403.     <part>
  404.         <id>2</id>
  405.         <type>field</type>
  406.         <visible> <false /> </visible>
  407.         <dontWrap> <false /> </dontWrap>
  408.         <dontSearch> <false /> </dontSearch>
  409.         <sharedText> <false /> </sharedText>
  410.         <fixedLineHeight> <false /> </fixedLineHeight>
  411.         <autoTab> <false /> </autoTab>
  412.         <lockText> <true /> </lockText>
  413.         <rect>
  414.             <left>84</left>
  415.             <top>108</top>
  416.             <right>347</right>
  417.             <bottom>157</bottom>
  418.         </rect>
  419.         <style>scrolling</style>
  420.         <autoSelect> <false /> </autoSelect>
  421.         <showLines> <false /> </showLines>
  422.         <wideMargins> <false /> </wideMargins>
  423.         <multipleLines> <false /> </multipleLines>
  424.         <reservedFamily> 0 </reservedFamily>
  425.         <titleWidth>0</titleWidth>
  426.         <icon>0</icon>
  427.         <textAlign>left</textAlign>
  428.         <font>Helvetica</font>
  429.         <textSize>12</textSize>
  430.         <textStyle>plain</textStyle>
  431.         <textHeight>16</textHeight>
  432.         <name>Binary Format</name>
  433.         <script></script>
  434.     </part>
  435.     <part>
  436.         <id>3</id>
  437.         <type>field</type>
  438.         <visible> <true /> </visible>
  439.         <dontWrap> <false /> </dontWrap>
  440.         <dontSearch> <false /> </dontSearch>
  441.         <sharedText> <false /> </sharedText>
  442.         <fixedLineHeight> <false /> </fixedLineHeight>
  443.         <autoTab> <false /> </autoTab>
  444.         <lockText> <true /> </lockText>
  445.         <rect>
  446.             <left>34</left>
  447.             <top>73</top>
  448.             <right>86</right>
  449.             <bottom>88</bottom>
  450.         </rect>
  451.         <style>opaque</style>
  452.         <autoSelect> <false /> </autoSelect>
  453.         <showLines> <false /> </showLines>
  454.         <wideMargins> <false /> </wideMargins>
  455.         <multipleLines> <false /> </multipleLines>
  456.         <reservedFamily> 0 </reservedFamily>
  457.         <titleWidth>0</titleWidth>
  458.         <icon>0</icon>
  459.         <textAlign>right</textAlign>
  460.         <font>Helvetica</font>
  461.         <textSize>12</textSize>
  462.         <textStyle>bold</textStyle>
  463.         <textHeight>16</textHeight>
  464.         <name></name>
  465.         <script></script>
  466.     </part>
  467.     <part>
  468.         <id>4</id>
  469.         <type>field</type>
  470.         <visible> <true /> </visible>
  471.         <dontWrap> <false /> </dontWrap>
  472.         <dontSearch> <false /> </dontSearch>
  473.         <sharedText> <false /> </sharedText>
  474.         <fixedLineHeight> <false /> </fixedLineHeight>
  475.         <autoTab> <false /> </autoTab>
  476.         <lockText> <false /> </lockText>
  477.         <rect>
  478.             <left>95</left>
  479.             <top>115</top>
  480.             <right>319</right>
  481.             <bottom>146</bottom>
  482.         </rect>
  483.         <style>scrolling</style>
  484.         <autoSelect> <false /> </autoSelect>
  485.         <showLines> <false /> </showLines>
  486.         <wideMargins> <false /> </wideMargins>
  487.         <multipleLines> <false /> </multipleLines>
  488.         <reservedFamily> 0 </reservedFamily>
  489.         <titleWidth>0</titleWidth>
  490.         <icon>0</icon>
  491.         <textAlign>left</textAlign>
  492.         <font>Helvetica</font>
  493.         <textSize>12</textSize>
  494.         <textStyle>plain</textStyle>
  495.         <textHeight>16</textHeight>
  496.         <name>Text A</name>
  497.         <script>On CloseFieldParseNumber "A"PerformOpEnd CloseField</script>
  498.     </part>
  499.     <part>
  500.         <id>5</id>
  501.         <type>field</type>
  502.         <visible> <true /> </visible>
  503.         <dontWrap> <false /> </dontWrap>
  504.         <dontSearch> <false /> </dontSearch>
  505.         <sharedText> <false /> </sharedText>
  506.         <fixedLineHeight> <false /> </fixedLineHeight>
  507.         <autoTab> <false /> </autoTab>
  508.         <lockText> <false /> </lockText>
  509.         <rect>
  510.             <left>95</left>
  511.             <top>163</top>
  512.             <right>319</right>
  513.             <bottom>194</bottom>
  514.         </rect>
  515.         <style>scrolling</style>
  516.         <autoSelect> <false /> </autoSelect>
  517.         <showLines> <false /> </showLines>
  518.         <wideMargins> <false /> </wideMargins>
  519.         <multipleLines> <false /> </multipleLines>
  520.         <reservedFamily> 0 </reservedFamily>
  521.         <titleWidth>0</titleWidth>
  522.         <icon>0</icon>
  523.         <textAlign>left</textAlign>
  524.         <font>Helvetica</font>
  525.         <textSize>12</textSize>
  526.         <textStyle>plain</textStyle>
  527.         <textHeight>16</textHeight>
  528.         <name>Text B</name>
  529.         <script>On CloseFieldParseNumber "B"PerformOpEnd CloseField</script>
  530.     </part>
  531.     <part>
  532.         <id>6</id>
  533.         <type>field</type>
  534.         <visible> <true /> </visible>
  535.         <dontWrap> <false /> </dontWrap>
  536.         <dontSearch> <false /> </dontSearch>
  537.         <sharedText> <false /> </sharedText>
  538.         <fixedLineHeight> <false /> </fixedLineHeight>
  539.         <autoTab> <false /> </autoTab>
  540.         <lockText> <true /> </lockText>
  541.         <rect>
  542.             <left>94</left>
  543.             <top>234</top>
  544.             <right>318</right>
  545.             <bottom>265</bottom>
  546.         </rect>
  547.         <style>scrolling</style>
  548.         <autoSelect> <false /> </autoSelect>
  549.         <showLines> <false /> </showLines>
  550.         <wideMargins> <false /> </wideMargins>
  551.         <multipleLines> <false /> </multipleLines>
  552.         <reservedFamily> 0 </reservedFamily>
  553.         <titleWidth>0</titleWidth>
  554.         <icon>0</icon>
  555.         <textAlign>left</textAlign>
  556.         <font>Helvetica</font>
  557.         <textSize>12</textSize>
  558.         <textStyle>plain</textStyle>
  559.         <textHeight>16</textHeight>
  560.         <name>Text Result</name>
  561.         <script></script>
  562.     </part>
  563.     <part>
  564.         <id>7</id>
  565.         <type>field</type>
  566.         <visible> <false /> </visible>
  567.         <dontWrap> <false /> </dontWrap>
  568.         <dontSearch> <false /> </dontSearch>
  569.         <sharedText> <false /> </sharedText>
  570.         <fixedLineHeight> <false /> </fixedLineHeight>
  571.         <autoTab> <false /> </autoTab>
  572.         <lockText> <true /> </lockText>
  573.         <rect>
  574.             <left>85</left>
  575.             <top>130</top>
  576.             <right>348</right>
  577.             <bottom>179</bottom>
  578.         </rect>
  579.         <style>scrolling</style>
  580.         <autoSelect> <false /> </autoSelect>
  581.         <showLines> <false /> </showLines>
  582.         <wideMargins> <false /> </wideMargins>
  583.         <multipleLines> <false /> </multipleLines>
  584.         <reservedFamily> 0 </reservedFamily>
  585.         <titleWidth>0</titleWidth>
  586.         <icon>0</icon>
  587.         <textAlign>left</textAlign>
  588.         <font>Helvetica</font>
  589.         <textSize>12</textSize>
  590.         <textStyle>plain</textStyle>
  591.         <textHeight>16</textHeight>
  592.         <name>Binary A</name>
  593.         <script></script>
  594.     </part>
  595.     <part>
  596.         <id>8</id>
  597.         <type>field</type>
  598.         <visible> <false /> </visible>
  599.         <dontWrap> <false /> </dontWrap>
  600.         <dontSearch> <false /> </dontSearch>
  601.         <sharedText> <false /> </sharedText>
  602.         <fixedLineHeight> <false /> </fixedLineHeight>
  603.         <autoTab> <false /> </autoTab>
  604.         <lockText> <true /> </lockText>
  605.         <rect>
  606.             <left>85</left>
  607.             <top>160</top>
  608.             <right>348</right>
  609.             <bottom>209</bottom>
  610.         </rect>
  611.         <style>scrolling</style>
  612.         <autoSelect> <false /> </autoSelect>
  613.         <showLines> <false /> </showLines>
  614.         <wideMargins> <false /> </wideMargins>
  615.         <multipleLines> <false /> </multipleLines>
  616.         <reservedFamily> 0 </reservedFamily>
  617.         <titleWidth>0</titleWidth>
  618.         <icon>0</icon>
  619.         <textAlign>left</textAlign>
  620.         <font>Helvetica</font>
  621.         <textSize>12</textSize>
  622.         <textStyle>plain</textStyle>
  623.         <textHeight>16</textHeight>
  624.         <name>Binary B</name>
  625.         <script></script>
  626.     </part>
  627.     <part>
  628.         <id>9</id>
  629.         <type>field</type>
  630.         <visible> <false /> </visible>
  631.         <dontWrap> <false /> </dontWrap>
  632.         <dontSearch> <false /> </dontSearch>
  633.         <sharedText> <false /> </sharedText>
  634.         <fixedLineHeight> <false /> </fixedLineHeight>
  635.         <autoTab> <false /> </autoTab>
  636.         <lockText> <true /> </lockText>
  637.         <rect>
  638.             <left>84</left>
  639.             <top>186</top>
  640.             <right>347</right>
  641.             <bottom>235</bottom>
  642.         </rect>
  643.         <style>scrolling</style>
  644.         <autoSelect> <false /> </autoSelect>
  645.         <showLines> <false /> </showLines>
  646.         <wideMargins> <false /> </wideMargins>
  647.         <multipleLines> <false /> </multipleLines>
  648.         <reservedFamily> 0 </reservedFamily>
  649.         <titleWidth>0</titleWidth>
  650.         <icon>0</icon>
  651.         <textAlign>left</textAlign>
  652.         <font>Helvetica</font>
  653.         <textSize>12</textSize>
  654.         <textStyle>plain</textStyle>
  655.         <textHeight>16</textHeight>
  656.         <name>Binary Result</name>
  657.         <script></script>
  658.     </part>
  659.     <part>
  660.         <id>10</id>
  661.         <type>button</type>
  662.         <visible> <true /> </visible>
  663.         <reserved5> 0 </reserved5>
  664.         <reserved4> 0 </reserved4>
  665.         <reserved3> 0 </reserved3>
  666.         <reserved2> 0 </reserved2>
  667.         <reserved1> 0 </reserved1>
  668.         <enabled> <true /> </enabled>
  669.         <rect>
  670.             <left>107</left>
  671.             <top>203</top>
  672.             <right>137</right>
  673.             <bottom>220</bottom>
  674.         </rect>
  675.         <style>radiobutton</style>
  676.         <showName> <true /> </showName>
  677.         <highlight> <true /> </highlight>
  678.         <autoHighlight> <false /> </autoHighlight>
  679.         <sharedHighlight> <true /> </sharedHighlight>
  680.         <family>0</family>
  681.         <titleWidth>0</titleWidth>
  682.         <icon>0</icon>
  683.         <textAlign>center</textAlign>
  684.         <font>Chicago</font>
  685.         <textSize>12</textSize>
  686.         <textStyle>plain</textStyle>
  687.         <name>+</name>
  688.         <script>On MouseUpSetOpEnd MouseUp</script>
  689.     </part>
  690.     <part>
  691.         <id>11</id>
  692.         <type>button</type>
  693.         <visible> <true /> </visible>
  694.         <reserved5> 0 </reserved5>
  695.         <reserved4> 0 </reserved4>
  696.         <reserved3> 0 </reserved3>
  697.         <reserved2> 0 </reserved2>
  698.         <reserved1> 0 </reserved1>
  699.         <enabled> <true /> </enabled>
  700.         <rect>
  701.             <left>162</left>
  702.             <top>204</top>
  703.             <right>192</right>
  704.             <bottom>221</bottom>
  705.         </rect>
  706.         <style>radiobutton</style>
  707.         <showName> <true /> </showName>
  708.         <highlight> <false /> </highlight>
  709.         <autoHighlight> <false /> </autoHighlight>
  710.         <sharedHighlight> <true /> </sharedHighlight>
  711.         <family>0</family>
  712.         <titleWidth>0</titleWidth>
  713.         <icon>0</icon>
  714.         <textAlign>center</textAlign>
  715.         <font>Chicago</font>
  716.         <textSize>12</textSize>
  717.         <textStyle>plain</textStyle>
  718.         <name>-</name>
  719.         <script>On MouseUpSetOpEnd MouseUp</script>
  720.     </part>
  721.     <part>
  722.         <id>12</id>
  723.         <type>button</type>
  724.         <visible> <true /> </visible>
  725.         <reserved5> 0 </reserved5>
  726.         <reserved4> 0 </reserved4>
  727.         <reserved3> 0 </reserved3>
  728.         <reserved2> 0 </reserved2>
  729.         <reserved1> 0 </reserved1>
  730.         <enabled> <true /> </enabled>
  731.         <rect>
  732.             <left>222</left>
  733.             <top>204</top>
  734.             <right>252</right>
  735.             <bottom>221</bottom>
  736.         </rect>
  737.         <style>radiobutton</style>
  738.         <showName> <true /> </showName>
  739.         <highlight> <false /> </highlight>
  740.         <autoHighlight> <false /> </autoHighlight>
  741.         <sharedHighlight> <true /> </sharedHighlight>
  742.         <family>0</family>
  743.         <titleWidth>0</titleWidth>
  744.         <icon>0</icon>
  745.         <textAlign>center</textAlign>
  746.         <font>Chicago</font>
  747.         <textSize>12</textSize>
  748.         <textStyle>plain</textStyle>
  749.         <name>*</name>
  750.         <script>On MouseUpSetOpEnd MouseUp</script>
  751.     </part>
  752.     <part>
  753.         <id>13</id>
  754.         <type>button</type>
  755.         <visible> <true /> </visible>
  756.         <reserved5> 0 </reserved5>
  757.         <reserved4> 0 </reserved4>
  758.         <reserved3> 0 </reserved3>
  759.         <reserved2> 0 </reserved2>
  760.         <reserved1> 0 </reserved1>
  761.         <enabled> <true /> </enabled>
  762.         <rect>
  763.             <left>282</left>
  764.             <top>204</top>
  765.             <right>312</right>
  766.             <bottom>221</bottom>
  767.         </rect>
  768.         <style>radiobutton</style>
  769.         <showName> <true /> </showName>
  770.         <highlight> <false /> </highlight>
  771.         <autoHighlight> <false /> </autoHighlight>
  772.         <sharedHighlight> <true /> </sharedHighlight>
  773.         <family>0</family>
  774.         <titleWidth>0</titleWidth>
  775.         <icon>0</icon>
  776.         <textAlign>center</textAlign>
  777.         <font>Chicago</font>
  778.         <textSize>12</textSize>
  779.         <textStyle>plain</textStyle>
  780.         <name>/</name>
  781.         <script>On MouseUpSetOpEnd MouseUp</script>
  782.     </part>
  783.     <part>
  784.         <id>14</id>
  785.         <type>field</type>
  786.         <visible> <false /> </visible>
  787.         <dontWrap> <false /> </dontWrap>
  788.         <dontSearch> <false /> </dontSearch>
  789.         <sharedText> <false /> </sharedText>
  790.         <fixedLineHeight> <false /> </fixedLineHeight>
  791.         <autoTab> <false /> </autoTab>
  792.         <lockText> <true /> </lockText>
  793.         <rect>
  794.             <left>243</left>
  795.             <top>207</top>
  796.             <right>357</right>
  797.             <bottom>232</bottom>
  798.         </rect>
  799.         <style>opaque</style>
  800.         <autoSelect> <false /> </autoSelect>
  801.         <showLines> <false /> </showLines>
  802.         <wideMargins> <false /> </wideMargins>
  803.         <multipleLines> <false /> </multipleLines>
  804.         <reservedFamily> 0 </reservedFamily>
  805.         <titleWidth>0</titleWidth>
  806.         <icon>0</icon>
  807.         <textAlign>left</textAlign>
  808.         <font>Helvetica</font>
  809.         <textSize>12</textSize>
  810.         <textStyle>plain</textStyle>
  811.         <textHeight>16</textHeight>
  812.         <name>Op</name>
  813.         <script></script>
  814.     </part>
  815.     <part>
  816.         <id>15</id>
  817.         <type>field</type>
  818.         <visible> <true /> </visible>
  819.         <dontWrap> <false /> </dontWrap>
  820.         <dontSearch> <false /> </dontSearch>
  821.         <sharedText> <false /> </sharedText>
  822.         <fixedLineHeight> <false /> </fixedLineHeight>
  823.         <autoTab> <false /> </autoTab>
  824.         <lockText> <true /> </lockText>
  825.         <rect>
  826.             <left>16</left>
  827.             <top>116</top>
  828.             <right>86</right>
  829.             <bottom>130</bottom>
  830.         </rect>
  831.         <style>opaque</style>
  832.         <autoSelect> <false /> </autoSelect>
  833.         <showLines> <false /> </showLines>
  834.         <wideMargins> <false /> </wideMargins>
  835.         <multipleLines> <false /> </multipleLines>
  836.         <reservedFamily> 0 </reservedFamily>
  837.         <titleWidth>0</titleWidth>
  838.         <icon>0</icon>
  839.         <textAlign>right</textAlign>
  840.         <font>Helvetica</font>
  841.         <textSize>12</textSize>
  842.         <textStyle>bold</textStyle>
  843.         <textHeight>16</textHeight>
  844.         <name></name>
  845.         <script></script>
  846.     </part>
  847.     <part>
  848.         <id>16</id>
  849.         <type>field</type>
  850.         <visible> <true /> </visible>
  851.         <dontWrap> <false /> </dontWrap>
  852.         <dontSearch> <false /> </dontSearch>
  853.         <sharedText> <false /> </sharedText>
  854.         <fixedLineHeight> <false /> </fixedLineHeight>
  855.         <autoTab> <false /> </autoTab>
  856.         <lockText> <true /> </lockText>
  857.         <rect>
  858.             <left>15</left>
  859.             <top>165</top>
  860.             <right>84</right>
  861.             <bottom>179</bottom>
  862.         </rect>
  863.         <style>opaque</style>
  864.         <autoSelect> <false /> </autoSelect>
  865.         <showLines> <false /> </showLines>
  866.         <wideMargins> <false /> </wideMargins>
  867.         <multipleLines> <false /> </multipleLines>
  868.         <reservedFamily> 0 </reservedFamily>
  869.         <titleWidth>0</titleWidth>
  870.         <icon>0</icon>
  871.         <textAlign>right</textAlign>
  872.         <font>Helvetica</font>
  873.         <textSize>12</textSize>
  874.         <textStyle>bold</textStyle>
  875.         <textHeight>16</textHeight>
  876.         <name></name>
  877.         <script></script>
  878.     </part>
  879.     <part>
  880.         <id>17</id>
  881.         <type>field</type>
  882.         <visible> <true /> </visible>
  883.         <dontWrap> <false /> </dontWrap>
  884.         <dontSearch> <false /> </dontSearch>
  885.         <sharedText> <false /> </sharedText>
  886.         <fixedLineHeight> <false /> </fixedLineHeight>
  887.         <autoTab> <false /> </autoTab>
  888.         <lockText> <true /> </lockText>
  889.         <rect>
  890.             <left>38</left>
  891.             <top>234</top>
  892.             <right>83</right>
  893.             <bottom>249</bottom>
  894.         </rect>
  895.         <style>opaque</style>
  896.         <autoSelect> <false /> </autoSelect>
  897.         <showLines> <false /> </showLines>
  898.         <wideMargins> <false /> </wideMargins>
  899.         <multipleLines> <false /> </multipleLines>
  900.         <reservedFamily> 0 </reservedFamily>
  901.         <titleWidth>0</titleWidth>
  902.         <icon>0</icon>
  903.         <textAlign>right</textAlign>
  904.         <font>Helvetica</font>
  905.         <textSize>12</textSize>
  906.         <textStyle>bold</textStyle>
  907.         <textHeight>16</textHeight>
  908.         <name></name>
  909.         <script></script>
  910.     </part>
  911.     <part>
  912.         <id>18</id>
  913.         <type>field</type>
  914.         <visible> <false /> </visible>
  915.         <dontWrap> <false /> </dontWrap>
  916.         <dontSearch> <false /> </dontSearch>
  917.         <sharedText> <false /> </sharedText>
  918.         <fixedLineHeight> <false /> </fixedLineHeight>
  919.         <autoTab> <false /> </autoTab>
  920.         <lockText> <true /> </lockText>
  921.         <rect>
  922.             <left>57</left>
  923.             <top>152</top>
  924.             <right>320</right>
  925.             <bottom>201</bottom>
  926.         </rect>
  927.         <style>scrolling</style>
  928.         <autoSelect> <false /> </autoSelect>
  929.         <showLines> <false /> </showLines>
  930.         <wideMargins> <false /> </wideMargins>
  931.         <multipleLines> <false /> </multipleLines>
  932.         <reservedFamily> 0 </reservedFamily>
  933.         <titleWidth>0</titleWidth>
  934.         <icon>0</icon>
  935.         <textAlign>left</textAlign>
  936.         <font>Helvetica</font>
  937.         <textSize>12</textSize>
  938.         <textStyle>plain</textStyle>
  939.         <textHeight>16</textHeight>
  940.         <name>Preset Format Names</name>
  941.         <script></script>
  942.     </part>
  943.     <part>
  944.         <id>19</id>
  945.         <type>field</type>
  946.         <visible> <false /> </visible>
  947.         <dontWrap> <false /> </dontWrap>
  948.         <dontSearch> <false /> </dontSearch>
  949.         <sharedText> <false /> </sharedText>
  950.         <fixedLineHeight> <false /> </fixedLineHeight>
  951.         <autoTab> <false /> </autoTab>
  952.         <lockText> <true /> </lockText>
  953.         <rect>
  954.             <left>56</left>
  955.             <top>130</top>
  956.             <right>319</right>
  957.             <bottom>179</bottom>
  958.         </rect>
  959.         <style>scrolling</style>
  960.         <autoSelect> <false /> </autoSelect>
  961.         <showLines> <false /> </showLines>
  962.         <wideMargins> <false /> </wideMargins>
  963.         <multipleLines> <false /> </multipleLines>
  964.         <reservedFamily> 0 </reservedFamily>
  965.         <titleWidth>0</titleWidth>
  966.         <icon>0</icon>
  967.         <textAlign>left</textAlign>
  968.         <font>Helvetica</font>
  969.         <textSize>12</textSize>
  970.         <textStyle>plain</textStyle>
  971.         <textHeight>16</textHeight>
  972.         <name>Preset Formats</name>
  973.         <script></script>
  974.     </part>
  975.     <part>
  976.         <id>20</id>
  977.         <type>field</type>
  978.         <visible> <true /> </visible>
  979.         <dontWrap> <false /> </dontWrap>
  980.         <dontSearch> <false /> </dontSearch>
  981.         <sharedText> <false /> </sharedText>
  982.         <fixedLineHeight> <false /> </fixedLineHeight>
  983.         <autoTab> <false /> </autoTab>
  984.         <lockText> <true /> </lockText>
  985.         <rect>
  986.             <left>15</left>
  987.             <top>201</top>
  988.             <right>84</right>
  989.             <bottom>215</bottom>
  990.         </rect>
  991.         <style>opaque</style>
  992.         <autoSelect> <false /> </autoSelect>
  993.         <showLines> <false /> </showLines>
  994.         <wideMargins> <false /> </wideMargins>
  995.         <multipleLines> <false /> </multipleLines>
  996.         <reservedFamily> 0 </reservedFamily>
  997.         <titleWidth>0</titleWidth>
  998.         <icon>0</icon>
  999.         <textAlign>right</textAlign>
  1000.         <font>Helvetica</font>
  1001.         <textSize>12</textSize>
  1002.         <textStyle>bold</textStyle>
  1003.         <textHeight>16</textHeight>
  1004.         <name></name>
  1005.         <script></script>
  1006.     </part>
  1007.     <content>
  1008.         <layer>background</layer>
  1009.         <id>1</id>
  1010.         <text>Number Parsing/Formatting</text>
  1011.     </content>
  1012.     <content>
  1013.         <layer>card</layer>
  1014.         <id>3</id>
  1015.         <text>Format:</text>
  1016.     </content>
  1017.     <content>
  1018.         <layer>card</layer>
  1019.         <id>4</id>
  1020.         <text>2.0</text>
  1021.     </content>
  1022.     <content>
  1023.         <layer>card</layer>
  1024.         <id>5</id>
  1025.         <text>2.0</text>
  1026.     </content>
  1027.     <content>
  1028.         <layer>card</layer>
  1029.         <id>7</id>
  1030.         <text>2</text>
  1031.     </content>
  1032.     <content>
  1033.         <layer>card</layer>
  1034.         <id>9</id>
  1035.         <text>4</text>
  1036.     </content>
  1037.     <content>
  1038.         <layer>card</layer>
  1039.         <id>8</id>
  1040.         <text>2</text>
  1041.     </content>
  1042.     <content>
  1043.         <layer>card</layer>
  1044.         <id>15</id>
  1045.         <text>Operand A:</text>
  1046.     </content>
  1047.     <content>
  1048.         <layer>card</layer>
  1049.         <id>16</id>
  1050.         <text>Operand B:</text>
  1051.     </content>
  1052.     <content>
  1053.         <layer>card</layer>
  1054.         <id>17</id>
  1055.         <text>Result:</text>
  1056.     </content>
  1057.     <content>
  1058.         <layer>card</layer>
  1059.         <id>6</id>
  1060.         <text>4.0</text>
  1061.     </content>
  1062.     <content>
  1063.         <layer>card</layer>
  1064.         <id>19</id>
  1065.         <text>3A000004000B000F000F0007000E000300030001000200020000110011000100000842AC00044E5E205F588F0E0505060E0505090505060E05050669537472696E6700004E56FFFE1D7C0001FFFE1D6E000CFFFF2F2E000E49EEFFFE2F0C2F2E00084EBAFD2C4E5E205F4FEF000A4ED080154E6577436861725365704D756C7469537472696E670000004E5600002F2E000C1F3C000D2F2E00084EBAFFA84E5E205F508F4ED080124E65774D756C74694C696E65537472696E6700004E56FFFE422EFFFE286E000A342E00083814B8426D00003242A72F2E000A286E000A342E0008534245BC000FE54249EC0002287420002F144EBA01744A9F670000081D7C3F000002000B00140014000A0013000100010001000400040000130013000100000842AC00044E5E205F588F13060E060606060F0606060E060606060F0606066E6700004E56FFFE1D7C0001FFFE1D6E000CFFFF2F2E000E49EEFFFE2F0C2F2E00084EBAFD2C4E5E205F4FEF000A4ED080154E6577436861725365704D756C7469537472696E670000004E5600002F2E000C1F3C000D2F2E00084EBAFFA84E5E205F508F4ED080124E65774D756C74694C696E65537472696E6700004E56FFFE422EFFFE286E000A342E00083814B8426D00003242A72F2E000A286E000A342E0008534245BC000FE54249EC0002287420002F144EBA01744A9F670000081D7C3E000005000C001300130008000F000300030000000200020000110011000100000842AC00044E5E205F588F12080606060E0606090606060E06067A65726F696E6700004E56FFFE1D7C0001FFFE1D6E000CFFFF2F2E000E49EEFFFE2F0C2F2E00084EBAFD2C4E5E205F4FEF000A4ED080154E6577436861725365704D756C7469537472696E670000004E5600002F2E000C1F3C000D2F2E00084EBAFFA84E5E205F508F4ED080124E65774D756C74694C696E65537472696E6700004E56FFFE422EFFFE286E000A342E00083814B8426D00003242A72F2E000A286E000A342E0008534245BC000FE54249EC0002287420002F144EBA01744A9F670000081D7C40000004000C0012001500090011000300030001000200020002110011001100000842AC00044E5E205F588F140505050E060643520505050E06064442060E06066700004E56FFFE1D7C0001FFFE1D6E000CFFFF2F2E000E49EEFFFE2F0C2F2E00084EBAFD2C4E5E205F4FEF000A4ED080154E6577436861725365704D756C7469537472696E670000004E5600002F2E000C1F3C000D2F2E00084EBAFFA84E5E205F508F4ED080124E65774D756C74694C696E65537472696E6700004E56FFFE422EFFFE286E000A342E00083814B8426D00003242A72F2E000A286E000A342E0008534245BC000FE54249EC0002287420002F144EBA01744A9F670000081D7C3E000004000B001000130007000F000300030001000200020002110011001100000842AC00044E5E205F588F120505050E0606280505050E060629060E0606696E6700004E56FFFE1D7C0001FFFE1D6E000CFFFF2F2E000E49EEFFFE2F0C2F2E00084EBAFD2C4E5E205F4FEF000A4ED080154E6577436861725365704D756C7469537472696E670000004E5600002F2E000C1F3C000D2F2E00084EBAFFA84E5E205F508F4ED080124E65774D756C74694C696E65537472696E6700004E56FFFE422EFFFE286E000A342E00083814B8426D00003242A72F2E000A286E000A342E0008534245BC000FE54249EC0002287420002F144EBA01744A9F670000081D7C</text>
  1066.     </content>
  1067.     <content>
  1068.         <layer>card</layer>
  1069.         <id>18</id>
  1070.         <text>Fixed pointFloating pointLeading zeroesMoney1Money2</text>
  1071.     </content>
  1072.     <content>
  1073.         <layer>card</layer>
  1074.         <id>2</id>
  1075.         <text>3A000004000B000F000F0007000E000300030001000200020000110011000100000842AC00044E5E205F588F0E0505060E0505090505060E05050669537472696E6700004E56FFFE1D7C0001FFFE1D6E000CFFFF2F2E000E49EEFFFE2F0C2F2E00084EBAFD2C4E5E205F4FEF000A4ED080154E6577436861725365704D756C7469537472696E670000004E5600002F2E000C1F3C000D2F2E00084EBAFFA84E5E205F508F4ED080124E65774D756C74694C696E65537472696E6700004E56FFFE422EFFFE286E000A342E00083814B8426D00003242A72F2E000A286E000A342E0008534245BC000FE54249EC0002287420002F144EBA01744A9F670000081D7C</text>
  1076.     </content>
  1077.     <content>
  1078.         <layer>card</layer>
  1079.         <id>1</id>
  1080.         <text>##0.##;-##0.##;0</text>
  1081.     </content>
  1082.     <content>
  1083.         <layer>card</layer>
  1084.         <id>20</id>
  1085.         <text>Operation:</text>
  1086.     </content>
  1087.     <content>
  1088.         <layer>card</layer>
  1089.         <id>14</id>
  1090.         <text>+</text>
  1091.     </content>
  1092.     <name>Numbers</name>
  1093.     <script>On ParseNumber FieldName-- converts a number from user-specified format to-- HyperTalk format.Get FormatStr2X(card field ("Text" && FieldName), ┬¼card field "Binary Format")Put line 1 of it into card field ("Binary" && FieldName)FormatNumber FieldNameEnd ParseNumberOn FormatNumber FieldName-- converts a number from HyperTalk format to user-specified format.Put FormatX2Str(card field ("Binary" && FieldName), ┬¼card field "Binary Format") into card field ("Text" && FieldName)End FormatNumberOn ParseNumbersParseNumber "A"ParseNumber "B"ParseNumber "Result"End ParseNumbersOn FormatNumbersFormatNumber "A"FormatNumber "B"FormatNumber "Result"End FormatNumbersOn ConvertFormat-- converts a format string to system-internal,-- localization-independent format.Get Str2Format(card field "Text Format")Put line 1 of it into card field "Binary Format"Get line 2 of itIf it Γëá 0 thenAnswer "Something not quite right with format:" && itEnd IfFormatNumbersEnd ConvertFormatOn UnconvertFormat-- converts a format to a user-readable string. The-- symbols used in this string will depend on system-- localization.Put Format2Str(card field "Binary Format") into ┬¼card field "Text format"End UnconvertFormatOn PerformOp-- performs the specified operation on the values in-- the operand fields, and displays the result in-- the result field.Put the value of (card field "Binary A" && card field "Op" ┬¼&& card field "Binary B") into card field "Binary Result"FormatNumber "Result"End PerformOpOn SetOp-- common mouse-up handler for the operator selection-- radio buttons. Selects the specified operation and-- carries it out.Put "10,11,12,13" into ButtonIDsPut "+,-,*,/" into TheOpsPut empty into card field "Op"Repeat with i = 1 to the number of items in ButtonIDsGet item i of ButtonIDsIf the short id of the target = it thenPut item i of TheOps into card field "Op"Set hilite of button id it to trueElseSet hilite of button id it to falseEnd IfEnd RepeatPerformOpEnd SetOp---- Menu of preset formats--On SetFormat FormatIndex-- changes format to the specified preset and updates-- display accordingly.Put line FormatIndex of card field "Preset Formats" ┬¼into card field "Binary Format"UnconvertFormatFormatNumbersEnd SetFormatOn AddFormat FormatName, FormatString-- internal utility routine for constructing list of-- preset formats.Get Str2Format(FormatString)If line 2 of it Γëá 0 thenAnswer "Something not quite right with format:" && line 2 of it ┬¼with "Cancel"Exit AddFormatEnd IfPut line 1 of it & return ┬¼after card field "Preset Formats"Put FormatName & return after card field "Preset Format Names"End AddFormatOn CreateFormatMenuCreate menu "Formats"Repeat with i = 1 to the number of lines in card field "Preset Formats"Put line i of card field "Preset Format Names" ┬¼after menu "Formats" with MenuMsg "SetFormat" && iEnd RepeatEnd CreateFormatMenuOn DeleteFormatMenuIf there is a menu "Formats" thenDelete menu "Formats"End IfEnd DeleteFormatMenu---- Top-level handlers--On SuspendStackDeleteFormatMenuPass SuspendStackEnd SuspendStackOn ResumeStackSend the params to this backgroundCreateFormatMenuEnd ResumeStackOn OpenCardUnconvertFormatFormatNumbersCreateFormatMenuEnd OpenCardOn CloseCardDeleteFormatMenuEnd CloseCard</script>
  1094. </card>
  1095.  
  1096.  
  1097. card_5004.xml
  1098. <?xml version="1.0" encoding="utf-8" ?>
  1099. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1100. <card>
  1101.     <id>5004</id>
  1102.     <filler1>0</filler1>
  1103.     <bitmap>BMAP_5209.pbm</bitmap>
  1104.     <cantDelete> <false /> </cantDelete>
  1105.     <showPict> <true /> </showPict>
  1106.     <dontSearch> <false /> </dontSearch>
  1107.     <owner>4030</owner>
  1108.     <link rel="stylesheet" type="text/css" href="stylesheet_3192.css" />
  1109.     <part>
  1110.         <id>1</id>
  1111.         <type>field</type>
  1112.         <visible> <true /> </visible>
  1113.         <dontWrap> <false /> </dontWrap>
  1114.         <dontSearch> <false /> </dontSearch>
  1115.         <sharedText> <false /> </sharedText>
  1116.         <fixedLineHeight> <false /> </fixedLineHeight>
  1117.         <autoTab> <false /> </autoTab>
  1118.         <lockText> <false /> </lockText>
  1119.         <rect>
  1120.             <left>79</left>
  1121.             <top>71</top>
  1122.             <right>342</right>
  1123.             <bottom>120</bottom>
  1124.         </rect>
  1125.         <style>scrolling</style>
  1126.         <autoSelect> <false /> </autoSelect>
  1127.         <showLines> <false /> </showLines>
  1128.         <wideMargins> <false /> </wideMargins>
  1129.         <multipleLines> <false /> </multipleLines>
  1130.         <reservedFamily> 0 </reservedFamily>
  1131.         <titleWidth>0</titleWidth>
  1132.         <icon>0</icon>
  1133.         <textAlign>left</textAlign>
  1134.         <font>Helvetica</font>
  1135.         <textSize>12</textSize>
  1136.         <textStyle>plain</textStyle>
  1137.         <textHeight>16</textHeight>
  1138.         <name>Input</name>
  1139.         <script>On CloseFieldDoConvertEnd CloseField</script>
  1140.     </part>
  1141.     <part>
  1142.         <id>2</id>
  1143.         <type>field</type>
  1144.         <visible> <true /> </visible>
  1145.         <dontWrap> <false /> </dontWrap>
  1146.         <dontSearch> <false /> </dontSearch>
  1147.         <sharedText> <false /> </sharedText>
  1148.         <fixedLineHeight> <false /> </fixedLineHeight>
  1149.         <autoTab> <false /> </autoTab>
  1150.         <lockText> <true /> </lockText>
  1151.         <rect>
  1152.             <left>79</left>
  1153.             <top>131</top>
  1154.             <right>341</right>
  1155.             <bottom>181</bottom>
  1156.         </rect>
  1157.         <style>scrolling</style>
  1158.         <autoSelect> <false /> </autoSelect>
  1159.         <showLines> <false /> </showLines>
  1160.         <wideMargins> <false /> </wideMargins>
  1161.         <multipleLines> <false /> </multipleLines>
  1162.         <reservedFamily> 0 </reservedFamily>
  1163.         <titleWidth>0</titleWidth>
  1164.         <icon>0</icon>
  1165.         <textAlign>left</textAlign>
  1166.         <font>Helvetica</font>
  1167.         <textSize>12</textSize>
  1168.         <textStyle>plain</textStyle>
  1169.         <textHeight>16</textHeight>
  1170.         <name>Output</name>
  1171.         <script></script>
  1172.     </part>
  1173.     <part>
  1174.         <id>3</id>
  1175.         <type>field</type>
  1176.         <visible> <true /> </visible>
  1177.         <dontWrap> <false /> </dontWrap>
  1178.         <dontSearch> <false /> </dontSearch>
  1179.         <sharedText> <false /> </sharedText>
  1180.         <fixedLineHeight> <false /> </fixedLineHeight>
  1181.         <autoTab> <false /> </autoTab>
  1182.         <lockText> <true /> </lockText>
  1183.         <rect>
  1184.             <left>22</left>
  1185.             <top>72</top>
  1186.             <right>74</right>
  1187.             <bottom>87</bottom>
  1188.         </rect>
  1189.         <style>opaque</style>
  1190.         <autoSelect> <false /> </autoSelect>
  1191.         <showLines> <false /> </showLines>
  1192.         <wideMargins> <false /> </wideMargins>
  1193.         <multipleLines> <false /> </multipleLines>
  1194.         <reservedFamily> 0 </reservedFamily>
  1195.         <titleWidth>0</titleWidth>
  1196.         <icon>0</icon>
  1197.         <textAlign>right</textAlign>
  1198.         <font>Helvetica</font>
  1199.         <textSize>12</textSize>
  1200.         <textStyle>bold</textStyle>
  1201.         <textHeight>16</textHeight>
  1202.         <name></name>
  1203.         <script></script>
  1204.     </part>
  1205.     <part>
  1206.         <id>4</id>
  1207.         <type>field</type>
  1208.         <visible> <true /> </visible>
  1209.         <dontWrap> <false /> </dontWrap>
  1210.         <dontSearch> <false /> </dontSearch>
  1211.         <sharedText> <false /> </sharedText>
  1212.         <fixedLineHeight> <false /> </fixedLineHeight>
  1213.         <autoTab> <false /> </autoTab>
  1214.         <lockText> <true /> </lockText>
  1215.         <rect>
  1216.             <left>21</left>
  1217.             <top>133</top>
  1218.             <right>73</right>
  1219.             <bottom>148</bottom>
  1220.         </rect>
  1221.         <style>opaque</style>
  1222.         <autoSelect> <false /> </autoSelect>
  1223.         <showLines> <false /> </showLines>
  1224.         <wideMargins> <false /> </wideMargins>
  1225.         <multipleLines> <false /> </multipleLines>
  1226.         <reservedFamily> 0 </reservedFamily>
  1227.         <titleWidth>0</titleWidth>
  1228.         <icon>0</icon>
  1229.         <textAlign>right</textAlign>
  1230.         <font>Helvetica</font>
  1231.         <textSize>12</textSize>
  1232.         <textStyle>bold</textStyle>
  1233.         <textHeight>16</textHeight>
  1234.         <name></name>
  1235.         <script></script>
  1236.     </part>
  1237.     <part>
  1238.         <id>5</id>
  1239.         <type>button</type>
  1240.         <visible> <true /> </visible>
  1241.         <reserved5> 0 </reserved5>
  1242.         <reserved4> 0 </reserved4>
  1243.         <reserved3> 0 </reserved3>
  1244.         <reserved2> 0 </reserved2>
  1245.         <reserved1> 0 </reserved1>
  1246.         <enabled> <true /> </enabled>
  1247.         <rect>
  1248.             <left>44</left>
  1249.             <top>205</top>
  1250.             <right>178</right>
  1251.             <bottom>228</bottom>
  1252.         </rect>
  1253.         <style>checkbox</style>
  1254.         <showName> <true /> </showName>
  1255.         <highlight> <false /> </highlight>
  1256.         <autoHighlight> <false /> </autoHighlight>
  1257.         <sharedHighlight> <true /> </sharedHighlight>
  1258.         <family>0</family>
  1259.         <titleWidth>0</titleWidth>
  1260.         <icon>0</icon>
  1261.         <textAlign>center</textAlign>
  1262.         <font>Chicago</font>
  1263.         <textSize>12</textSize>
  1264.         <textStyle>plain</textStyle>
  1265.         <name>Uppercase</name>
  1266.         <script>On MouseUpFlipHiliteDoConvertEnd MouseUp</script>
  1267.     </part>
  1268.     <part>
  1269.         <id>6</id>
  1270.         <type>button</type>
  1271.         <visible> <true /> </visible>
  1272.         <reserved5> 0 </reserved5>
  1273.         <reserved4> 0 </reserved4>
  1274.         <reserved3> 0 </reserved3>
  1275.         <reserved2> 0 </reserved2>
  1276.         <reserved1> 0 </reserved1>
  1277.         <enabled> <true /> </enabled>
  1278.         <rect>
  1279.             <left>198</left>
  1280.             <top>205</top>
  1281.             <right>334</right>
  1282.             <bottom>228</bottom>
  1283.         </rect>
  1284.         <style>checkbox</style>
  1285.         <showName> <true /> </showName>
  1286.         <highlight> <false /> </highlight>
  1287.         <autoHighlight> <false /> </autoHighlight>
  1288.         <sharedHighlight> <true /> </sharedHighlight>
  1289.         <family>0</family>
  1290.         <titleWidth>0</titleWidth>
  1291.         <icon>0</icon>
  1292.         <textAlign>center</textAlign>
  1293.         <font>Chicago</font>
  1294.         <textSize>12</textSize>
  1295.         <textStyle>plain</textStyle>
  1296.         <name>Strip Diacritics</name>
  1297.         <script>On MouseUpFlipHiliteDoConvertEnd MouseUp</script>
  1298.     </part>
  1299.     <content>
  1300.         <layer>background</layer>
  1301.         <id>1</id>
  1302.         <text>String Conversion</text>
  1303.     </content>
  1304.     <content>
  1305.         <layer>card</layer>
  1306.         <id>3</id>
  1307.         <text>Input:</text>
  1308.     </content>
  1309.     <content>
  1310.         <layer>card</layer>
  1311.         <id>4</id>
  1312.         <text>Output:</text>
  1313.     </content>
  1314.     <content>
  1315.         <layer>card</layer>
  1316.         <id>1</id>
  1317.         <text>Sample Text.</text>
  1318.     </content>
  1319.     <content>
  1320.         <layer>card</layer>
  1321.         <id>2</id>
  1322.         <text>sample text.</text>
  1323.     </content>
  1324.     <name>Strings</name>
  1325.     <script>On FlipHiliteSet hilite of the target to not the hilite of the targetEnd FlipHiliteOn DoConvertPut LowerText(card field "Input", the hilite of card button id 5, ┬¼the hilite of card button id 6) into card field "Output"End DoConvert</script>
  1326. </card>
  1327.  
  1328.  
  1329.