<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8469933695156010816</id><updated>2024-09-12T19:35:07.804-07:00</updated><title type='text'>MiNdsTorms</title><subtitle type='html'>Lego Mindstorms Application Mechanics Robolab NXT-G NXC</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://legomss.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-5381860140377502142</id><published>2014-03-25T01:46:00.001-07:00</published><updated>2014-03-25T01:46:43.855-07:00</updated><title type='text'>超音波傳感器記錄 Ultrasonic sensor data logging</title><content type='html'>利用陣列儲存每0.01秒的超音波值，當記錄結束後，使用左右鍵觀看資料。&lt;br /&gt;
&lt;br /&gt;
It saves the ultrasonic sensor data with array per 0.01 seconds, and the left and right buttons can be used to view the data after the logging.&lt;br /&gt;
&lt;br /&gt;
task main()&lt;br /&gt;
{&lt;br /&gt;
SetSensorUltrasonic(S4); //設定超音波感應器為 四 號&lt;br /&gt;
int value[100]; //設定要存 100 個值→編號 0~ 99&lt;br /&gt;
int i = 0; &amp;nbsp;//計數用變數&lt;br /&gt;
&lt;br /&gt;
while(i &amp;lt; 100)//存 100 個值&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; value[i] = SensorUS(S4); //存當下的感應器值到變數第 i 個&lt;br /&gt;
&amp;nbsp; Wait(10); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//等0.01秒→結束迴圈後為 0.01*100 = 1 秒&lt;br /&gt;
&amp;nbsp; i++; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //計數加一&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
i = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //為顯示，計數歸零，從 0~7 開始顯示&lt;br /&gt;
while(1)&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; if(ButtonPressed(BTNLEFT,true))//按左鍵→顯示前 8 個值&lt;br /&gt;
&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if(i &amp;gt; 0)i--;// 沒有負的編號&lt;br /&gt;
&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; else if(ButtonPressed(BTNRIGHT,true))//按右鍵→顯示後 8 個值&lt;br /&gt;
&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if(i &amp;lt; 13)i++;//每次八個→100除8 = 12...4→有十三頁&lt;br /&gt;
&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
//八個值，以第一次為但→i = 0→0,0+1,0+2,0+3,0+4,0+5,0+6,0+7 = 0,1,2,3,4,5,6,7&lt;br /&gt;
&amp;nbsp; NumOut(0,LCD_LINE1,value[i]);&lt;br /&gt;
&amp;nbsp; NumOut(0,LCD_LINE2,value[i+1],false);&lt;br /&gt;
&amp;nbsp; NumOut(0,LCD_LINE3,value[i+2],false);&lt;br /&gt;
&amp;nbsp; NumOut(0,LCD_LINE4,value[i+3],false);&lt;br /&gt;
&amp;nbsp; if(i&amp;lt;13)//每次八個→100除8 = 12...4→有十三頁，第十三頁只有四個值&lt;br /&gt;
&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; NumOut(0,LCD_LINE5,value[i+4],false);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; NumOut(0,LCD_LINE6,value[i+5],false);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; NumOut(0,LCD_LINE7,value[i+6],false);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; NumOut(0,LCD_LINE8,value[i+7],false);&lt;br /&gt;
&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/5381860140377502142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/5381860140377502142'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2014/03/ultrasonic-sensor-data-logging.html' title='超音波傳感器記錄 Ultrasonic sensor data logging'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-8570115344187180403</id><published>2014-03-25T01:37:00.000-07:00</published><updated>2014-03-25T01:37:01.031-07:00</updated><title type='text'>不使用「內建畫圓」來畫圓 Drawing a circle without &quot;drawing circle command&quot;</title><content type='html'>圓的方程式是：&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
座標 x 的平方+ 座標 y 的平方 = 半徑 r 的平方&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
而由三角函數定義，我們可以得知 x,y 可由角度代表，故我們個得圓的參數式為：&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
x = rcos(theta)、y = rsin(theta)&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
將其代入原式可得&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
rcos(theta)平方 + rsin(theta)平方 = r平方&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
= r 平方(cos(theta)平方+sin(theta)平方)&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp;= r 平方&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
左式的 cos(theta)平方+sin(theta)平方 = 1，故左式=右式&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
使用 PointOut(x,y,options)去在螢幕上畫點&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
範例：&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
task main()&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
float thata = 0;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
int r = 1;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
while(theta &amp;lt; 2*PI)&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
{&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
PointOut(r*cos(theta),r*sin(theta),false);&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
theta = theta + 0.01;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
while(1){}&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
}&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/8570115344187180403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/8570115344187180403'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2014/03/drawing-circle-without-drawing-circle.html' title='不使用「內建畫圓」來畫圓 Drawing a circle without &quot;drawing circle command&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-7486306635372091128</id><published>2013-07-10T07:53:00.000-07:00</published><updated>2013-07-10T07:57:09.916-07:00</updated><title type='text'>輸入數字組 Inputting set of numbers</title><content type='html'>我們將輸入一組數字並顯示在螢幕上。應用左鍵作「減」、右鍵作「加」及中鍵作「確定」並利用陣列的方式來讓我們可以使用迴圈四次來輸入四個數字，最後使用螢幕顯示指令來將輸入結果輸出。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
We will input a set of numbers and display the set. &amp;nbsp;We can apply the left button to be &quot;minus&quot;, right button to be &quot;plus&quot; and center button to be &quot;confirm&quot;. &amp;nbsp;We can use the array to let us to apply loop for 4 times to input 4 numbers and output the result with display command finally.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Example: &amp;nbsp;&lt;/h3&gt;
&lt;div&gt;
task main()&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
int a[4]={0,0,0,0},i=0;&lt;/div&gt;
&lt;div&gt;
while(i&amp;lt;4)&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
while(!ButtonPressed(BTNCENTER,true))&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
if(ButtonPressed(BTNRIGHT,true))a[i]++;&lt;/div&gt;
&lt;div&gt;
if(ButtonPressed(BTNLEFT,true))a[i]--;&lt;/div&gt;
&lt;div&gt;
NumOut(i*10,0,a[i]);
&lt;br /&gt;
}&lt;/div&gt;
&lt;div&gt;
while(ButtonPressed(BTNCENTER,true))&lt;/div&gt;
&lt;div&gt;
i++;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div&gt;
while(i&amp;gt;0)&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
NumOut(i*10,10,a[i]);&lt;/div&gt;
&lt;div&gt;
i--;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div&gt;
Wait(5000);&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7486306635372091128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7486306635372091128'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2013/07/inputting-set-of-numbers.html' title='輸入數字組 Inputting set of numbers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-7105834990019484983</id><published>2013-07-10T00:22:00.001-07:00</published><updated>2013-07-10T07:34:12.124-07:00</updated><title type='text'>比例控制 Proportional control (P)</title><content type='html'>我們可以使用比例控制去讓機器人滑順地停止。概念是將電力和差距呈比例關係。差距是目標位置減現在位置(測量值)。電力大小為差距的大小的比例值而機器人移動方向為差距的正負。當差距等於零時，機器人靜止。當差距為正時，機器人向前。當差距為負時，機器人向後。我們使用角度感應器來測量差距。&lt;br /&gt;
&lt;br /&gt;
電力式：電力 = 常數×差距 = 常數×(目標 - 測量) = K *&amp;nbsp;(target - measurement)&lt;br /&gt;
&lt;br /&gt;
We can use the&amp;nbsp;Proportional control (P)&amp;nbsp;to let the robot smooth stop. &amp;nbsp;The concept is that we can let the power be controlled proportionally by distance(error). &amp;nbsp;The distance is defined as the target position minus now position(measurement). &amp;nbsp;The magnitude of power&amp;nbsp;is proportion of the magnitude of distance and The direction of the robot is the direction of distance. &amp;nbsp;If&amp;nbsp;the distance is zero, the robot is static. &amp;nbsp;If the distance is positive, the robot moves forward. &amp;nbsp;If the distance is negative, the robot moves backward. We use degrees sensor to measure the distance.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The power formula is: &amp;nbsp;Power = constant × distance = K * (target - measurement)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Example:&lt;/h3&gt;
&lt;div&gt;
task main()&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
int power,K,target,measurement;&lt;/div&gt;
&lt;div&gt;
K = 1;&lt;/div&gt;
&lt;div&gt;
target = 1000;&lt;/div&gt;
&lt;div&gt;
measurement = MotorRotationCount(OUT_A);&lt;/div&gt;
&lt;div&gt;
while(1)&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
measurement = MotorRotationCount(OUT_A);
&lt;/div&gt;
&lt;div&gt;
power = K * (target - measurement);&lt;/div&gt;
&lt;div&gt;
OnFwd(OUT_AC,power);&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7105834990019484983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7105834990019484983'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2013/07/p-control.html' title='比例控制 Proportional control (P)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-893278328405624671</id><published>2013-07-09T23:28:00.000-07:00</published><updated>2013-07-09T23:28:26.787-07:00</updated><title type='text'>Avoiding wall with ultrasonic</title><content type='html'>We can avoid the wall with touch sensor or ultrasonic sensor. &amp;nbsp;We can install a ultrasonic sensor on the front of a car. &amp;nbsp;When the sensor senses a wall, the car turns right to avoid the wall.&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;/h3&gt;
task main()&lt;br /&gt;
{&lt;br /&gt;
SetSensorUltrasonic(S1);&lt;br /&gt;
while(1)&lt;br /&gt;
{&lt;br /&gt;
if(SensorUS(S1) &amp;lt; 20)&lt;br /&gt;
{&lt;br /&gt;
OnFwd(OUT_A,100);&lt;br /&gt;
OnFwd(OUT_C,-100);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
OnFwd(OUT_AC,100);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/893278328405624671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/893278328405624671'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2013/07/avoiding-wall-with-ultrasonic.html' title='Avoiding wall with ultrasonic'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-2363020861984954500</id><published>2013-07-09T23:21:00.001-07:00</published><updated>2013-07-09T23:21:41.012-07:00</updated><title type='text'>The tracking line car</title><content type='html'>We can create a car which can follow a line with light sensor. &amp;nbsp;The car moves right and the sensor installed on the left front of the car. &amp;nbsp;When the sensor senses the line, the car turns left to correct the direction.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
task main()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
SetSensorLight(S1);&lt;br /&gt;
while(1)&lt;br /&gt;
{&lt;br /&gt;
if(Sensor(S1)&amp;lt; 40)&lt;br /&gt;
{&lt;br /&gt;
OnFwd(OUT_A,-100);&lt;br /&gt;
OnFwd(OUT_C,100);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
OnFwd(OUT_A,100);&lt;br /&gt;
OnFwd(OUT_C,80);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/2363020861984954500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/2363020861984954500'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2013/07/the-tracking-line-car.html' title='The tracking line car'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-1311403804818604144</id><published>2013-07-09T23:08:00.000-07:00</published><updated>2013-07-09T23:28:59.982-07:00</updated><title type='text'>The avoiding wall car</title><content type='html'>We can use a touch sensor to avoid a wall. &amp;nbsp;A touch sensor can be installed on the front of a car. When the sensor touches a wall, the car turn right to avoid the wall.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
task main()&lt;br /&gt;
{&lt;br /&gt;
SetSensorTouch(S1);&lt;br /&gt;
while(1)&lt;br /&gt;
{&lt;br /&gt;
if(Sensor(S1))&lt;br /&gt;
{&lt;br /&gt;
OnFwd(OUT_A,100);&lt;br /&gt;
OnRev(OUT_C,100);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
OnFwd(OUT_AC,100);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/1311403804818604144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/1311403804818604144'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2013/07/the-avoiding-wall-car.html' title='The avoiding wall car'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-5533368131162420001</id><published>2012-12-20T22:14:00.002-08:00</published><updated>2013-07-09T23:29:26.073-07:00</updated><title type='text'>Spin the car with NXC</title><content type='html'>&lt;h2&gt;
Spin the car with NXC&lt;/h2&gt;
&lt;br /&gt;
Please building a basic car first.&lt;br /&gt;
&lt;br /&gt;
We will let the car spin in this project by NXC. The basic method is letting the left motor and right motor turn inversely. &amp;nbsp;The function: OnFwd can control the motor to turn inversely by letting the power be negative. &amp;nbsp;In the example, we will let the motor A and C turn inversely for 1 second.&lt;br /&gt;
&lt;br /&gt;
task main(){}, OnFwd(P,p), Wait(ms), Off(P) will be use in this project.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Example:&lt;/h3&gt;
&lt;br /&gt;
task main()&lt;br /&gt;
{&lt;br /&gt;
OnFwd(OUT_A,100);&lt;br /&gt;
OnFwd(OUT_C,-100);&lt;br /&gt;
Wait(1000);&lt;br /&gt;
Off(OUT_AC);&lt;br /&gt;
}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/5533368131162420001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/5533368131162420001'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/12/spin-car-by-nxc.html' title='Spin the car with NXC'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-7459869585457974647</id><published>2012-12-20T21:48:00.005-08:00</published><updated>2013-07-09T23:29:13.314-07:00</updated><title type='text'>Car motion with NXC</title><content type='html'>&lt;h2&gt;
Car motion with NXC&lt;/h2&gt;
Please building a basic car before we write the code.&lt;br /&gt;
&lt;br /&gt;
In this project, we will let the car forward for 1 second. This program will use the functions : task main(){}, OnFwd(Ports, Power), Wait(ms), Off(Ports).&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
task main(){}&lt;/h3&gt;
This is the main function for a NXC program. The program begin from the function.&lt;br /&gt;
&lt;br /&gt;
task main()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
statements.&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
OnFwd(Port/s, Power)&lt;/h3&gt;
This will control the car to forward if you build the orientation of motor as same as the NXC.&lt;br /&gt;
Ports: setting the port or ports (OUT_A,OUT_B,OUT_C,OUT_AB,OUT_AC,OUT_BC,OUT_ABC,) which you want to control.&lt;br /&gt;
Power: setting the power of the motor or motors.&lt;br /&gt;
&lt;br /&gt;
OnFwd(Ports, Power)
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Wait(ms)&lt;/h3&gt;
This will let the car pause for the time which you set.&lt;br /&gt;
&lt;br /&gt;
Wait(ms)
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Off(Port/s)
&lt;/h3&gt;
This will turn off the motor or motors.&lt;br /&gt;
Ports: setting the port or ports (OUT_A,OUT_B,OUT_C,OUT_AB,OUT_AC,OUT_BC,OUT_ABC,) which you want to control.&lt;br /&gt;
&lt;br /&gt;
Off(Ports)
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Example:&lt;/h3&gt;
&lt;br /&gt;
task main()&lt;br /&gt;
{&lt;br /&gt;
OnFwd(OUT_AC,100);&lt;br /&gt;
Wait(1000);&lt;br /&gt;
Off(OUT_AC);&lt;br /&gt;
}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7459869585457974647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7459869585457974647'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/12/car-motion-by-nxc-please-building-basic.html' title='Car motion with NXC'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-7358118938769134793</id><published>2012-05-04T08:11:00.000-07:00</published><updated>2012-05-07T07:09:53.407-07:00</updated><title type='text'>足球機器人 – 射門 Soccer Robot - Shoot</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;Section0&quot; style=&quot;layout-grid: 18.0000pt;&quot;&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 24pt; font-weight: bold;&quot;&gt;足球機器人&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 24pt; font-weight: bold;&quot;&gt;–&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 24pt; font-weight: bold;&quot;&gt;&amp;nbsp;射門&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 24pt; font-weight: bold;&quot;&gt; Soccer Robot - Shoot&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;球門以障礙物作為守門員，所以是一個比較簡單的守門員，一臺機器人使用超音波感應器掃描，找到沒有守門員的地方後射門。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikM6oAmIap1ADdhmrDugkt_T_j70CBdaUaHoaJi_6D-18t7Ny143yNUsUlcVLJ2PsyKcp4Hki1WbwZaGKVhFic0HnSlNSDXBzrjn9nX07rdmW6UCF1NVh4_XCWUrdg5v4e3D8MU89UfdU/s1600/SoccerShoot.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikM6oAmIap1ADdhmrDugkt_T_j70CBdaUaHoaJi_6D-18t7Ny143yNUsUlcVLJ2PsyKcp4Hki1WbwZaGKVhFic0HnSlNSDXBzrjn9nX07rdmW6UCF1NVh4_XCWUrdg5v4e3D8MU89UfdU/s1600/SoccerShoot.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;height: 36px; left: 0px; margin-left: 167.8px; margin-top: 16.4px; position: absolute; width: 66px; z-index: 1;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;height: 100px; left: 0px; margin-left: 200px; margin-top: 8px; position: absolute; width: 194px; z-index: 1;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 16pt; font-weight: bold;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 16pt; font-weight: bold;&quot;&gt;機器人機結構&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;機器人必須能夠掃描到沒有守門員的地方，所以裝超音波的地方必須可以旋轉或移動，射門的時候必須是與超音波同方向，所以機器人可以是一台車子再加上一個射門的裝置或直接用機器人撞球。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 16pt; font-weight: bold;&quot;&gt;機器人程式&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;機器人的動作必須先向一個方向掃描，找到沒有守門員的地方，然後射門。&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;主程式&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;每一個機器人的程式內都必須有一個主工作&lt;span style=&quot;font-family: Calibri;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;程式&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;，這是啟動後第一個執行的程式，就像樹的主幹一樣主導整個程式。機器人可以多工處理&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;多個程式幾乎同時執行&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;，「&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;task&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;」表示這是一個工作，「&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;」表示為主工作，其他工作自定名稱，例如「&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;second()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;」的&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;second&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;是這個工作的名稱，如同樹的其中一個分枝，大括弧&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;{}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;內是這個工作的內容。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;task&amp;nbsp;main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;程式碼&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;等待&lt;span style=&quot;font-family: Calibri;&quot;&gt;Wait&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;程式會卡在「等待」這個指令，直到設定的毫秒數過去&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;Wait(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;毫秒&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;範例：十秒後程式結束&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;task&amp;nbsp;main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;Wait(10000);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;資料型態&amp;nbsp;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Data&amp;nbsp;Type&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;機器人可以處理的資料型態，也就是資料的種類，一般有數值、字元等，數值又有可以放不同大小資料的型態。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table style=&quot;border-collapse: collapse; margin-left: 6.7500pt; margin-right: 6.7500pt; mso-table-layout-alt: fixed; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;型態&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;內容&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;關聯性&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;整數&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;-32768&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;~32767&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;long&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;長整數&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;-2147483648&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;~&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;214748364&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;float&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;浮點數&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;有小數點的數&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;32bits&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;bool&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;布林值&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;邏輯值&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;是&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;/&lt;span style=&quot;font-family: 新細明體;&quot;&gt;否&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;字元&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;8bits&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;字串&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.2500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;一串字元&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;範例：十秒後程式結束&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;task&amp;nbsp;main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;Wait(10000);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;運算&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table style=&quot;border-collapse: collapse; mso-table-layout-alt: fixed; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;運算子&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;符號&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;內容&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;關聯性&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;限制&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;範例&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/group__cstdlib_a_p_i_gafa60b7b723d42d4d0823518b011d2876.html#gafa60b7b723d42d4d0823518b011d2876&quot;&gt;abs()&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;絕對值&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;n/a&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;abs(x)&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 16.1000pt;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/group__cmath_a_p_i_ga90f77c8b3df60383861c2bf620063c74.html#ga90f77c8b3df60383861c2bf620063c74&quot;&gt;sign()&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;回傳正負號&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;n/a&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;sign(x)&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;++,&amp;nbsp;--&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;後置增&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;/&lt;span style=&quot;font-family: 新細明體;&quot;&gt;減&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;只有變數&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x++&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;++,&amp;nbsp;--&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;前置增&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;/&lt;span style=&quot;font-family: 新細明體;&quot;&gt;減&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;右&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;只有變數&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;++x&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;負&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;右&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;-x&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;~&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;位元&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;否&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;右&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;~123&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;!&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;邏輯&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;否&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;右&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;!x&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;*,&amp;nbsp;/,&amp;nbsp;%&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;乘、除、係數&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;*&amp;nbsp;y&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;+,&amp;nbsp;-&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;加、減&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;+&amp;nbsp;y&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&amp;lt;&amp;lt;,&amp;nbsp;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;位元移動左與右&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;&amp;lt;&amp;lt;&amp;nbsp;4&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&amp;lt;,&amp;nbsp;&amp;gt;,&amp;nbsp;&amp;lt;=,&amp;nbsp;&amp;gt;=&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;關係運算子&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;&amp;lt;&amp;nbsp;y&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;==,&amp;nbsp;!=&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;等於、不等於&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;比較&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;==&amp;nbsp;1&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;位元&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;且&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;&amp;amp;&amp;nbsp;y&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;^&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;位元&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&amp;nbsp;互斥或&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;^&amp;nbsp;y&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;位元&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&amp;nbsp;或&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;|&amp;nbsp;y&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;邏輯&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&amp;nbsp;且&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;y&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;||&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;邏輯&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&amp;nbsp;或&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;左&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x&amp;nbsp;||&amp;nbsp;y&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 76.7500pt;&quot; valign=&quot;center&quot; width=&quot;102&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;?:&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 137.7500pt;&quot; valign=&quot;center&quot; width=&quot;183&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;三元值&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 68.4500pt;&quot; valign=&quot;center&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;右&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 70.5000pt;&quot; valign=&quot;center&quot; width=&quot;94&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: none; border-right: 0.5000pt solid rgb(0,0,0); border-top: none; mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: none; mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 61.6500pt;&quot; valign=&quot;center&quot; width=&quot;82&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-autospace: ideograph-other;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;x==1&amp;nbsp;?&amp;nbsp;y&amp;nbsp;:&amp;nbsp;z&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;條件迴圈&amp;nbsp;&lt;span style=&quot;font-family: Calibri;&quot;&gt;while&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;當「條件」成立時重覆執行大括弧&lt;span style=&quot;font-family: Calibri;&quot;&gt;{}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;內的程式碼，例如條件是「還沒走十公分」而程式碼是「走」，機器人就會一直走，直到走了十公分，也就是「還沒走十公分」已經不對了。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;while(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;條件&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;程式碼&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;範例：走十秒後結束程式&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;task&amp;nbsp;main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;Int&amp;nbsp;a;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;a&amp;nbsp;=&amp;nbsp;0;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;while(a&amp;nbsp;&amp;lt;&amp;nbsp;10)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;Wait(1000);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;a&amp;nbsp;=&amp;nbsp;a&amp;nbsp;+&amp;nbsp;1;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 24.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;感應器&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;運用感應器時必須先設定哪個感應器接口連什麼感應器，這裡我們使用超音波感應器及角度感應器，而這次使用馬達內建的角度感應器，不用另外設定，可以直接使用讀取指令。&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 14pt; font-weight: bold;&quot;&gt;設定超音波感應器&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;設定一、二、三或四號為超音波感應器&lt;span style=&quot;font-family: Calibri;&quot;&gt;(Ultrasonic&amp;nbsp;Sensor)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SetSensorUltrasonic(S1/S2/S3/S4);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;範例：設定一號為超音為感應器&lt;span style=&quot;font-family: Calibri;&quot;&gt;(S1/S2/S3/S4=&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;一號&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;二號&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;三號&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;四號&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;因為&lt;span style=&quot;font-family: Calibri;&quot;&gt;S1&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;是一號，所以在括弧中打上&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;S1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SetSensrUltrasonic(S1);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;其他還有觸碰感應器、光學感應器及聲音感應器等…&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SetSensorTouch(&quot;port&quot;);/SetSensor(&quot;port&quot;,&amp;nbsp;SENSOR_TOUCH);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SetSensorLight(&quot;port&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SetSensorSound(&quot;port&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 14pt; font-weight: bold;&quot;&gt;讀取超音波感應器的值&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 14pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;讀取「感應器」&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;一、二、三或四號的值&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;Sensor(S1/S2/S3/S4)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;讀取「超音波感應器」&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;一、二、三或四號的值&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SensorUS(S1/S2/S3/S4)&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;範例：讀取在「一號」的超音波感應器的值&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;因為我們設定一號是超音波感應器，所以讀取一號的值就是讀超音波感應器的值。&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SetSensrUltrasonic(S1);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;SensorUS(S1);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 14pt; font-weight: bold;&quot;&gt;讀取角度感應器的值&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 14pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;因為角度感應器的值從一啟動程式後就開始累計，不想使用累計值或為求保險就必須歸零。&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;ResetRotationCount(OUT_A&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;/OUT_B/OUT_C&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;讀取&lt;span style=&quot;font-family: Calibri;&quot;&gt;A&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;、&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;B&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;或&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;C&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;的角度感應器值&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;MotorRotationCount(OUT_A&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;/OUT_B/OUT_C&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;範例：對&amp;nbsp;&lt;span style=&quot;font-family: Calibri;&quot;&gt;A&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;歸零後讀取&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;A&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;的值&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;若無錯誤，應是讀到「&lt;span style=&quot;font-family: Calibri;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;」&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;ResetRotationCount(OUT_A);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;MotorRotationCount(OUT_A)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 14pt; font-weight: bold;&quot;&gt;感應器應用範例&amp;nbsp;&lt;span style=&quot;font-family: Calibri;&quot;&gt;-&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;擊棒球&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;利用超音波感應器偵測球是否進入擊球區，當超音波感應器讀而小於六公分時表示進入擊球區，此時馬達轉動超過一百八十度後停止。&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;task&amp;nbsp;main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SetSensrUltrasonic(S1);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;while(&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;SensorUS(S1)&amp;nbsp;&amp;gt;&amp;nbsp;6&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;OnFwd(OUT_A,100);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;ResetRotationCount(OUT_A)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;while(&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;MotorRotationCount(OUT_A)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;lt;&amp;nbsp;180&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;*&lt;span style=&quot;font-family: 新細明體;&quot;&gt;前後值比較&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;要找到障礙物，就必須不斷的比較「之前」測到的超音波值及「之後」測到的沼音波值，如果前比後小，就表示超音波的距離值由大到小，也就是從球門轉到障礙物的那一瞬間，這時就找到了障礙物的左邊界&lt;span style=&quot;font-family: Calibri;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;此處是由左向右&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;，而後比前小就代表從障礙物轉到球門的那一瞬間，此時找到了障礙物的右邊界。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMrEFFXum2I_0Qt3hKnMUjoJSKcpo8nnSCJjzzrbNk1CN4o75XOuA7O9p5axiuJFDnLvk3zJpRs27flqUN3BYorwpAmc_mGgMfRNMEv5l7k8ssON4bMMpW0q8MdhSsBk1T_cU5UGhWBA4/s1600/SoccerShoot3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;dist0&lt;span style=&quot;font-family: 新細明體;&quot;&gt;代表「前」值，&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;dist1&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;代表「後」值，&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;deg0&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;記錄「左邊界」，&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;deg1&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;記錄「右邊界」。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaZUZZswaHklsFNt9FW9PSGbe7km04BZ2qfjGMsbPKV-W3x39ZypVoJQqVioi7H_577cPkatALwLsekuWOO3bfVkrwp3N_06wlyHrS5BzCUdRe1IsZ3-UMqbkxfvOuGPhQEB_viHt8oxQ/s1600/SoccerShoot2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaZUZZswaHklsFNt9FW9PSGbe7km04BZ2qfjGMsbPKV-W3x39ZypVoJQqVioi7H_577cPkatALwLsekuWOO3bfVkrwp3N_06wlyHrS5BzCUdRe1IsZ3-UMqbkxfvOuGPhQEB_viHt8oxQ/s1600/SoccerShoot2.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMrEFFXum2I_0Qt3hKnMUjoJSKcpo8nnSCJjzzrbNk1CN4o75XOuA7O9p5axiuJFDnLvk3zJpRs27flqUN3BYorwpAmc_mGgMfRNMEv5l7k8ssON4bMMpW0q8MdhSsBk1T_cU5UGhWBA4/s1600/SoccerShoot3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMrEFFXum2I_0Qt3hKnMUjoJSKcpo8nnSCJjzzrbNk1CN4o75XOuA7O9p5axiuJFDnLvk3zJpRs27flqUN3BYorwpAmc_mGgMfRNMEv5l7k8ssON4bMMpW0q8MdhSsBk1T_cU5UGhWBA4/s1600/SoccerShoot3.png&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;height: 41px; left: 0px; margin-left: 21.6667px; margin-top: 14.2667px; position: absolute; width: 64px; z-index: 1;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;height: 36px; left: 0px; margin-left: 420.6667px; margin-top: 22.9333px; position: absolute; width: 143px; z-index: 1;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;height: 41px; left: 0px; margin-left: 99.8667px; margin-top: 7.5333px; position: absolute; width: 78px; z-index: 1;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;height: 38px; left: 0px; margin-left: 266.9333px; margin-top: 1.6667px; position: absolute; width: 141px; z-index: 1;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;height: 23px; left: 0px; margin-left: 477.8667px; margin-top: 17.0667px; position: absolute; width: 58px; z-index: 1;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;height: 41px; left: 0px; margin-left: 408px; margin-top: 10.6px; position: absolute; width: 78px; z-index: 1;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;height: 41px; left: 0px; margin-left: 332.5333px; margin-top: 10.6667px; position: absolute; width: 64px; z-index: 1;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;找障礙物&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;while(MotorRotationCount(OUT_A)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;180)//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;轉完這個角度後即是描完球門&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;轉彎&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;OnFwd(OUT_A,40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//A&lt;span style=&quot;font-family: 新細明體;&quot;&gt;前&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;OnRev(OUT_C,40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//C&lt;span style=&quot;font-family: 新細明體;&quot;&gt;後&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;取得距離&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;dist0&amp;nbsp;=&amp;nbsp;SensorUS(S1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;取得第一個值&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;Wait(2);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;等&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;2&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;毫秒&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;dist1&amp;nbsp;=&amp;nbsp;SensorUS(S1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;第二個值&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;取得障礙物開始及結束位置&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;if(dist1&amp;nbsp;&amp;lt;&amp;nbsp;dist0)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;後比前小的話，就是找到障礙物的開始&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;deg0&amp;nbsp;=&amp;nbsp;MotorRotationCount(OUT_A);//&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;記&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;錄障礙物的開始&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;if(dist1&amp;nbsp;&amp;gt;&amp;nbsp;dist0)&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;deg1&amp;nbsp;=&amp;nbsp;MotorRotationCount(OUT_A);//&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;記&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;錄障礙物的結束&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;Off(OUT_AC);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;停止&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;射門&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;這時轉&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;走&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;回起點，此時因為已記錄了有障礙物的位置範圍，我們只要在程式寫「當超音波還在障礙物的位置範圍內就不射門」就可以達到在空處射門。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;while(MotorRotationCount(OUT_A)&amp;nbsp;&amp;lt;&amp;nbsp;deg1&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;MotorRotationCount(OUT_A)&amp;nbsp;&amp;gt;&amp;nbsp;deg0)//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;如果在障礙物範圍內就繼續轉&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;反轉彎&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;OnRev(OUT_A,40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//C&lt;span style=&quot;font-family: 新細明體;&quot;&gt;前&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;OnFwd(OUT_C,40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//A&lt;span style=&quot;font-family: 新細明體;&quot;&gt;後&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;NXC&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;足球機器人射門&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 15pt; font-weight: bold;&quot;&gt;範例&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table style=&quot;border-collapse: collapse; mso-table-layout-alt: fixed; padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: 0.5000pt solid rgb(0,0,0); border-left: 0.5000pt solid rgb(0,0,0); border-right: 0.5000pt solid rgb(0,0,0); border-top: 0.5000pt solid rgb(0,0,0); mso-border-bottom-alt: 0.5000pt solid rgb(0,0,0); mso-border-left-alt: 0.5000pt solid rgb(0,0,0); mso-border-right-alt: 0.5000pt solid rgb(0,0,0); mso-border-top-alt: 0.5000pt solid rgb(0,0,0); padding: 0.0000pt 5.4000pt 0.0000pt 5.4000pt; width: 418.1000pt;&quot; valign=&quot;top&quot; width=&quot;557&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;task&amp;nbsp;main()&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;SetSensorUltrasonic(S1);&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;設定&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Port&amp;nbsp;1&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;是超音波感應器&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;int&amp;nbsp;deg0,deg1,dist0,dist1;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;找到障礙物的開始角度，找到障礙物的結束角度，前一個距離，後一個距離&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;ResetRotationCount(OUT_A);//Port&amp;nbsp;A&amp;nbsp;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;角度感應器歸零&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;找障礙物&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;while(MotorRotationCount(OUT_A)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;180)//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;轉完這個角度後即是描完球門&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;轉彎&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;OnFwd(OUT_A,40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//A&lt;span style=&quot;font-family: 新細明體;&quot;&gt;前&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;OnRev(OUT_C,40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//C&lt;span style=&quot;font-family: 新細明體;&quot;&gt;後&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;取得距離&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;dist0&amp;nbsp;=&amp;nbsp;SensorUS(S1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;取得第一個值&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;Wait(2);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;等&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;2&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;毫秒&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;dist1&amp;nbsp;=&amp;nbsp;SensorUS(S1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;第二個值&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;取得障礙物開始及結束位置&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;if(dist1&amp;nbsp;&amp;lt;&amp;nbsp;dist0)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;後比前小的話，就是找到障礙物的開始&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;deg0&amp;nbsp;=&amp;nbsp;MotorRotationCount(OUT_A);//&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;記&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;錄障礙物的開始&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;if(dist1&amp;nbsp;&amp;gt;&amp;nbsp;dist0)&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;deg1&amp;nbsp;=&amp;nbsp;MotorRotationCount(OUT_A);//&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;記&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;錄障礙物的結束&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;Off(OUT_AC);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;停止&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;while(MotorRotationCount(OUT_A)&amp;nbsp;&amp;lt;&amp;nbsp;deg1&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;MotorRotationCount(OUT_A)&amp;nbsp;&amp;gt;&amp;nbsp;deg0)//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;如果在障礙物範圍內就繼續轉&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;反轉彎&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;OnRev(OUT_A,40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//C&lt;span style=&quot;font-family: 新細明體;&quot;&gt;前&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;OnFwd(OUT_C,40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//A&lt;span style=&quot;font-family: 新細明體;&quot;&gt;後&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;Off(OUT_AC);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;停止&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;射門&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&amp;nbsp;OnFwd(OUT_B,100);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&lt;span style=&quot;font-family: 新細明體;&quot;&gt;射門機構轉&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;Wait(200);&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&amp;nbsp;Off(OUT_B);&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7358118938769134793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7358118938769134793'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/05/soccer-robot-shoot.html' title='足球機器人 – 射門 Soccer Robot - Shoot'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikM6oAmIap1ADdhmrDugkt_T_j70CBdaUaHoaJi_6D-18t7Ny143yNUsUlcVLJ2PsyKcp4Hki1WbwZaGKVhFic0HnSlNSDXBzrjn9nX07rdmW6UCF1NVh4_XCWUrdg5v4e3D8MU89UfdU/s72-c/SoccerShoot.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-749940770412675552</id><published>2012-04-14T06:15:00.002-07:00</published><updated>2012-04-14T06:22:01.973-07:00</updated><title type='text'>賽車 Racing</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;機體&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;建立一台簡單的車，可以裝上齒輪組來加速。&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;程式&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;賽車場是一個簡單的方環，賽車比須能跑四個「直角加直線」，我們使用次數迴圈 ( for loop ) 重複四次來精簡程式。&lt;br /&gt;&lt;br /&gt;task main()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;for(int i = 0; i&amp;lt;4; i++ )&lt;br /&gt;{&lt;br /&gt;OnFwd(OUT_AC,100);&lt;br /&gt;Wait(1000);&lt;br /&gt;OnRev(OUT_C,100);&lt;br /&gt;Wait(500);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/749940770412675552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/749940770412675552'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/04/racing.html' title='賽車 Racing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-5901294952009671066</id><published>2012-04-14T06:08:00.005-07:00</published><updated>2012-04-14T06:12:18.754-07:00</updated><title type='text'>重力投石機 Trebuchet</title><content type='html'>又稱回回炮，為中古世紀重要攻城武器，經由重力下拉槓桿，將石塊等物體投向目標。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZdSA5T04VdOAVLGSoEO1gmxQSw_dEm5uCuTKwwXgs44PtkthGOfpuJbBJQ3aCCc6WT5QQik7qTBYWGABGZa_KCvMeIH4CklUhNrM_wyDL_RZwXowOXqWNnCUINJdMoHSYNDGSJllQ5uY/s1600/Trebuchet01.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZdSA5T04VdOAVLGSoEO1gmxQSw_dEm5uCuTKwwXgs44PtkthGOfpuJbBJQ3aCCc6WT5QQik7qTBYWGABGZa_KCvMeIH4CklUhNrM_wyDL_RZwXowOXqWNnCUINJdMoHSYNDGSJllQ5uY/s320/Trebuchet01.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731242746003996786&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhseBaE59gOW1wKptoVrEWAyZUPBoXrYeCOIUWrNyYpSqT3QfZwL3myVeA44XfgzQR_w2vhYrR4CE3gORDeveLqjkoEJhs9Xsw_6kZWBpXAt7v0oDfLZuCVJAGHWL_w1UYlRcGTvmohlJI/s1600/Trebuchet10.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhseBaE59gOW1wKptoVrEWAyZUPBoXrYeCOIUWrNyYpSqT3QfZwL3myVeA44XfgzQR_w2vhYrR4CE3gORDeveLqjkoEJhs9Xsw_6kZWBpXAt7v0oDfLZuCVJAGHWL_w1UYlRcGTvmohlJI/s320/Trebuchet10.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731242746541622738&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMv71q9RvxKK_wmfo5vfrC35_UeCqoyRt8kGltyAL_Rwp5cJMK6z64v_yxvdDCRasxGfKx0K-AifpsvSfv6lmz_cXdtS5s1qNAm71IEu6m1T49H_js6H2ArM8gWZl71p1A4r2WSrUVZFM/s1600/Trebuchet20.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMv71q9RvxKK_wmfo5vfrC35_UeCqoyRt8kGltyAL_Rwp5cJMK6z64v_yxvdDCRasxGfKx0K-AifpsvSfv6lmz_cXdtS5s1qNAm71IEu6m1T49H_js6H2ArM8gWZl71p1A4r2WSrUVZFM/s320/Trebuchet20.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731242758464721938&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRBBD-ZfoR0FLDZio5S1n2Z_HY4holSBFBLyz3T3fbcVfD0Pl-DNbMMDnbF1XM6CU-dMr-X0exYyr9eBGNMfTGP5Fu5dX8j9HeycdEYhO-9PNebOqXafEIJcqPWghEtZIEA9Z-gpFLQwc/s1600/Trebuchet30.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRBBD-ZfoR0FLDZio5S1n2Z_HY4holSBFBLyz3T3fbcVfD0Pl-DNbMMDnbF1XM6CU-dMr-X0exYyr9eBGNMfTGP5Fu5dX8j9HeycdEYhO-9PNebOqXafEIJcqPWghEtZIEA9Z-gpFLQwc/s320/Trebuchet30.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731242761301740754&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPmC1Z7E3xHBdiyiTvgMytn0C85qkkBXbbQKDVOGFsMmI2gUW0Ks42FCkCU507rJXQLWKzKn366dxiDoV8tA5WWjm5amZPpAfrqdQuu-QugH-Hwyrsyto209fGaOSlKnp0O1JqeNpngdQ/s1600/Trebuchet40.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPmC1Z7E3xHBdiyiTvgMytn0C85qkkBXbbQKDVOGFsMmI2gUW0Ks42FCkCU507rJXQLWKzKn366dxiDoV8tA5WWjm5amZPpAfrqdQuu-QugH-Hwyrsyto209fGaOSlKnp0O1JqeNpngdQ/s320/Trebuchet40.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731242767868080914&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCaaR_iio3O9xJkbh_iGNv7UfRy6GIIbj4WMfFQm2kPFvQWLJ1lENPLU5UwQwla28wQsrbFiDergvdQ-hX35-ICZbhL6g7FVVUoF-_Rtw268bWEmviv7WnwrvRcGBdRYutmeptP00r9lQ/s1600/Trebuchet50.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCaaR_iio3O9xJkbh_iGNv7UfRy6GIIbj4WMfFQm2kPFvQWLJ1lENPLU5UwQwla28wQsrbFiDergvdQ-hX35-ICZbhL6g7FVVUoF-_Rtw268bWEmviv7WnwrvRcGBdRYutmeptP00r9lQ/s320/Trebuchet50.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731243029623427730&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOMRqf7tMl9b53zNoefpXoDgMq3nGxdGMh5SL2adekvpZRkmAoj5Iyl1FlXZM5ydEvRlDaikKh7UM2z_5GduwD3cfYvjBRUfDBAeUqpsJOFSo8m6uA4itMEtTbsbyBxxKIb-_TPExRr94/s1600/Trebuchet66.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOMRqf7tMl9b53zNoefpXoDgMq3nGxdGMh5SL2adekvpZRkmAoj5Iyl1FlXZM5ydEvRlDaikKh7UM2z_5GduwD3cfYvjBRUfDBAeUqpsJOFSo8m6uA4itMEtTbsbyBxxKIb-_TPExRr94/s320/Trebuchet66.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731243040167410674&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/5901294952009671066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/5901294952009671066'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/04/blog-post_514.html' title='重力投石機 Trebuchet'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZdSA5T04VdOAVLGSoEO1gmxQSw_dEm5uCuTKwwXgs44PtkthGOfpuJbBJQ3aCCc6WT5QQik7qTBYWGABGZa_KCvMeIH4CklUhNrM_wyDL_RZwXowOXqWNnCUINJdMoHSYNDGSJllQ5uY/s72-c/Trebuchet01.JPG" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-7056445025454913049</id><published>2012-04-14T05:58:00.002-07:00</published><updated>2012-04-14T06:05:06.530-07:00</updated><title type='text'>齒輪組 - 加速與減速</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;大齒輪「轉」小齒輪是加速但降力，加速的倍數是大的齒數除以小的&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRcrjr0yCK0zgiJyIPnrLOx6YqZ7QEcs-5yyOn3NhhNi7KnpTaZxn7l4pXvIB9pzMXdNzSzBSOA5aFE2JjFgFbGLOAR6wrvPIcwMfN6TIk0LmSYFaJ_GPp12x9AO33XDrkIs0E4J7Zpi4/s1600/GearUpDown_21.BMP&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRcrjr0yCK0zgiJyIPnrLOx6YqZ7QEcs-5yyOn3NhhNi7KnpTaZxn7l4pXvIB9pzMXdNzSzBSOA5aFE2JjFgFbGLOAR6wrvPIcwMfN6TIk0LmSYFaJ_GPp12x9AO33XDrkIs0E4J7Zpi4/s320/GearUpDown_21.BMP&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731240880908027218&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;小齒輪「轉」大齒輪是減速但提力，減速的倍數是小的齒數除以大的&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3zS-etMSxcXslKQeKVUszr9LgQXg1CvSsK5sJOC9ViUPDX3HzudukK8yaj7_eEoqkfnuRnzq43hJQypmjcVpE18fUepNl-vF38y_JMp-Z0pvvIo9LytSg7KQebTfstKJFwAYSpCdR2ME/s1600/GearUpDown.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3zS-etMSxcXslKQeKVUszr9LgQXg1CvSsK5sJOC9ViUPDX3HzudukK8yaj7_eEoqkfnuRnzq43hJQypmjcVpE18fUepNl-vF38y_JMp-Z0pvvIo9LytSg7KQebTfstKJFwAYSpCdR2ME/s320/GearUpDown.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731240725978347634&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7056445025454913049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/7056445025454913049'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/04/blog-post_9872.html' title='齒輪組 - 加速與減速'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRcrjr0yCK0zgiJyIPnrLOx6YqZ7QEcs-5yyOn3NhhNi7KnpTaZxn7l4pXvIB9pzMXdNzSzBSOA5aFE2JjFgFbGLOAR6wrvPIcwMfN6TIk0LmSYFaJ_GPp12x9AO33XDrkIs0E4J7Zpi4/s72-c/GearUpDown_21.BMP" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-2596623671561278256</id><published>2012-04-14T05:42:00.004-07:00</published><updated>2012-04-14T05:50:55.282-07:00</updated><title type='text'>差速器  Differential</title><content type='html'>利用行星齒輪，使得兩車輪可以與主動力產生相對運動而讓外車輪加速且內車輪減速，達到過彎穩定的效果。&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWPxf6uPiAX4l1PvM4GWxn-K-zSyh3271DSUhyphenhyphenOE0ATQacKdT0Sphj5d9EOGx3Cz9IB7ABH82WdW12uTKdqlcmdDEHungjjLwoS4luYSwK86-liHOn7S3DaCAOKOkBRZUQo9JmnwGrvII/s1600/Differential21.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWPxf6uPiAX4l1PvM4GWxn-K-zSyh3271DSUhyphenhyphenOE0ATQacKdT0Sphj5d9EOGx3Cz9IB7ABH82WdW12uTKdqlcmdDEHungjjLwoS4luYSwK86-liHOn7S3DaCAOKOkBRZUQo9JmnwGrvII/s320/Differential21.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731236897568796626&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWPxf6uPiAX4l1PvM4GWxn-K-zSyh3271DSUhyphenhyphenOE0ATQacKdT0Sphj5d9EOGx3Cz9IB7ABH82WdW12uTKdqlcmdDEHungjjLwoS4luYSwK86-liHOn7S3DaCAOKOkBRZUQo9JmnwGrvII/s1600/Differential21.JPG&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_KwmUb3wQfZKCrDIEGz7gmyH6ylZlYMUxZyvWRBK-5Dd9z_L3Jem9OqOMn6o7Opwa5HZDi9iYhifSHG2Ha5mYo0v462v9BWLduaD4o4zbj-g6tcNRDjpZCOUzRPThc87EoditJwhL_-Y/s1600/Differential31.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_KwmUb3wQfZKCrDIEGz7gmyH6ylZlYMUxZyvWRBK-5Dd9z_L3Jem9OqOMn6o7Opwa5HZDi9iYhifSHG2Ha5mYo0v462v9BWLduaD4o4zbj-g6tcNRDjpZCOUzRPThc87EoditJwhL_-Y/s320/Differential31.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731236900775132498&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_MNMayA8PqbID5aw1xqPE0yLC_qG5ig4WwnQnZ5IUu-NsKXH1O6Nr2v9981p7LxWSV86rP1L4ArhxfCyPKL2rcD0yaYBR67Is3Zng97KLXDQsDmyAiBvfbJbTU-mTigA02B5C3N1RdmE/s1600/Differential11.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_MNMayA8PqbID5aw1xqPE0yLC_qG5ig4WwnQnZ5IUu-NsKXH1O6Nr2v9981p7LxWSV86rP1L4ArhxfCyPKL2rcD0yaYBR67Is3Zng97KLXDQsDmyAiBvfbJbTU-mTigA02B5C3N1RdmE/s320/Differential11.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731236896525847666&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUUQT4kdmyV32HpKcVbGcHGTOXBl_cMHzErfHI8xydPJ8okAYLnBqm7XcpmtLitEk-pFjKKT_spUx9Q20DCWLFs1smZuacCEFe2TXbUyNgGKNPwb0U2KfG0sU8VM7Oql6sKA71CtbSmOs/s1600/Differential41.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUUQT4kdmyV32HpKcVbGcHGTOXBl_cMHzErfHI8xydPJ8okAYLnBqm7XcpmtLitEk-pFjKKT_spUx9Q20DCWLFs1smZuacCEFe2TXbUyNgGKNPwb0U2KfG0sU8VM7Oql6sKA71CtbSmOs/s320/Differential41.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731236906441994498&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKIvm7YOxssoi-qpPuYGINSNY3KE-rY2U_QGYMiCzjwpompQLQKIHqLo7WI_GiewTkY6ahGUbaPzC7xINVXPSGEyb4ZATPU5IlBqOyewoxIv7EInBei6VqmlHh5uw5C5_G1EetWQ9MuGw/s1600/Differential51.JPG&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKIvm7YOxssoi-qpPuYGINSNY3KE-rY2U_QGYMiCzjwpompQLQKIHqLo7WI_GiewTkY6ahGUbaPzC7xINVXPSGEyb4ZATPU5IlBqOyewoxIv7EInBei6VqmlHh5uw5C5_G1EetWQ9MuGw/s320/Differential51.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731236797506392402&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/2596623671561278256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/2596623671561278256'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/04/differential.html' title='差速器  Differential'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWPxf6uPiAX4l1PvM4GWxn-K-zSyh3271DSUhyphenhyphenOE0ATQacKdT0Sphj5d9EOGx3Cz9IB7ABH82WdW12uTKdqlcmdDEHungjjLwoS4luYSwK86-liHOn7S3DaCAOKOkBRZUQo9JmnwGrvII/s72-c/Differential21.JPG" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-1512306490880943400</id><published>2012-04-14T05:15:00.002-07:00</published><updated>2012-04-14T05:30:28.405-07:00</updated><title type='text'>解一元二次</title><content type='html'>&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;這裡我們使用公式解&lt;br /&gt;&lt;br /&gt;打入公式&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-u-_wgvfmE85Jatw865xC3sp1sdL52vrjOhL9TyitGWCJO_aLG-dPAJXI1fC4-3SI4G_v0TcyvUdHiFmANGvWh5vC6YW97RqBECk4XmV9fQMwcpmxy5EFcWGoU8FFxpFaUHOfi2wS4U0/s1600/xxFormula.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 142px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-u-_wgvfmE85Jatw865xC3sp1sdL52vrjOhL9TyitGWCJO_aLG-dPAJXI1fC4-3SI4G_v0TcyvUdHiFmANGvWh5vC6YW97RqBECk4XmV9fQMwcpmxy5EFcWGoU8FFxpFaUHOfi2wS4U0/s320/xxFormula.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731232790797569026&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;輸出  x1, x2 兩個根，畫面停留一秒。&lt;br /&gt;&lt;br /&gt;task main()&lt;/span&gt;&lt;br  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;{&lt;/span&gt;&lt;br  style=&quot;font-family:arial;&quot;&gt;&lt;br  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;int a,b,c,x1,x2;&lt;/span&gt;&lt;br  style=&quot;font-family:arial;&quot;&gt;&lt;br  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;x1 = (-b + sqrt(b*b - 4*a*c))/2*a&lt;/span&gt;&lt;br  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;x2 =  (-b - sqrt(b*b - 4*a*c))/2*a&lt;/span&gt;&lt;br style=&quot;font-family: arial;&quot;&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;w:worddocument&gt;&lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;&lt;w:displayhorizontaldrawinggridevery&gt;0&lt;/w:DisplayHorizontalDrawingGridEvery&gt;&lt;w:displayverticaldrawinggridevery&gt;2&lt;/w:DisplayVerticalDrawingGridEvery&gt;&lt;w:documentkind&gt;DocumentNotSpecified&lt;/w:DocumentKind&gt;&lt;w:drawinggridverticalspacing&gt;7.8&lt;/w:DrawingGridVerticalSpacing&gt;&lt;w:view&gt;Normal&lt;/w:View&gt;&lt;w:compatibility&gt;&lt;/w:Compatibility&gt;&lt;w:zoom&gt;0&lt;/w:Zoom&gt;&lt;/w:WordDocument&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;p class=&quot;p0&quot;  style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-size:10.5pt;&quot;&gt;TextOut(0, 0, &quot;x1 = &quot;);&lt;/span&gt;&lt;span style=&quot;font-size:10.5pt;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p0&quot; face=&quot;arial&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify; &quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;&lt;w:worddocument&gt;&lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;&lt;w:displayhorizontaldrawinggridevery&gt;0&lt;/w:DisplayHorizontalDrawingGridEvery&gt;&lt;w:displayverticaldrawinggridevery&gt;2&lt;/w:DisplayVerticalDrawingGridEvery&gt;&lt;w:documentkind&gt;DocumentNotSpecified&lt;/w:DocumentKind&gt;&lt;w:drawinggridverticalspacing&gt;7.8&lt;/w:DrawingGridVerticalSpacing&gt;&lt;w:view&gt;Normal&lt;/w:View&gt;&lt;w:compatibility&gt;&lt;/w:Compatibility&gt;&lt;w:zoom&gt;0&lt;/w:Zoom&gt;&lt;/w:WordDocument&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;/p&gt;&lt;p class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot; ;font-family:arial;font-size:10.5pt;&quot;  &gt;NumOut(0,40, n);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify; font-family: arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-size:10.5pt;&quot;&gt;TextOut(8, 0, &quot;x2 = &quot;);&lt;/span&gt;&lt;span style=&quot;font-size:10.5pt;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot; ;font-family:arial;font-size:10.5pt;&quot;  &gt;NumOut(8,40, n);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot; ;font-family:arial;font-size:10.5pt;&quot;  &gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot; ;font-family:arial;font-size:10.5pt;&quot;  &gt;Wait(1000)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;p0&quot; style=&quot;margin-bottom:0pt; margin-top:0pt; text-align:justify; &quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot; ;font-family:arial;font-size:10.5pt;&quot;  &gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;mso-spacerun:&#39;yes&#39;;   font-family:&#39;新細明體&#39;;font-size:10.5000pt;&quot;  &gt;&lt;/span&gt;&lt;/p&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/1512306490880943400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/1512306490880943400'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/04/blog-post_14.html' title='解一元二次'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-u-_wgvfmE85Jatw865xC3sp1sdL52vrjOhL9TyitGWCJO_aLG-dPAJXI1fC4-3SI4G_v0TcyvUdHiFmANGvWh5vC6YW97RqBECk4XmV9fQMwcpmxy5EFcWGoU8FFxpFaUHOfi2wS4U0/s72-c/xxFormula.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-4706825019480399402</id><published>2012-04-14T05:12:00.003-07:00</published><updated>2012-04-14T05:40:57.292-07:00</updated><title type='text'>雙軌跡車</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhHY02MQkYbH047lqDmuHDm62nvjugOrjAIUGfC3VkIQa-BelleYWgN2YiqumimDyJZxbNepwUm_N9XCYst7cH6wAKjUIzYBwxIhFCmsHl_SPeQR7OsT7g7AvN-Pn1ucHMcjrROJ4J-N8/s1600/2LightTracingNXTG.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 270px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhHY02MQkYbH047lqDmuHDm62nvjugOrjAIUGfC3VkIQa-BelleYWgN2YiqumimDyJZxbNepwUm_N9XCYst7cH6wAKjUIzYBwxIhFCmsHl_SPeQR7OsT7g7AvN-Pn1ucHMcjrROJ4J-N8/s320/2LightTracingNXTG.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731235374977513570&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7OWbV5KNL_wJJcQpw4MxgA1L92zUDZdNGR4g-kzDcrbhKDgdurP4cAck6gXT2VhVCwXb2ARHKFLB__j5_t2nby_4fT9lsXOpK8kV1K79ZzGNJKxW-gYKOZcNYqeSmntpE10OP_MTwOcM/s1600/2LightTracingRL.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 125px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7OWbV5KNL_wJJcQpw4MxgA1L92zUDZdNGR4g-kzDcrbhKDgdurP4cAck6gXT2VhVCwXb2ARHKFLB__j5_t2nby_4fT9lsXOpK8kV1K79ZzGNJKxW-gYKOZcNYqeSmntpE10OP_MTwOcM/s320/2LightTracingRL.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731235383171867906&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;task main()&lt;br /&gt;{&lt;br /&gt;SetSensor(S1,LIGHT);&lt;br /&gt;SetSensor(S3,LIGTH);&lt;br /&gt;&lt;br /&gt;while(true)&lt;br /&gt;{&lt;br /&gt;if(S1&amp;lt;40)&lt;br /&gt;{&lt;br /&gt;OnRev(OUT_A,100);&lt;br /&gt;OnFwd(OUT_C,100);&lt;br /&gt;}&lt;br /&gt;if(S3&amp;lt;40)&lt;br /&gt;{&lt;br /&gt;OnFwd(OUT_A,100);&lt;br /&gt;OnFwd(OUT_C,100);&lt;br /&gt;}&lt;br /&gt;if(S1 &amp;gt; 40 &amp;amp;&amp;amp; S3 &amp;gt; 40)&lt;br /&gt;{&lt;br /&gt;OnFwd(OUT_AC,100)&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/4706825019480399402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/4706825019480399402'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/04/blog-post.html' title='雙軌跡車'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhHY02MQkYbH047lqDmuHDm62nvjugOrjAIUGfC3VkIQa-BelleYWgN2YiqumimDyJZxbNepwUm_N9XCYst7cH6wAKjUIzYBwxIhFCmsHl_SPeQR7OsT7g7AvN-Pn1ucHMcjrROJ4J-N8/s72-c/2LightTracingNXTG.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-6771987267444470976</id><published>2012-04-14T04:43:00.006-07:00</published><updated>2012-05-25T08:30:58.199-07:00</updated><title type='text'>NXC RPG - 角色建立</title><content type='html'>&lt;div class=&quot;Section0&quot; style=&quot;layout-grid: 15.6000pt;&quot;&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;NXC RPG&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;角色&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 21.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;一個角色具有許多屬性，每一個角色的不同就在於這些屬性的參數變化，例如男性角色和女性角色的區別就在於「性別」這一個屬性不同而不一樣，所以我們可以建立一個角色模版，這個模版可以具有血量、魔力、技能等屬性…之後便可以使用這個模版調整參數來建立一個新角色。&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 21.0000pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;本次使用的程式語法&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;程式開始與結束&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;開始&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; ( &lt;span style=&quot;font-family: 新細明體;&quot;&gt;類似&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;Robolab&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;的綠燈，&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;NXT-G&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;的開頭 &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;task name(){&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;結束&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; ( &lt;span style=&quot;font-family: 新細明體;&quot;&gt;類似&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;Robolab&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;的紅燈，&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;NXT-G&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;的結尾 &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;：&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 100%; font-weight: bold;&quot;&gt;l &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;task&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;表示程式任務&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 100%; font-weight: bold;&quot;&gt;l &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;是分工的名稱，主程式必須使用&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;main&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 100%; font-weight: bold;&quot;&gt;l &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;表示指令的開始 &lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;所有的流程指令適用 &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Wingdings; font-size: 100%; font-weight: bold;&quot;&gt;l &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;表示指令的結束 &lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;( &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;所有的流程指令適用 &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;範例&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;task main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;wait(1000);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;主程式執行一秒後 &lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;[ wait(1000) ] &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;結束&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;結構&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;struct &lt;span style=&quot;font-family: 新細明體;&quot;&gt;名稱&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;{};&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;「結構」可以建立使用者想要建立的東西的模版，在&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;struct&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;的大括號中建立我們想設計屬性。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;名稱&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;：這個結構的名稱&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;範例&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;struct person&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; string name;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; int age;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;};&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;task main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;person new;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;new.name = &quot;New person&quot;;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;new.age = 10;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;設定&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;struct person{}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;為一個「人&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;(person)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;」的結構，具有「名字&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;(name)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;」、「年齡&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;(age)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;」，在主程式中建立一個人名字 &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&quot;New person&quot;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;、年齡&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;歲&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;時間等待&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;Wait(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;毫秒&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;等待 「設定的」「毫秒」後才執行下一個指令&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;螢幕顯示&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;TextOut(x&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;, y&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;文字&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;顯示模示&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;「文字顯示」可以讓使用者顯示文字在螢幕上的任意位置。&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpjOJlWoVxrIEGK_Fp-y_W4yDibIY52R6hMo54Lfq5_aw-wWTGJ65u0VTCY4WiEGPim8S-lh9PvCxuIN6Y2Ka7rvQrtmS5Oacmqn6UBBYUDqOKj1veWjx1f_jwm4RebHQrKVkd6rEhlaY/s1600/Display.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5731222798209306210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpjOJlWoVxrIEGK_Fp-y_W4yDibIY52R6hMo54Lfq5_aw-wWTGJ65u0VTCY4WiEGPim8S-lh9PvCxuIN6Y2Ka7rvQrtmS5Oacmqn6UBBYUDqOKj1veWjx1f_jwm4RebHQrKVkd6rEhlaY/s320/Display.png&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 148px; margin: 0px auto 10px; text-align: center; width: 196px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;x&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;：螢幕上的&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;y&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;：螢幕上的&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;y&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;文字&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;：想要顯示的文字 &lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&quot;Text&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;顯示模式&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;：預設為一般模式，可以不輸入&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;範例&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQc5BC48TUdx7lEVUtTjiLF-qxRzd84l6xnChfOwDq2AuuDwRjBAd0NXoopUzy3Pqnwj1YNQMdbt_LpsOF9iE53ZDBoadLlB7HqJ94JKQDxjF38lyyZCQgZS-WFLX_wwNQ6XETRudLTgQ/s1600/TextExp.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5731222962597981122&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQc5BC48TUdx7lEVUtTjiLF-qxRzd84l6xnChfOwDq2AuuDwRjBAd0NXoopUzy3Pqnwj1YNQMdbt_LpsOF9iE53ZDBoadLlB7HqJ94JKQDxjF38lyyZCQgZS-WFLX_wwNQ6XETRudLTgQ/s320/TextExp.png&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 148px; margin: 0px auto 10px; text-align: center; width: 196px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;task main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;TextOut(0, 0, &quot;Hello&quot;);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;wait(1000);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;在螢幕上左下角顯示 &lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&quot;Hello&quot; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;文字一秒&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;NumOut(x&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;, y&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;數字&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;顯示模示&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;「數值顯示」可以讓使用者顯示數值在螢幕上的任意位置。&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: right;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpjOJlWoVxrIEGK_Fp-y_W4yDibIY52R6hMo54Lfq5_aw-wWTGJ65u0VTCY4WiEGPim8S-lh9PvCxuIN6Y2Ka7rvQrtmS5Oacmqn6UBBYUDqOKj1veWjx1f_jwm4RebHQrKVkd6rEhlaY/s1600/Display.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5731222798209306210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpjOJlWoVxrIEGK_Fp-y_W4yDibIY52R6hMo54Lfq5_aw-wWTGJ65u0VTCY4WiEGPim8S-lh9PvCxuIN6Y2Ka7rvQrtmS5Oacmqn6UBBYUDqOKj1veWjx1f_jwm4RebHQrKVkd6rEhlaY/s320/Display.png&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 148px; margin: 0px auto 10px; text-align: center; width: 196px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;x&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;：螢幕上的&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;x&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;y&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;：螢幕上的&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;y&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;座標&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;文字&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;：想要顯示的數值&amp;nbsp;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&quot;Number&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;顯示模式&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;：預設為一般模式，可以不輸入&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;範例&lt;/span&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgid3krszOZz0G3VBZiNs8Lrqo_6NsJtatPaO-4UeXotKUPPcHAeUEfluu94IppHGm-ZkXU5670FJhbdWnGoNjhAeEu2dI7NqzNPb6fGcCT7xsYHKqoRCrSrN4ewBABWrpm5zvwMUvO8tU/s1600/NumExp.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5731223109498884018&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgid3krszOZz0G3VBZiNs8Lrqo_6NsJtatPaO-4UeXotKUPPcHAeUEfluu94IppHGm-ZkXU5670FJhbdWnGoNjhAeEu2dI7NqzNPb6fGcCT7xsYHKqoRCrSrN4ewBABWrpm5zvwMUvO8tU/s320/NumExp.png&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 148px; margin: 0px auto 10px; text-align: center; width: 196px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;task main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;int n = 100;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;NumOut(0, 0, n);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;wait(1000);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;在螢幕上左下角顯示&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;n&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;所代表的數字 &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;(100) &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;一秒&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;迴圈&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;while(&lt;span style=&quot;font-family: 新細明體;&quot;&gt;條件&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;){}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;當條件成立時執行迴圈，所以將「條件」打 &lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&quot;ture&quot; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;即會形成一個永久迴圈&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;範例程式&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;建立一個叫&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;New&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;、攻擊力&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;、防禦力&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;、血量&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;及魔力&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;的角色，並且每&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;0.2&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;秒更新一次，每&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;0.2&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;便加&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;滴血&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;struct person&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;string name;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;int atk;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;int def;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;int hp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;int mp;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;};&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;task main()&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; person character;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; character.name = &quot;New&quot;;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; character.atk = 20;&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; character.def = 20; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; character.hp = 100; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; character.mp = 100; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; while(true)&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; {&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;  TextOut(0, 0, character.name);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;  NumOut(0,12,character atk);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;  NumOut(0,24,character.def);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;  NumOut(0,36,character.hp);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;  NumOut(0,48,character.mp);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;  wait(200);&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;  character.hp = character.hp + 1; &lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt; }&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 100%;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: 新細明體; font-size: 10.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/6771987267444470976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/6771987267444470976'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2012/04/nxc-rpg.html' title='NXC RPG - 角色建立'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpjOJlWoVxrIEGK_Fp-y_W4yDibIY52R6hMo54Lfq5_aw-wWTGJ65u0VTCY4WiEGPim8S-lh9PvCxuIN6Y2Ka7rvQrtmS5Oacmqn6UBBYUDqOKj1veWjx1f_jwm4RebHQrKVkd6rEhlaY/s72-c/Display.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-4552604866067592622</id><published>2011-12-12T04:53:00.004-08:00</published><updated>2012-04-14T05:11:05.810-07:00</updated><title type='text'>基本車架 Basic Car</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPI8igXyEPzWb4ZA286FHzEFvHERLYj-keVRWD1A1b5MLCURWR8eoWmmbsB9NcAcANrn0GFxhUiBJT0H43uQlin2Esd6TQa_S91G48Y_T-_ZvN9l0jMNCZ7WFGKG1WGbKKTjqNUQoOsWI/s1600/BasicCar_Parts.BMP&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPI8igXyEPzWb4ZA286FHzEFvHERLYj-keVRWD1A1b5MLCURWR8eoWmmbsB9NcAcANrn0GFxhUiBJT0H43uQlin2Esd6TQa_S91G48Y_T-_ZvN9l0jMNCZ7WFGKG1WGbKKTjqNUQoOsWI/s320/BasicCar_Parts.BMP&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5685224669886916194&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWxp59MkZ-sIq3R4p3jNX3gjxMpzosyszR5MOhaAkPqZbkzaYI6nXrfR6HCsTG2tvXXkZ9ZC3LyZwfwzImG1ByZyeJB20xJXjRoEfOwn2_lu47T1gQplbwQe2COAPHPypRzC90kpfl8B8/s1600/BasicCar05.BMP&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWxp59MkZ-sIq3R4p3jNX3gjxMpzosyszR5MOhaAkPqZbkzaYI6nXrfR6HCsTG2tvXXkZ9ZC3LyZwfwzImG1ByZyeJB20xJXjRoEfOwn2_lu47T1gQplbwQe2COAPHPypRzC90kpfl8B8/s320/BasicCar05.BMP&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731224612959632546&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgljd4AJ3QzPXMrqeqX83Tb5HV0Hyk5oLvvuE1LLtoxFi47ILokyf-53AZ_bJBr4V6m3XY70nJIOfVeiqTwLzniDZzVPk7doRKMAa3rCC6TR-Lgj8pjbPG4Qdo9FFx0jsUADQbY9gZVetw/s1600/BasicCar10.BMP&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgljd4AJ3QzPXMrqeqX83Tb5HV0Hyk5oLvvuE1LLtoxFi47ILokyf-53AZ_bJBr4V6m3XY70nJIOfVeiqTwLzniDZzVPk7doRKMAa3rCC6TR-Lgj8pjbPG4Qdo9FFx0jsUADQbY9gZVetw/s320/BasicCar10.BMP&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731224615865314770&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3jud5n8X71Fbsb3zGeih39JCTtNmmCHvD0OUEyPr-iZsh3gkeOtMYZhdwJ771eheJrRw_YyRwOc4eayTWW6_yhzLp52FO4jkPjg_EpsZoj02MKvREk0Lwu0zyiqV_6LGCrIkog_m_H_U/s1600/BasicCar15.BMP&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3jud5n8X71Fbsb3zGeih39JCTtNmmCHvD0OUEyPr-iZsh3gkeOtMYZhdwJ771eheJrRw_YyRwOc4eayTWW6_yhzLp52FO4jkPjg_EpsZoj02MKvREk0Lwu0zyiqV_6LGCrIkog_m_H_U/s320/BasicCar15.BMP&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731224619803804210&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFAeR9QZKiRvX2qAKzcuhPmlDVnpnR8bWu3zfhZD072mfHmdIsJ8TyTLd0HYG-ww4106aUY-E5eFo61VOUzjlBaC9V_cK4xH5IITBuJRfN0gP4NwnsjF_013ZzcyMZXkOJEuZxnEaz8gk/s1600/BasicCar21.BMP&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFAeR9QZKiRvX2qAKzcuhPmlDVnpnR8bWu3zfhZD072mfHmdIsJ8TyTLd0HYG-ww4106aUY-E5eFo61VOUzjlBaC9V_cK4xH5IITBuJRfN0gP4NwnsjF_013ZzcyMZXkOJEuZxnEaz8gk/s320/BasicCar21.BMP&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5731221485561453106&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/4552604866067592622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/4552604866067592622'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2011/12/basic-car.html' title='基本車架 Basic Car'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPI8igXyEPzWb4ZA286FHzEFvHERLYj-keVRWD1A1b5MLCURWR8eoWmmbsB9NcAcANrn0GFxhUiBJT0H43uQlin2Esd6TQa_S91G48Y_T-_ZvN9l0jMNCZ7WFGKG1WGbKKTjqNUQoOsWI/s72-c/BasicCar_Parts.BMP" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-8320620112776113109</id><published>2011-07-21T00:59:00.000-07:00</published><updated>2011-07-21T01:05:07.356-07:00</updated><title type='text'>軌跡車</title><content type='html'>1.建立一台光源感應器裝在前端中間偏右的車子&lt;br /&gt;2.程式&lt;br /&gt;Robolab&lt;br /&gt;NXT-G&lt;br /&gt;NXC&lt;br /&gt;&lt;br /&gt;task main()&lt;br /&gt;{&lt;br /&gt;SetSensor(S1,SENSOR_LIGHT);&lt;br /&gt;while(ture)&lt;br /&gt;{&lt;br /&gt;if(Sensor(S1) &amp;lt; 40)&lt;br /&gt;{&lt;br /&gt;OnFwd(OUT_C,100);&lt;br /&gt;OnRev(OUT_A,100);&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;OnFwd(OUT_AC,100);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/8320620112776113109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/8320620112776113109'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2011/07/blog-post_21.html' title='軌跡車'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-8762681865260023368</id><published>2011-07-21T00:40:00.000-07:00</published><updated>2013-07-09T23:08:30.086-07:00</updated><title type='text'>Touch My heart</title><content type='html'>1.準備一個NXT可使用之愛心圖檔&lt;br /&gt;
2.程式&lt;br /&gt;
Robolab&lt;br /&gt;
NXT-G&lt;br /&gt;
NXC&lt;br /&gt;
&lt;br /&gt;
task main()&lt;br /&gt;
{&lt;br /&gt;
SetSensor(S1,SENSOR_TOUCH);&lt;br /&gt;
while(true)&lt;br /&gt;
{&lt;br /&gt;
if(Sensor(S1) == 1)&lt;br /&gt;
{&lt;br /&gt;
GraphicOut(0,0,heart.ric);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
ResetScreen();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/8762681865260023368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/8762681865260023368'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2011/07/touch-my-heart.html' title='Touch My heart'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-6360863298475375128</id><published>2011-07-21T00:20:00.000-07:00</published><updated>2011-07-21T01:01:58.830-07:00</updated><title type='text'>直衝車</title><content type='html'>1.建立一台簡單的車&lt;br /&gt;&lt;br /&gt;2.程式&lt;br /&gt;Robolab&lt;br /&gt;NXT-G&lt;br /&gt;NXC&lt;br /&gt;語法&lt;br /&gt;&lt;br /&gt;OnFwd(byte outputs, char pwr)&lt;br /&gt;&lt;br /&gt;byte outputs：輸出端 ( OUT_X, X = A, B, C, AB, AC, BC, ABC)&lt;br /&gt;&lt;br /&gt;char pwr ：電力大小 (0 ~ 100)&lt;br /&gt;&lt;br /&gt;範例&lt;br /&gt;&lt;br /&gt;A、C馬達以電力100直線前進，直到程式關閉後停止&lt;br /&gt;&lt;br /&gt;task main()&lt;br /&gt;{&lt;br /&gt;while(true)&lt;br /&gt;{&lt;br /&gt;OnFwd(OUT_AC,100);&lt;br /&gt;}&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/6360863298475375128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/6360863298475375128'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2011/07/blog-post.html' title='直衝車'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-3985346171393502129</id><published>2011-07-21T00:06:00.000-07:00</published><updated>2011-07-21T01:01:42.800-07:00</updated><title type='text'>Hello World! (Display &quot;Hello World&quot; on NXT)</title><content type='html'>如何在NXT的螢幕上顯示文字？&lt;br /&gt;&lt;br /&gt;Robolab&lt;br /&gt;&lt;br /&gt;NXT-G&lt;br /&gt;&lt;br /&gt;NXC&lt;br /&gt;&lt;br /&gt;語法&lt;br /&gt;&lt;br /&gt;TextOut(int x,int y,string str,unsigned long options)&lt;br /&gt;&lt;br /&gt;int x：文字 x 座標 ( 0 ~ 100 )&lt;br /&gt;int y：文字 y 座標 ( 0 ~ 64 )&lt;br /&gt;string str ：想顯示的文字&lt;br /&gt;unsigned long options ：顯示模式&lt;br /&gt;&lt;br /&gt;範例&lt;br /&gt;&lt;br /&gt;持續顯示「Hello World!」在左上角，直到程式關閉。&lt;br /&gt;&lt;br /&gt;task main()&lt;br /&gt;{&lt;br /&gt; while(true)&lt;br /&gt; {&lt;br /&gt;   TextOut(0,0,&quot;Hello World!&quot;);&lt;br /&gt; }&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/3985346171393502129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/3985346171393502129'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2011/07/hello-world-display-hello-world-on-nxt.html' title='Hello World! (Display &quot;Hello World&quot; on NXT)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8469933695156010816.post-3807613682975230087</id><published>2007-12-02T00:51:00.000-08:00</published><updated>2008-02-15T20:34:44.272-08:00</updated><title type='text'>ROBOLAB 2.9.4 升級來囉~！</title><content type='html'>&lt;strong&gt;&lt;a name=&quot;whatisnewfixed&quot; id=&quot;whatisnewfixed&quot;&gt;&lt;/a&gt;&lt;u&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;來源 LEGO Engineering: &lt;/span&gt;&lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.legoengineering.com/&quot;&gt;http://www.legoengineering.com/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;下載位置：(&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;strong style=&quot;font-weight: bold;&quot;&gt;Easy Installer&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;u&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PC&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://www.legoengineering.com/patches/RL294Patch_PC_Final.zip&quot;&gt;http://www.legoengineering.com/patches/RL294Patch_PC_Final.zip&lt;/a&gt;&lt;/u&gt;&lt;/strong&gt;&lt;strong&gt;&lt;u&gt;&lt;br /&gt;&lt;br /&gt;Mac&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;&lt;a href=&quot;http://www.legoengineering.com/patches/RL294Patch_MAC_Final.zip&quot;&gt;http://www.legoengineering.com/patch&lt;/a&gt;&lt;/u&gt;&lt;/strong&gt;&lt;strong&gt;&lt;u&gt;&lt;a href=&quot;http://www.legoengineering.com/patches/RL294Patch_MAC_Final.zip&quot;&gt;es/RL294Patch_MAC_Final.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;新增和修正&lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;table style=&quot;border-collapse: separate; width: 681px; height: 1165px;&quot; align=&quot;center&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width=&quot;376&quot; style=&quot;vertical-align: top;&quot;&gt;&lt;p&gt;1. VISTA 可支援 NXT 了 &lt;/p&gt;&lt;br /&gt;        &lt;p&gt;2.支援 NXT 對 NXT 使用藍牙通訊 了。使用信件圖示。&lt;/p&gt;&lt;br /&gt;        &lt;p&gt;&lt;a onBlur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiOOEYNEFTZ6MzZ5OPLiGyKe2XuE6zAHt3ZK-sYAppG99zjUwegZH-BYJYoqwDNP54Fa_D0AjJV5w5-nSxUdIapMiR6KTxul98wWLG2av06urJDrj2rFU-WQMHOZoboZ15DHB1p60JmKY/s1600-h/mail_nxt.gif&quot;&gt;&lt;img style=&quot;cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiOOEYNEFTZ6MzZ5OPLiGyKe2XuE6zAHt3ZK-sYAppG99zjUwegZH-BYJYoqwDNP54Fa_D0AjJV5w5-nSxUdIapMiR6KTxul98wWLG2av06urJDrj2rFU-WQMHOZoboZ15DHB1p60JmKY/s400/mail_nxt.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5167429291500329602&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;        &lt;br /&gt;        &lt;p&gt;3. 支援游標感應器&lt;/p&gt;&lt;br /&gt;        &lt;p&gt; &lt;a onBlur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjALJPDIWihinnToEvWV3S3rFgYza1MM4oPSU2yCiG2WxsRHfoCOT1IyVqVMNWI4MrIYfNNZy8W-Fmf1_ijor73D5ANgUTUs4r8vPdrb_ICOTssttKDTXqlNcf3Fjto6UHkFfART_A2sEI/s1600-h/vernier.gif&quot;&gt;&lt;img style=&quot;cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjALJPDIWihinnToEvWV3S3rFgYza1MM4oPSU2yCiG2WxsRHfoCOT1IyVqVMNWI4MrIYfNNZy8W-Fmf1_ijor73D5ANgUTUs4r8vPdrb_ICOTssttKDTXqlNcf3Fjto6UHkFfART_A2sEI/s400/vernier.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5167429373104708242&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;        &lt;p&gt;4. 改善 RCX 韌體下載可靠度 &lt;/p&gt;&lt;br /&gt;        &lt;p&gt;5. 新增運算函式 (sqrt, log10, log, asin, acos, abs, modulo)&lt;/p&gt;&lt;br /&gt;        &lt;p&gt;&lt;a onBlur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2pcNN80NaFehFq9E5xi_R5fuHe9ZkziaVK1QaPketHzAm81SyDyqMjrEYVD6UKVelpe5woj6eYXLFdaZyfKISFvhXO5y1i_P9yMOiWSU6kSqz356Tm_oyZe8B6tYzdC56vv5SdmYWWqM/s1600-h/evaluate_expression.gif&quot;&gt;&lt;img style=&quot;cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2pcNN80NaFehFq9E5xi_R5fuHe9ZkziaVK1QaPketHzAm81SyDyqMjrEYVD6UKVelpe5woj6eYXLFdaZyfKISFvhXO5y1i_P9yMOiWSU6kSqz356Tm_oyZe8B6tYzdC56vv5SdmYWWqM/s200/evaluate_expression.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5167429222780852850&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;        &lt;p&gt;6. 支援 NXT 顯示 BIG 字體和置中 &lt;/p&gt;&lt;br /&gt;        &lt;p&gt;7. 支援在 NXT 螢幕任意處繪圖 &lt;/p&gt;&lt;br /&gt;        &lt;p&gt;8.當 NXT 下載時，有一個即時的升級影像在 NXT 螢幕&lt;/p&gt;&lt;br /&gt;        &lt;p&gt;9. 修正浮點數比較錯誤 &lt;/p&gt;&lt;br /&gt;        &lt;p&gt;10. 更快的 NXT 子程式&lt;/p&gt;&lt;br /&gt;        &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;        &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;td width=&quot;295&quot; style=&quot;vertical-align: top;&quot;&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/3807613682975230087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8469933695156010816/posts/default/3807613682975230087'/><link rel='alternate' type='text/html' href='http://legomss.blogspot.com/2007/12/robolab-294.html' title='ROBOLAB 2.9.4 升級來囉~！'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiOOEYNEFTZ6MzZ5OPLiGyKe2XuE6zAHt3ZK-sYAppG99zjUwegZH-BYJYoqwDNP54Fa_D0AjJV5w5-nSxUdIapMiR6KTxul98wWLG2av06urJDrj2rFU-WQMHOZoboZ15DHB1p60JmKY/s72-c/mail_nxt.gif" height="72" width="72"/></entry></feed>