slide0124.htm

来自「可作为课程设计或者毕业设计 也可以作为学校精品课程网站使用」· HTM 代码 · 共 166 行

HTM
166
字号
<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="../z6.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 !ppt]>
<style media=print>
<!--.sld
	{left:0px !important;
	width:6.0in !important;
	height:4.5in !important;
	font-size:107% !important;}
-->
</style>
<script src=script.js></script><script><!--
if( !IsNts() ) Redirect( "PPTSld" );
//--></script><!--[if vml]><script>g_vml = 1;
</script><![endif]--><![endif]><o:shapelayout v:ext="edit">
 <o:idmap v:ext="edit" data="126"/>
</o:shapelayout>
</head>

<body lang=ZH-CN style='margin:0px;background-color:black'
onclick="DocumentOnClick()" onresize="_RSW()" onload="LoadSld()"
onkeypress="_KPH()">

<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_s167937"/><![if !ppt]><p:shaperange
  href="master04.xml#_x0000_s167938"/><![if !vml]><img border=0
 v:shapes="_x0000_s167938" src="master04_image005.jpg" style='position:absolute;
 top:0%;left:0%;width:7.49%;height:100.0%'><![endif]><p:shaperange
  href="master04.xml#_x0000_s167940"/><p:shaperange
  href="master04.xml#_x0000_s167941"/><![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_s129026" type="#_x0000_t202" style='position:absolute;
  left:66pt;top:24pt;width:642pt;height:317.75pt' filled="f" fillcolor="#dfd6c3 [4]"
  stroked="f" strokecolor="black [1]">
  <v:fill color2="white [0]"/>
  <v:shadow color="gray [2]"/>
  <v:textbox style='mso-fit-shape-to-text:t'/>
 </v:shape><v:shape id="_x0000_s129027" type="#_x0000_t202" style='position:absolute;
  left:54pt;top:5in;width:642pt;height:149.875pt' filled="f" fillcolor="#dfd6c3 [4]"
  stroked="f" strokecolor="black [1]">
  <v:fill color2="white [0]"/>
  <v:shadow color="gray [2]"/>
  <v:textbox style='mso-fit-shape-to-text:t'/>
 </v:shape>
 <div v:shape="_x0000_s129026" class=O>
 <div style='text-align:justify;mso-line-spacing:"130 10 0";position:absolute;
 top:6.75%;left:10.11%;width:87.26%;height:19.0%'><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>(</b></span><span lang=EN-US
 style='mso-fareast-language:ZH-CN'><b>2</b></span><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>)形式参数列表:形式参数通常简称</b></span><b>“</b><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>形参</b></span><b>”</b><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>,仅表示形参的类型、个数、位置,定义时是无值的,只有在过程被调用时,虚实参结合后才获得相应的值。&#13;</b></span></div>
 <div style='text-align:justify;mso-line-spacing:"130 10 0";position:absolute;
 top:28.0%;left:10.11%;width:65.54%;height:5.25%'><nobr><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>(</b></span><span lang=EN-US
 style='mso-fareast-language:ZH-CN'><b>3</b></span><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>)过程可以无形式参数,但括号不能省。</b></span><span
 style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
 display:none'><b>&#13;</b></span></nobr></div>
 <div style='text-align:justify;mso-line-spacing:"130 10 0";position:absolute;
 top:35.5%;left:10.11%;width:35.39%;height:5.25%'><nobr><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>(</b></span><span lang=EN-US
 style='mso-fareast-language:ZH-CN'><b>4</b></span><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>)参数的定义形式:&#13;</b></span></nobr></div>
 <div style='text-align:justify;mso-line-spacing:"130 10 0";position:absolute;
 top:42.5%;left:10.11%;width:76.96%;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";color:red;mso-fareast-language:ZH-CN'><b>[ByVal</b></span><span
 style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
 宋体;mso-hansi-font-family:"Courier New";color:red'><b>|</b></span><span
 lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-bidi-font-family:"Courier New";color:red;mso-fareast-language:ZH-CN'><b>ByRef]</b></span><span
 style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
 宋体;mso-hansi-font-family:"Courier New";color:red'><b>变量名</b></span><span
 lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-bidi-font-family:"Courier New";color:red;mso-fareast-language:ZH-CN'><b>[(
 )][As </b></span><span style='font-family:宋体;mso-ascii-font-family:"Courier New";
 mso-fareast-font-family:宋体;mso-hansi-font-family:"Courier New";color:red'><b>类型</b></span><span
 lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-bidi-font-family:"Courier New";color:red;mso-fareast-language:ZH-CN'><b>][,</b></span><span
 lang=EN-US style='mso-ascii-font-family:"Courier New";mso-bidi-font-family:
 "Courier New";color:red;mso-fareast-language:ZH-CN'><b>…</b></span><span
 lang=EN-US style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-bidi-font-family:"Courier New";color:red;mso-fareast-language:ZH-CN'><b>]</b></span><span
 style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
 宋体;mso-hansi-font-family:"Courier New";color:red'><b>,</b></span><span
 style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
 color:red;display:none'><b>&#13;</b></span></nobr></div>
 <div style='mso-line-spacing:"130 10 0"'><span style='position:absolute;
 top:50.5%;left:10.11%;width:103.37%;height:5.25%'><span lang=EN-US
 style='mso-fareast-language:ZH-CN'><b>ByVal</b></span><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>表示当该过程被调用时,参数是按值传递的;缺省或</b></span></span><span
 style='position:absolute;top:57.25%;left:10.11%;width:95.31%;height:5.25%'><span
 lang=EN-US style='mso-fareast-language:ZH-CN'><b>ByRef</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>表示当该过程被调用时,参数是按地址传递的。</b></span><b>
 </b></span></div>
 </div>
 <div v:shape="_x0000_s129027" class=O>
 <div style='position:absolute;top:67.75%;left:8.42%;width:87.26%;height:5.25%'><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>例</b></span><span
 lang=EN-US style='mso-fareast-language:ZH-CN'><b>6.1</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>编一个交换两个整型变量值的子过程。</b></span><span
 style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
 display:none'><b>&#13;</b></span></div>
 <div style='text-align:justify;position:absolute;top:72.75%;left:8.42%;
 width:86.14%;height:5.25%'><nobr><span lang=EN-US style='font-family:"Courier New";
 mso-ascii-font-family:"Courier New";mso-bidi-font-family:"Courier New";
 font-size:96%;mso-fareast-language:ZH-CN'><b>Private Sub Swap( X As Integer, Y
 As Integer)&#13;</b></span></nobr></div>
 <div style='text-align:justify;position:absolute;top:78.0%;left:8.42%;
 width:44.75%;height:5.5%'><nobr><span style='font-family:宋体;mso-ascii-font-family:
 "Courier New";mso-fareast-font-family:宋体;mso-hansi-font-family:"Courier New"'><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-fareast-language:ZH-CN'><b>Dim temp As
 Integer&#13;</b></span></nobr></div>
 <div style='text-align:justify;position:absolute;top:83.25%;left:8.42%;
 width:49.43%;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-fareast-language:ZH-CN'><b><span style='mso-spacerun:yes'>&nbsp; </span></b></span><span
 style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
 宋体;mso-hansi-font-family:"Courier New"'><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-fareast-language:ZH-CN'><b>Temp=X : X=Y
 : Y=Temp&#13;</b></span></nobr></div>
 <div style='text-align:justify;position:absolute;top:88.5%;left:8.42%;
 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-fareast-language:ZH-CN'><b>End Sub</b></span><span lang=EN-US
 style='font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-language:ZH-CN;
 mso-special-format:lastCR;display:none'><b>&#13;</b></span></nobr></div>
 </div>
</p:slide></div>

</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?