slide0058.htm
来自「可作为课程设计或者毕业设计 也可以作为学校精品课程网站使用」· HTM 代码 · 共 481 行 · 第 1/2 页
HTM
481 行
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:p="urn:schemas-microsoft-com:office:powerpoint"
xmlns:oa="urn:schemas-microsoft-com:office:activation"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name=ProgId content=PowerPoint.Slide>
<meta name=Generator content="Microsoft PowerPoint 11">
<link id=Main-File rel=Main-File href="../z7.htm">
<link rel=Preview href=preview.wmf>
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
p\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
v\:textbox {display:none;}
</style>
<![endif]-->
<title>第七章 过程和变量的作用域</title>
<meta name=Description content=2008-3-24>
<link rel=Stylesheet href="master04_stylesheet.css">
<!--[if gte IE 5]>
<object id=MSOANIM classid="CLSID:A4639D2F-774E-11D3-A490-00C04F6843FB"></object>
<object id=MSOTIME classid="CLSID:A4639D29-774E-11D3-A490-00C04F6843FB"></object>
<![endif]-->
<![if !ppt]>
<style media=print>
<!--.sld
{left:0px !important;
width:6.0in !important;
height:4.5in !important;
font-size:107% !important;}
-->
</style>
<style>
<!--
oa\:* { BEHAVIOR: url(#MSOANIM#ANIM) url(#MSOTIME#TIME) }
oa\:par,oa\:seq,oa\:iterate { BEHAVIOR:url(#MSOTIME) }
oa\:video,oa\:audio {BEHAVIOR:url(#MSOTIME) url(#MSOTIME#MEDIA) }
-->
</style>
<script src=script.js></script><script><!--
if( !IsNts() ) Redirect( "PPTSld" );
//--></script><script><!--
g_animItemsToHide=new Array("_x0000_s132098_328_336","_x0000_s132098_299_328","_x0000_s132098_270_299","_x0000_s132098_262_270","_x0000_s132098_232_262","_x0000_s132098_206_232","_x0000_s132098_170_206","_x0000_s132098_133_170","_x0000_s132098_104_133","_x0000_s132098_96_104","_x0000_s132098_61_96","_x0000_s132098_37_61","_x0000_s132098_0_37");
//--></script><!--[if vml]><script>g_vml = 1;
</script><![endif]--><![endif]><o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="129"/>
</o:shapelayout>
</head>
<body lang=ZH-CN style='margin:0px;background-color:black'
onclick="DocumentOnClick()" onresize="_RSW()" onload="LoadSld()"
onkeypress="_KPH()" oa:clockstart="onstart">
<div id=SlideObj class=sld style='position:absolute;top:0px;left:0px;
width:534px;height:400px;font-size:16px;background-color:#E3DDBB;background-image:
url("master04_image001.jpg");clip:rect(0%, 101%, 101%, 0%);visibility:hidden'><p:slide
coordsize="720,540"
colors="#ffffff,#000000,#808080,#482400,#dfd6c3,#d69b80,#993300,#666600"
masterhref="master04.xml">
<p:shaperange href="master04.xml#_x0000_s185345"/><![if !ppt]><p:shaperange
href="master04.xml#_x0000_s185346"/><![if !vml]><img border=0
v:shapes="_x0000_s185346" src="master04_image005.jpg" style='position:absolute;
top:0%;left:0%;width:7.49%;height:100.0%'><![endif]><p:shaperange
href="master04.xml#_x0000_s185348"/><p:shaperange
href="master04.xml#_x0000_s185349"/><![endif]><v:shapetype id="_x0000_t202"
coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
<v:stroke joinstyle="miter"/>
<v:path gradientshapeok="t" o:connecttype="rect"/>
</v:shapetype><v:shape id="_x0000_s132098" type="#_x0000_t202" style='position:absolute;
left:61.75pt;top:49.625pt;width:658.25pt;height:418.375pt;v-text-anchor:middle'
filled="f" stroked="f" strokecolor="black [1]">
<v:textbox style='mso-fit-shape-to-text:t'/>
<p:animation number="1" delay="0" type="text" level="1" effect="fly"
direction="left" flag="17408"/></v:shape>
<div v:shape="_x0000_s132098" class=O>
<div id="_x0000_s132098_0_37" style='mso-line-spacing:"110 0 0";position:absolute;
top:10.25%;left:9.55%;width:96.25%;height:5.5%;white-space:nowrap'><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:blue;mso-fareast-language:ZH-CN'><b>Public Temp As Integer<span
style='mso-spacerun:yes'> </span>' </b></span><span
style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
宋体;mso-hansi-font-family:"Courier New";color:blue'><b>定义全局变量</b></span><span
style='mso-bidi-font-family:"Courier New"'><span style='font-family:宋体;
mso-ascii-font-family:"Courier New";mso-fareast-font-family:宋体;mso-hansi-font-family:
"Courier New";color:blue;display:none'><b> </b></span></span></div>
<div id="_x0000_s132098_37_61" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:16.25%;left:9.55%;width:46.06%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#993300;mso-color-index:6;mso-fareast-language:ZH-CN'><b>Private Sub
Form_Load() </b></span></nobr></div>
<div id="_x0000_s132098_61_96" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:22.0%;left:9.55%;width:81.64%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#993300;mso-color-index:6;mso-fareast-language:ZH-CN'><b>Temp = 1<span
style='mso-spacerun:yes'> </span>' </b></span><span
style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
宋体;mso-hansi-font-family:"Courier New";color:#993300;mso-color-index:6'><b>将全局变量</b></span><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#993300;mso-color-index:6;mso-fareast-language:ZH-CN'><b>Temp </b></span><span
style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
宋体;mso-hansi-font-family:"Courier New";color:#993300;mso-color-index:6'><b>的值设置成</b></span><span
style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#993300;mso-color-index:6'><b> 1 </b></span></nobr></div>
<div id="_x0000_s132098_96_104" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:28.0%;left:9.55%;width:14.23%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#993300;mso-color-index:6;mso-fareast-language:ZH-CN'><b>End Sub </b></span></nobr></div>
<div id="_x0000_s132098_104_133" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:33.75%;left:9.55%;width:55.99%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#9900FF;mso-fareast-language:ZH-CN'><b>Private Sub Command1_Click() </b></span></nobr></div>
<div id="_x0000_s132098_133_170" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:39.75%;left:9.55%;width:80.14%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#9900FF;mso-fareast-language:ZH-CN'><b>Dim Temp As Integer<span
style='mso-spacerun:yes'>
</span>' </b></span><span style='font-family:宋体;mso-ascii-font-family:"Courier New";
mso-fareast-font-family:宋体;mso-hansi-font-family:"Courier New";color:#9900FF'><b>定义局部变量</b></span><span
style='mso-bidi-font-family:"Courier New"'><span style='font-family:宋体;
mso-ascii-font-family:"Courier New";mso-fareast-font-family:宋体;mso-hansi-font-family:
"Courier New";color:#9900FF;display:none'><b> </b></span></span></nobr></div>
<div id="_x0000_s132098_170_206" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:45.5%;left:9.55%;width:83.52%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#9900FF;mso-fareast-language:ZH-CN'><b>Temp = 2<span
style='mso-spacerun:yes'> </span>' </b></span><span
style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
宋体;mso-hansi-font-family:"Courier New";color:#9900FF'><b>将局部变量</b></span><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#9900FF;mso-fareast-language:ZH-CN'><b>Temp </b></span><span
style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
宋体;mso-hansi-font-family:"Courier New";color:#9900FF'><b>的值设置成</b></span><span
style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#9900FF'><b> 2 </b></span></nobr></div>
<div id="_x0000_s132098_206_232" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:51.24%;left:9.55%;width:46.06%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#9900FF;mso-fareast-language:ZH-CN'><b><span
style='mso-spacerun:yes'> </span>Print "temp=";
Temp<span style='mso-spacerun:yes'> </span> </b></span></nobr></div>
<div id="_x0000_s132098_232_262" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:57.25%;left:9.55%;width:58.05%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#9900FF;mso-fareast-language:ZH-CN'><b><span
style='mso-spacerun:yes'> </span>Print "temp=";
Form1.Temp </b></span></nobr></div>
<div id="_x0000_s132098_262_270" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:63.0%;left:9.55%;width:14.23%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:#9900FF;mso-fareast-language:ZH-CN'><b>End Sub </b></span></nobr></div>
<div id="_x0000_s132098_270_299" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:69.0%;left:9.55%;width:55.99%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:red;mso-fareast-language:ZH-CN'><b>Private Sub Command2_Click() </b></span></nobr></div>
<div id="_x0000_s132098_299_328" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:74.75%;left:9.55%;width:46.06%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:red;mso-fareast-language:ZH-CN'><b><span
style='mso-spacerun:yes'> </span>Print "temp=";
Temp<span style='mso-spacerun:yes'> </span> </b></span></nobr></div>
<div id="_x0000_s132098_328_336" style='text-align:justify;mso-line-spacing:
"110 0 0";position:absolute;top:80.75%;left:9.55%;width:14.23%;height:5.5%'><nobr><span
lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
mso-bidi-font-family:"Courier New";mso-hansi-font-family:"Courier New";
color:red;mso-fareast-language:ZH-CN'><b>End Sub</b></span></nobr></div>
</div>
<v:rect id="_x0000_s132100" href="javascript:parent.GoToPrevSld()" style='position:absolute;
left:503pt;top:495pt;width:53pt;height:30pt;mso-wrap-style:none;
v-text-anchor:middle' filled="f" fillcolor="#dfd6c3 [4]" stroked="f"
strokecolor="black [1]">
<v:fill color2="white [0]" o:detectmouseclick="t"/>
<v:shadow color="gray [2]"/>
<p:onmouseclick jump="previousSlide"/></v:rect><v:rect id="_x0000_s132101"
href="javascript:parent.GoToNextSld()" style='position:absolute;left:574pt;
top:496pt;width:53pt;height:30pt;mso-wrap-style:none;v-text-anchor:middle'
filled="f" fillcolor="#dfd6c3 [4]" stroked="f" strokecolor="black [1]">
<v:fill color2="white [0]" o:detectmouseclick="t"/>
<v:shadow color="gray [2]"/>
<p:onmouseclick jump="nextSlide"/></v:rect><v:rect id="_x0000_s132102"
href="javascript:parent.GoToFirst()" style='position:absolute;left:646pt;
top:496pt;width:53pt;height:30pt;mso-wrap-style:none;v-text-anchor:middle'
filled="f" fillcolor="#dfd6c3 [4]" stroked="f" strokecolor="black [1]">
<v:fill color2="white [0]" o:detectmouseclick="t"/>
<v:shadow color="gray [2]"/>
<p:onmouseclick jump="firstSlide"/></v:rect><![if !vml]><map name="map_s6"><area
href="javascript:parent.GoToFirst()" onclick="window.event.cancelBubble=true;"
shape=rect coords="106, 0, 145, 23"><area
href="javascript:parent.GoToNextSld()"
onclick="window.event.cancelBubble=true;" shape=rect
coords="53, 0, 92, 23"><area href="javascript:parent.GoToPrevSld()"
onclick="window.event.cancelBubble=true;" shape=rect
coords="0, 0, 39, 22"></map><![endif]><![if !vml]><img border=0
v:shapes="_x0000_s132100,_x0000_s132101,_x0000_s132102"
src="slide0058_image024.gif" usemap="#map_s6" style='position:absolute;
top:91.75%;left:69.85%;width:27.52%;height:6.25%'><![endif]></p:slide></div>
<p:animation number="-1306013186"/><oa:par id="TimeNode0" dur="indefinite"
restart="never" p:nodeType="timingRoot">
<oa:seq id="TimeNode1" dur="indefinite" prev="document.onpptprev"
next="document.onpptnext" concurrent="enabled" nextAction="seek"
p:nodeType="mainSeq">
<oa:par id="TimeNode2" begin="indefinite" fill="hold">
<oa:par id="TimeNode3" begin="0.0" fill="hold">
<oa:par id="TimeNode4" o:presetID="ppt_2" o:presetClass="entrance"
o:presetSubType="0x8" begin="0.0" fill="hold" o:groupID="0"
p:nodeType="clickEffect">
<oa:set id="TimeNode5" begin="0.0" dur="0.001" fill="hold"
targetElement="_x0000_s132098_0_37" attributeName="style.visibility"
to="visible"/>
<oa:animate id="TimeNode6" dur="0.5" fill="hold"
targetElement="_x0000_s132098_0_37" additive="base" attributeName="ppt_x"
calcmode="linear" valueType="number" keyTimes="0.0;1.0"
values="0-#ppt_w/2;#ppt_x"/>
<oa:animate id="TimeNode7" dur="0.5" fill="hold"
targetElement="_x0000_s132098_0_37" additive="base" attributeName="ppt_y"
calcmode="linear" valueType="number" keyTimes="0.0;1.0"
values="#ppt_y;#ppt_y"/>
</oa:par>
</oa:par>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?