阅读:4355回复:14
Mapbasic参考手册(简介)
<P><FONT size=3>徐祖舰<FONT face="Times New Roman"> </FONT>译<FONT face="Times New Roman"> </FONT></FONT></P>
<P><FONT size=3>地理信息系统世界<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>一<FONT face="Times New Roman"> </FONT>从功能查函数和语句<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>二<FONT face="Times New Roman"> </FONT>各个语句和函数的功能说明<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>三<FONT face="Times New Roman"> </FONT>参考手册原文关于句法字体的约定<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3><FONT face="Times New Roman"> </FONT></FONT> <p> <P><FONT size=3><FONT face="Times New Roman">Mapbasic</FONT>参考手册索引<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3><FONT face="Times New Roman"> <p></FONT></FONT> <p> <P><FONT size=3>这本手册对<FONT face="Times New Roman">MapBasic </FONT>编程语言中的每个语句和函数都进行了详细说明<FONT face="Times New Roman">, </FONT>要学习<FONT face="Times New Roman">MapBasic </FONT>语言编程的基本概念或者要学习开发环境的应用<FONT face="Times New Roman">,</FONT>请参考《用户手册》<FONT face="Times New Roman">. </FONT></FONT></P> <P><FONT size=3><FONT face="Times New Roman"> <p></FONT></FONT> <p> <P><FONT size=3>一<FONT face="Times New Roman">.Mapbasic</FONT>语言概述<FONT face="Times New Roman"> TOP </FONT></FONT></P> <P><FONT size=3><FONT face="Times New Roman">1.</FONT>基本语法<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>变量<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>声明局部变量和全局变量<FONT face="Times New Roman"> Dim,Global </FONT></FONT></P> <P><FONT size=3>扩大或缩小数组变量<FONT face="Times New Roman"> Redim,Ubound(),UnDim </FONT></FONT></P> <P><FONT size=3>声明定制的数据结构<FONT face="Times New Roman"> Type </FONT></FONT></P> <P><FONT size=3>循环和分枝<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>循环<FONT face="Times New Roman"> For...Next,Exit for,Do...Loop,Exit Do,While...Wend </FONT></FONT></P> <P><FONT size=3>分枝<FONT face="Times New Roman"> If...Then,Do Case,Go To </FONT></FONT></P> <P><FONT size=3>其它流程控制<FONT face="Times New Roman"> End Program,Terminate Application,End Mapinfo </FONT></FONT></P> <P><FONT size=3>输出和打印<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>打印窗口内容<FONT face="Times New Roman"> PrintWin </FONT></FONT></P> <P><FONT size=3>输出文本到信息窗口<FONT face="Times New Roman"> Print </FONT></FONT></P> <P><FONT size=3>设置页面窗口<FONT face="Times New Roman"> Layout,Create Frame,Set Window </FONT></FONT></P> <P><FONT size=3>输出一个窗口内容到文件中<FONT face="Times New Roman"> Save Window </FONT></FONT></P> <P><FONT size=3>过程<FONT face="Times New Roman">(Mn</FONT>和<FONT face="Times New Roman">Saiubs) </FONT></FONT></P> <P><FONT size=3>定义一个过程<FONT face="Times New Roman"> Declare Sub,Sub...End Sub </FONT></FONT></P> <P><FONT size=3>调用一个过程<FONT face="Times New Roman"> Call </FONT></FONT></P> <P><FONT size=3>退出一个过程<FONT face="Times New Roman"> Exit Sub </FONT></FONT></P> <P><FONT size=3><FONT face="Times New Roman">Main</FONT>过程<FONT face="Times New Roman"> Main </FONT></FONT></P> <P><FONT size=3>错误处理<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>设置一个错误控制<FONT face="Times New Roman"> OnError </FONT></FONT></P> <P><FONT size=3>返回当前错误信息<FONT face="Times New Roman"> Err(),Error$() </FONT></FONT></P> <P><FONT size=3>从错误处理器返回<FONT face="Times New Roman"> Resume </FONT></FONT></P> <P><FONT size=3>摸拟一个错误<FONT face="Times New Roman"> Error </FONT></FONT></P> <P><FONT size=3><FONT face="Times New Roman">2.</FONT>函数<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>定制函数<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>定义一个定制函数<FONT face="Times New Roman"> Declare Function,Function...End Function </FONT></FONT></P> <P><FONT size=3>退出一个函数<FONT face="Times New Roman"> Exit Function </FONT></FONT></P> <P><FONT size=3>数据转换函数<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>转换字符串为代码的函数<FONT face="Times New Roman"> Asc() </FONT></FONT></P> <P><FONT size=3>转换代码为字符串的函数<FONT face="Times New Roman"> Chr$() </FONT></FONT></P> <P><FONT size=3>转换字符串为数字的函数<FONT face="Times New Roman"> Val() </FONT></FONT></P> <P><FONT size=3>数字转换成字符串的函数<FONT face="Times New Roman"> Str$(),Format$() </FONT></FONT></P> <P><FONT size=3>把数字或字符串转换成日期的函数<FONT face="Times New Roman"> NumberToDate(),StringToDate() </FONT></FONT></P> <P><FONT size=3>对象类型转换函数<FONT face="Times New Roman"> ConvertToRegion(),ConvertToPline() </FONT></FONT></P> <P><FONT size=3>字符串比较函数<FONT face="Times New Roman"> Like(),StringCompare(),StringCompareIntl() </FONT></FONT></P> <P><FONT size=3>重复字符串序列<FONT face="Times New Roman"> Space$(),String$() </FONT></FONT></P> <P><FONT size=3>把标注转换为文本的函数<FONT face="Times New Roman"> Lablelinfo() </FONT></FONT></P> <P><FONT size=3>日期和时间函数<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>获取当前日期<FONT face="Times New Roman"> CurDate() </FONT></FONT></P> <P><FONT size=3>抽取日期的某个部分<FONT face="Times New Roman"> Day(),Month(),Weekday(),Year() </FONT></FONT></P> <P><FONT size=3>获取系统时间<FONT face="Times New Roman"> Timer() </FONT></FONT></P> <P><FONT size=3>数值或字符串转换成日期函数<FONT face="Times New Roman"> NumberToDate(),StrintToDate()</FONT>,<FONT face="Times New Roman">FormatDate$() </FONT></FONT></P> <P><FONT size=3>数学函数<FONT face="Times New Roman"> </FONT></FONT></P> <P><FONT size=3>三角函数<FONT face="Times New Roman"> Cos(),Sin(),Tan(),Acos(),Asin(),Atn() </FONT></FONT></P> <P><FONT size=3>地理函数<FONT face="Times New Roman"> Area(),Perimeter(),Distance(),ObjectLen() </FONT></FONT></P> <P><FONT size=3>随机函数<FONT face="Times New Roman"> Randomize,Rnd() </FONT></FONT></P> <P><FONT size=3>符号函数<FONT face="Times New Roman"> Abs(),Sgn() </FONT></FONT></P> <P><FONT size=3>取整函数<FONT face="Times New Roman"> Fix(),Int(),Round() </FONT></FONT></P> <P><FONT size=3>其它数学函数<FONT face="Times New Roman"> Exp(),Log(),Minimum(),Maximum(),Sqr() </FONT></FONT></P> <P><FONT size=3></FONT></P> [此贴子已经被作者于2004-10-15 23:14:08编辑过]
|
|
1楼#
发布于:2004-10-15 23:05
续
<P ><FONT size=3><FONT face="Times New Roman">3.</FONT>字符串函数<FONT face="Times New Roman"> </FONT></FONT></P>
<P ><FONT size=3>大小写函数<FONT face="Times New Roman"> UCase$(),LCase(),Proper$() </FONT></FONT></P> <P ><FONT size=3>子串查找函数<FONT face="Times New Roman"> InStr() </FONT></FONT></P> <P ><FONT size=3>字符串提取函数<FONT face="Times New Roman"> Left$(),Right$(),Mid$(),MidByte$() </FONT></FONT></P> <P ><FONT size=3>删除字符串首尾空格函数<FONT face="Times New Roman"> LTrim$(),RTrim$() </FONT></FONT></P> <P ><FONT size=3>把数值格式化为字符串<FONT face="Times New Roman"> Format$(),Str$(),Set Format, </FONT></FONT></P> <P ><FONT size=3>测定字符串长度<FONT face="Times New Roman"> Len() </FONT></FONT></P> <P ><FONT size=3>把字符转换为代码<FONT face="Times New Roman"> Chr$(),Asc$() </FONT></FONT></P> <P ><FONT size=3>字符串比较函数<FONT face="Times New Roman"> Like(),StringCompare(),StringCompareIntl() </FONT></FONT></P> <P ><FONT size=3>重复字符串序列<FONT face="Times New Roman"> Space$(),String$() </FONT></FONT></P> <P ><FONT size=3>获取单位名<FONT face="Times New Roman"> UnitAbbr$(),UnitName$() </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">4.</FONT>表的操作<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>建立和编辑表<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>打开一个已存在的表<FONT face="Times New Roman"> Open Table </FONT></FONT></P> <P ><FONT size=3>关闭一个或多个表<FONT face="Times New Roman"> Close Table,Close All </FONT></FONT></P> <P ><FONT size=3>建立一个新的空表<FONT face="Times New Roman"> Creat Table </FONT></FONT></P> <P ><FONT size=3>把一个文件转换为一个表<FONT face="Times New Roman"> Register Table </FONT></FONT></P> <P ><FONT size=3>表<FONT face="Times New Roman">/</FONT>文件的输入<FONT face="Times New Roman">/</FONT>输出<FONT face="Times New Roman"> Import,Export </FONT></FONT></P> <P ><FONT size=3>修改表的结构<FONT face="Times New Roman"> Alter Table,Add Column,Creat Index,Drop Index,Creat Map,Drop Map </FONT>增加<FONT face="Times New Roman">,</FONT>编辑或删除行<FONT face="Times New Roman"> Insert,Update,Delete </FONT></FONT></P> <P ><FONT size=3>整理表<FONT face="Times New Roman">(</FONT>删除空记录行<FONT face="Times New Roman">) Pack Table </FONT></FONT></P> <P ><FONT size=3>控制表设置<FONT face="Times New Roman"> Set Table </FONT></FONT></P> <P ><FONT size=3>保存表的最新编辑<FONT face="Times New Roman"> Commit Table </FONT></FONT></P> <P ><FONT size=3>放弃表的最新编辑<FONT face="Times New Roman"> Rollback </FONT></FONT></P> <P ><FONT size=3>重命名一个表<FONT face="Times New Roman"> Rename Table </FONT></FONT></P> <P ><FONT size=3>删除一个表<FONT face="Times New Roman"> Drop Table </FONT></FONT></P> <P ><FONT size=3>表的查询<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>定位行光标<FONT face="Times New Roman"> Fetch,EOT() </FONT></FONT></P> <P ><FONT size=3>迭择数据<FONT face="Times New Roman">,</FONT>操作选择命令<FONT face="Times New Roman"> Select,SelectionInfo() </FONT></FONT></P> <P ><FONT size=3>按地址查找图对象<FONT face="Times New Roman"> Find,Find Using,CommandInfo() </FONT></FONT></P> <P ><FONT size=3>按位置查找图对象<FONT face="Times New Roman"> SearchPoint(),SearchRect(),SearchInfo() </FONT></FONT></P> <P ><FONT size=3>获取表的信息<FONT face="Times New Roman"> NumTables(),TableInfo() </FONT></FONT></P> <P ><FONT size=3>获取列的信息<FONT face="Times New Roman"> NumCols(),ColumnINfo() </FONT></FONT></P> <P ><FONT size=3>查询一个表的元数据<FONT face="Times New Roman"> GetMetadata$(),Metadata </FONT></FONT></P> <P ><FONT size=3>查询无缝表<FONT face="Times New Roman"> TableInfo(),GetSeamlessSheet() </FONT></FONT></P> <P ><FONT size=3>远程数据操作<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>与服务器通讯<FONT face="Times New Roman"> Server_Connect() </FONT></FONT></P> <P ><FONT size=3>开始远程服务器操作<FONT face="Times New Roman"> Server Begin Transaction </FONT></FONT></P> <P ><FONT size=3>分配本机内存<FONT face="Times New Roman"> Server Bind Column </FONT></FONT></P> <P ><FONT size=3>获取列信息<FONT face="Times New Roman"> Server_ColumnInfo(),Server_NumCols() </FONT></FONT></P> <P ><FONT size=3>发送一个<FONT face="Times New Roman">SQL</FONT>语句<FONT face="Times New Roman"> Server_Execute() </FONT></FONT></P> <P ><FONT size=3>定位行光标<FONT face="Times New Roman"> Server Fetch,Server_EOT() </FONT></FONT></P> <P ><FONT size=3>保存变化<FONT face="Times New Roman"> Server Commit </FONT></FONT></P> <P ><FONT size=3>放弃改变<FONT face="Times New Roman"> Server Rollback </FONT></FONT></P> <P ><FONT size=3>释放远程资源<FONT face="Times New Roman"> Server Close </FONT></FONT></P> <P ><FONT size=3>把远程数据变为可成图的<FONT face="Times New Roman"> Server Creat Map </FONT></FONT></P> <P ><FONT size=3>改变对象格式<FONT face="Times New Roman"> Server Ser Map </FONT></FONT></P> <P ><FONT size=3>使联结表同步<FONT face="Times New Roman"> Server Refresh </FONT></FONT></P> <P ><FONT size=3>建立一个联结表<FONT face="Times New Roman"> Server Link Table </FONT></FONT></P> <P ><FONT size=3>断开联结表<FONT face="Times New Roman"> Unlink </FONT></FONT></P> <P ><FONT size=3>取消与服器的联结<FONT face="Times New Roman"> Server Disconnect </FONT></FONT></P> <P ><FONT size=3>恢复驱动器信息<FONT face="Times New Roman"> Server_DriverInfo(),Server_NumDrivers() </FONT></FONT></P> <P ><FONT size=3>获取<FONT face="Times New Roman">QELib</FONT>的联结句柄<FONT face="Times New Roman"> Server_GetqeHConn() </FONT></FONT></P> <P ><FONT size=3>获取<FONT face="Times New Roman">QELib</FONT>的语句句柄<FONT face="Times New Roman"> Server_GetqeHStmt() </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ODBC</FONT>联结<FONT face="Times New Roman"> Server_GetodbcHConn(),Server_GetodbcHStmt() </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">5.</FONT>非表文件操作<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>文件的输入与输出<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>打开或建立一个文件<FONT face="Times New Roman"> Open File </FONT></FONT></P> <P ><FONT size=3>关闭一个文件<FONT face="Times New Roman"> Close File </FONT></FONT></P> <P ><FONT size=3>删除一个文件<FONT face="Times New Roman"> Kill </FONT></FONT></P> <P ><FONT size=3>重命名一个文件<FONT face="Times New Roman"> Rename File </FONT></FONT></P> <P ><FONT size=3>复制一个文件<FONT face="Times New Roman"> Save File </FONT></FONT></P> <P ><FONT size=3>从文件中读取数据<FONT face="Times New Roman"> Get,Seek,Input #,Line Input # </FONT></FONT></P> <P ><FONT size=3>向一个文件写入数据<FONT face="Times New Roman"> Put,Print #,Write # </FONT></FONT></P> <P ><FONT size=3>测定一个文件的状态<FONT face="Times New Roman"> EOF(),LOF(),SeeK(),FileAttr(),FileExists() </FONT></FONT></P> <P ><FONT size=3>转变一个文件成表<FONT face="Times New Roman"> Register Table </FONT></FONT></P> <P ><FONT size=3>克服共享错误<FONT face="Times New Roman"> Set File Timeout </FONT></FONT></P> <P ><FONT size=3>文件与目录<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>返回系统目录<FONT face="Times New Roman"> ProgramDirectory$(),HomeDirectory$(),ApplicationDirectory$() </FONT></FONT></P> <P ><FONT size=3>提取文件名的某个部分<FONT face="Times New Roman"> PathToTableName$(),PathToDirectory$(),PathToFileName$() </FONT></FONT></P> <P ><FONT size=3>返回完整文件名<FONT face="Times New Roman"> TrueFileName$() </FONT></FONT></P> <P ><FONT size=3>让用户选择文件<FONT face="Times New Roman"> FileOpenDlg(),FileSaveAsDlg() </FONT></FONT></P> <P ><FONT size=3>返回临时文件名<FONT face="Times New Roman"> TempFileName$() </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">6.Map</FONT>和<FONT face="Times New Roman">Graphy</FONT>对象的操作<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>创建<FONT face="Times New Roman">Map</FONT>对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>创建语句<FONT face="Times New Roman"> Create Arc,Create Ellipse,Create Frame,Create Line,Create Pline,Create </FONT></FONT></P> <P ><FONT face="Times New Roman" size=3>Point,Create Rect,Create Region,Create RoundRect,Create Text,AutoLabel </FONT></P> <P ><FONT size=3>创建函数<FONT face="Times New Roman"> CreateCircle(),CreateLine(),CreatePoint(),CreateText() </FONT></FONT></P> <P ><FONT size=3>高级操作<FONT face="Times New Roman"> Create Object,Buffer() </FONT></FONT></P> <P ><FONT size=3>存对象于表中<FONT face="Times New Roman"> Insert,Update </FONT></FONT></P> <P ><FONT size=3>编辑<FONT face="Times New Roman">Map</FONT>对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>改变对象属性<FONT face="Times New Roman"> Alter Object </FONT></FONT></P> <P ><FONT size=3>改变对象类型<FONT face="Times New Roman"> ConvertToRegion(),ConvertToPLine() </FONT></FONT></P> <P ><FONT size=3>设置编辑目标<FONT face="Times New Roman"> Set Target </FONT></FONT></P> <P ><FONT size=3>擦除对象某部分<FONT face="Times New Roman"> Objects Erase,Erase(),Objects Intersect </FONT></FONT></P> <P ><FONT size=3>合并对象<FONT face="Times New Roman"> Objects Combine,Combine(),Creat Object,Objects Split </FONT></FONT></P> <P ><FONT size=3>分离对象<FONT face="Times New Roman"> Objects Split </FONT></FONT></P> <P ><FONT size=3>在交接部位增加结点<FONT face="Times New Roman"> Objects OverLay,OverLayNodes() </FONT></FONT></P> <P ><FONT size=3>控制对象分辨率<FONT face="Times New Roman"> Set Resolution </FONT></FONT></P> <P ><FONT size=3>存贮对象于表中<FONT face="Times New Roman"> Insert,Update </FONT></FONT></P> <P ><FONT size=3>查询<FONT face="Times New Roman">Map</FONT>对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>返回计算值<FONT face="Times New Roman"> Area(),Perimeter(),Distance(),ObjectLen(),Overlap(),AreaOverlap(), </FONT></FONT></P> <P ><FONT face="Times New Roman" size=3>ProportionOverlap() </FONT></P> <P ><FONT size=3>返回坐标值<FONT face="Times New Roman"> ObjectGeography(),MBR(),ObjectNodeX(),ObjectNodeY(),Centroid(), </FONT></FONT></P> <P ><FONT face="Times New Roman" size=3>CentroidX(),CentroidY(),ExtractNodes(),IntersectNodes() </FONT></P> <P ><FONT size=3>设置测量单位<FONT face="Times New Roman"> Set Area Unites,Set Distance Unites,Set Paper Unites,UnitAbbr$(), </FONT></FONT></P> <P ><FONT face="Times New Roman" size=3>UnitName$() </FONT></P> <P ><FONT size=3>设置坐标系统<FONT face="Times New Roman"> Set CpprdSys </FONT></FONT></P> <P ><FONT size=3>返回式样设置<FONT face="Times New Roman"> ObjectInfo() </FONT></FONT></P> <P ><FONT size=3>查询一个图层的标注<FONT face="Times New Roman"> LabelFindByID(),LabelFindFirst(),LabelFindNext(),Labelinfo() </FONT></FONT></P> <P ><FONT size=3>对象式样的操作<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>返回当前式样<FONT face="Times New Roman"> CurrentPen(),CurrentBrush(),CurrentSymbol(),CurrentFont() </FONT></FONT></P> <P ><FONT size=3>返回式样属性<FONT face="Times New Roman"> StyleAttr(),PenPattern() </FONT></FONT></P> <P ><FONT size=3>建立式样值<FONT face="Times New Roman"> MakePen(),MakeBrush(),MakeFont(),MakeSymbol(),MakeCustomSymbol() </FONT></FONT></P> <P ><FONT face="Times New Roman" size=3>MakeFontSymbol(),Set Style,RGB() </FONT></P> <P ><FONT size=3>查询对象的式样<FONT face="Times New Roman"> ObjectInfo() </FONT></FONT></P> <P ><FONT size=3>修改对象式样<FONT face="Times New Roman"> Alter Object </FONT></FONT></P> <P ><FONT size=3>重装符号式样<FONT face="Times New Roman"> Reload Symbol </FONT></FONT></P> <P ><FONT size=3>式样子句<FONT face="Times New Roman"> Pen clause,Brush clause,Symbol clause,Font clause </FONT></FONT></P> |
|
2楼#
发布于:2004-10-15 23:06
续
<P ><FONT size=3><FONT face="Times New Roman">Map</FONT>窗的操作<FONT face="Times New Roman"> </FONT></FONT></P>
<P ><FONT size=3>打开一个<FONT face="Times New Roman">Map</FONT>窗<FONT face="Times New Roman"> Map </FONT></FONT></P> <P ><FONT size=3>增加一个图层<FONT face="Times New Roman"> Add Map </FONT></FONT></P> <P ><FONT size=3>除去一个图层<FONT face="Times New Roman"> Remove Map </FONT></FONT></P> <P ><FONT size=3>标注一个图层的对象<FONT face="Times New Roman"> AutoLabel </FONT></FONT></P> <P ><FONT size=3>查询一个图的设置<FONT face="Times New Roman"> MapperInfo(),LayerInfo() </FONT></FONT></P> <P ><FONT size=3>改变一个图的设置<FONT face="Times New Roman"> Set Map </FONT></FONT></P> <P ><FONT size=3>建立或编辑专题图层<FONT face="Times New Roman"> Shade,Set Shade,Create Ranges,Create Styles </FONT></FONT></P> <P ><FONT size=3>查询一个图层的标注<FONT face="Times New Roman"> LabelfindByID(),LabelFindFirst(),LabelfindNext(),Labelinfo() </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">7.</FONT>建立用户介面<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>按钮板<FONT face="Times New Roman">(</FONT>工具条<FONT face="Times New Roman">) </FONT></FONT></P> <P ><FONT size=3>建立一个新按钮板<FONT face="Times New Roman"> Creat ButtonPad </FONT></FONT></P> <P ><FONT size=3>修改一个按钮板<FONT face="Times New Roman"> Alter ButtonPad </FONT></FONT></P> <P ><FONT size=3>修改一个按钮<FONT face="Times New Roman"> Alter Button </FONT></FONT></P> <P ><FONT size=3>查询按钮板状态<FONT face="Times New Roman"> BottonPadInfo </FONT></FONT></P> <P ><FONT size=3>对按钮使用的响应<FONT face="Times New Roman"> CommandInfo </FONT></FONT></P> <P ><FONT size=3>恢复标准<FONT face="Times New Roman">(</FONT>默认<FONT face="Times New Roman">)</FONT>按钮板<FONT face="Times New Roman"> Creat ButtonPads As Default </FONT></FONT></P> <P ><FONT size=3>对话框<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>显示标准对话框<FONT face="Times New Roman"> Ask(),Note,ProgressBar,FileOpenDlg(),FileSaveAsDlg()GetSeamlessShet() </FONT></FONT></P> <P ><FONT size=3>显示定制对话框<FONT face="Times New Roman"> Dialog </FONT></FONT></P> <P ><FONT size=3>对话框处理器操作<FONT face="Times New Roman"> Alter Control,TriggerControl(),ReadControlValue(),Dialog Preserve, </FONT></FONT></P> <P ><FONT face="Times New Roman" size=3>Dialog remove </FONT></P> <P ><FONT size=3>检测用户是否按击<FONT face="Times New Roman">OK CommandInfo(CMD_INDO_DIG_OK) </FONT></FONT></P> <P ><FONT size=3>使进度条不可用<FONT face="Times New Roman"> SetProgressBars </FONT></FONT></P> <P ><FONT size=3>修改一个标准<FONT face="Times New Roman">MAPINFO</FONT>对话框<FONT face="Times New Roman"> Alter MapInfoDialog </FONT></FONT></P> <P ><FONT size=3>菜单<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>定义一个新菜单<FONT face="Times New Roman"> Create Menu </FONT></FONT></P> <P ><FONT size=3>重定义菜单条<FONT face="Times New Roman"> Create Menu Bar </FONT></FONT></P> <P ><FONT size=3>修改一个菜单<FONT face="Times New Roman"> Alter Menu,Alter Menu Item </FONT></FONT></P> <P ><FONT size=3>修改菜单条<FONT face="Times New Roman"> Alter Menu Bar,Menu Bar </FONT></FONT></P> <P ><FONT size=3>执行菜单命令<FONT face="Times New Roman"> MenuitemInfoByHandler() </FONT></FONT></P> <P ><FONT size=3>查询某个菜单项的状态<FONT face="Times New Roman"> MenuitemInfoByID() </FONT></FONT></P> <P ><FONT size=3>窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>显示或隐藏一个窗口<FONT face="Times New Roman"> Open Window,Close Window,Set window </FONT></FONT></P> <P ><FONT size=3>打开一个新窗口<FONT face="Times New Roman"> Map,Browse,Graph,Layout,Create Redistricter,Create Legend </FONT></FONT></P> <P ><FONT size=3>检测一个窗口的标识<FONT face="Times New Roman"> FontWindow(),WindowID() </FONT></FONT></P> <P ><FONT size=3>修改一个已存在的窗口<FONT face="Times New Roman"> Set Map,Shade,Add Map,Remove Map,Set Browse,Set Graph,Set Layout, </FONT></FONT></P> <P ><FONT face="Times New Roman" size=3>Create Frame,Set Legend,Set Redistricter,StatusBar </FONT></P> <P ><FONT size=3>返回一个窗口的设置<FONT face="Times New Roman"> WindowInfo(),MapperInfo(),LayerInfo() </FONT></FONT></P> <P ><FONT size=3>打印一个窗口<FONT face="Times New Roman"> PrintWin </FONT></FONT></P> <P ><FONT size=3>控制窗口重画<FONT face="Times New Roman"> Set Event Processing,Update Window </FONT></FONT></P> <P ><FONT size=3>计算窗口数<FONT face="Times New Roman"> NumWindows(),NumAllWindows() </FONT></FONT></P> <P ><FONT size=3>隐藏浏览窗口中的列<FONT face="Times New Roman"> Reproject </FONT></FONT></P> <P ><FONT size=3>系统事件处理器<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>对选择的反应<FONT face="Times New Roman"> SetChangeHandler </FONT></FONT></P> <P ><FONT size=3>对关闭窗口的反应<FONT face="Times New Roman"> WinClosedHandler </FONT></FONT></P> <P ><FONT size=3>对图窗变化的反应<FONT face="Times New Roman"> WinChangeHandler </FONT></FONT></P> <P ><FONT size=3>对窗口活化的反应<FONT face="Times New Roman"> WinfocusChangedHandler </FONT></FONT></P> <P ><FONT size=3>对<FONT face="Times New Roman">DDE</FONT>请求的反应<FONT face="Times New Roman"> RemoteMsgHandler,RemoteQueryHandler() </FONT></FONT></P> <P ><FONT size=3>对<FONT face="Times New Roman">OLE</FONT>自动化方法的反应<FONT face="Times New Roman"> RemoteMapGenHandler </FONT></FONT></P> <P ><FONT size=3>提供定制工具<FONT face="Times New Roman"> ToolHandler </FONT></FONT></P> <P ><FONT size=3>对应用程序结束的反应<FONT face="Times New Roman"> EndHandler </FONT></FONT></P> <P ><FONT size=3>对<FONT face="Times New Roman">MAPINFO</FONT>获得或失去活化窗口的反应<FONT face="Times New Roman"> forgroundTaskSwitchHandler </FONT></FONT></P> <P ><FONT size=3>使事件处理器不可用<FONT face="Times New Roman"> Set Handler </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">8.</FONT>与别的应用程讯序的通讯<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">DDE(</FONT>动态数据交换<FONT face="Times New Roman">,</FONT>仅<FONT face="Times New Roman">Windows) </FONT></FONT></P> <P ><FONT size=3>开始一个动态数据交换对话<FONT face="Times New Roman"> DDEInitiate() </FONT></FONT></P> <P ><FONT size=3>发送一个动态数据交换命令<FONT face="Times New Roman"> DDEExecute </FONT></FONT></P> <P ><FONT size=3>经由<FONT face="Times New Roman">DDE(</FONT>动态数据交换<FONT face="Times New Roman">)</FONT>发送一个值<FONT face="Times New Roman"> DDEPoke </FONT></FONT></P> <P ><FONT size=3>经由<FONT face="Times New Roman">DDE(</FONT>动态数据交换<FONT face="Times New Roman">)</FONT>接收一个值<FONT face="Times New Roman"> DDERequest$() </FONT></FONT></P> <P ><FONT size=3>关闭一个<FONT face="Times New Roman">DDE(</FONT>动态数据交换<FONT face="Times New Roman">)</FONT>对话<FONT face="Times New Roman"> DDETerminate,DDETerminateAll </FONT></FONT></P> <P ><FONT size=3>对一个请求的响应<FONT face="Times New Roman"> RemoteMsgHandler,RemoteQueryHandler,CommandInfo(CMD_INFO_ MSG) </FONT></FONT></P> <P ><FONT size=3>集成图<FONT face="Times New Roman">(</FONT>只限在<FONT face="Times New Roman">Windows</FONT>下<FONT face="Times New Roman">) </FONT></FONT></P> <P ><FONT size=3>设置<FONT face="Times New Roman">MAOINFO</FONT>父窗口<FONT face="Times New Roman"> Set Application Window </FONT></FONT></P> <P ><FONT size=3>设置一个<FONT face="Times New Roman">Map</FONT>窗的父窗口<FONT face="Times New Roman"> Set Next Document </FONT></FONT></P> <P ><FONT size=3>建立一个图例窗口<FONT face="Times New Roman"> Create Legend </FONT></FONT></P> <P ><FONT size=3>萍果机事件<FONT face="Times New Roman">(</FONT>只限在<FONT face="Times New Roman">Macintosh</FONT>下<FONT face="Times New Roman">) </FONT></FONT></P> <P ><FONT size=3>开始一个对话<FONT face="Times New Roman"> AEInitiate() </FONT></FONT></P> <P ><FONT size=3>发送<FONT face="Times New Roman">DoScript</FONT>事件<FONT face="Times New Roman"> AEExecute() </FONT></FONT></P> <P ><FONT size=3>响应一个事件<FONT face="Times New Roman"> RemoteMsgHandler </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">9.</FONT>特殊语句和函数<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>起动另外的程序<FONT face="Times New Roman"> Run Program </FONT></FONT></P> <P ><FONT size=3>返回系统信息<FONT face="Times New Roman"> SystemInfo() </FONT></FONT></P> <P ><FONT size=3>把一个字符串作为解释命令执行<FONT face="Times New Roman"> Run Command </FONT></FONT></P> <P ><FONT size=3>保存一个工作现场文件<FONT face="Times New Roman"> Save Workerspace </FONT></FONT></P> <P ><FONT size=3>装入一个工作现场文件或<FONT face="Times New Roman">MBX</FONT>文件<FONT face="Times New Roman"> Run Application </FONT></FONT></P> <P ><FONT size=3>设置数字化板<FONT face="Times New Roman"> Set Digitizer </FONT></FONT></P> <P ><FONT size=3>发送一个声音到扬声器<FONT face="Times New Roman"> Beep </FONT></FONT></P> <P ><FONT size=3>通过<FONT face="Times New Roman">CommandInfo</FONT>设置数据可读<FONT face="Times New Roman"> Set Command Info </FONT></FONT></P> <P ><FONT size=3>设置拖位对象的延迟时间<FONT face="Times New Roman"> Set Drag Threshold </FONT></FONT></P> <P ><FONT size=3>投影和坐标系统<FONT face="Times New Roman"> ChooseProjection$() </FONT></FONT></P> <P ><FONT size=3>二<FONT face="Times New Roman">.Mapbasic</FONT>各函数和语句的名称及其作用<FONT face="Times New Roman"> TOP </FONT></FONT></P> <P ><FONT size=3>语句和函数名称<FONT face="Times New Roman"> </FONT>所在页码<FONT face="Times New Roman"> </FONT>功能<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Abs() 15 </FONT>返回一个数的绝对值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Acos() 16 </FONT>返回一个数的反余弦值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Add Column 17 </FONT>在打开的表中<FONT face="Times New Roman">,</FONT>增加一临时的新列<FONT face="Times New Roman">,</FONT>或者用别的表的数据来更新一个已有的列<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Add Map 22 </FONT>向<FONT face="Times New Roman">Map</FONT>窗加一图层<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">AEExecute() 24 </FONT>发送一个<FONT face="Times New Roman">DoScript</FONT>事件给萍果事件服务程序<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">AEInitiate() 25 </FONT>建立一个通过<FONT face="Times New Roman">AEExecute()</FONT>函数发送苹果事件时要用的苹果事件通道说明符<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter Botton 26 </FONT>使按钮板<FONT face="Times New Roman">(</FONT>工具条<FONT face="Times New Roman">)</FONT>上的一个按钮可用<FONT face="Times New Roman">,</FONT>不可用<FONT face="Times New Roman">,</FONT>被选择或脱离选择<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter BottonPad 27 </FONT>显示或隐藏按钮板<FONT face="Times New Roman">,</FONT>增加或去除按钮<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter Control 32 </FONT>改变活化的定制对话框内控件的状态<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter MapInfoDialog 34 </FONT>使<FONT face="Times New Roman">Mapinfo</FONT>标准对话框中的控件不可用<FONT face="Times New Roman">,</FONT>隐匿或被赋予新值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter Menu 37 </FONT>从一存在菜单中增加或去除某一菜单项<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter Menu Bar 40 </FONT>增加或去除菜单条上的菜单<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter Menu Item 42 </FONT>改变指定菜单项的状态<FONT face="Times New Roman">(</FONT>可用或不可用<FONT face="Times New Roman">) </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter Object 44 </FONT>修改一个对象的形状<FONT face="Times New Roman">,</FONT>位置或图形式样<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Alter Table 48 </FONT>改变表结构<FONT face="Times New Roman">(</FONT>不能用于链结表<FONT face="Times New Roman">) </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ApplicationDirectory$() 50 </FONT>返回当前正在执行的<FONT face="Times New Roman">MapBasic</FONT>应用程序的路径字串<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Area() 51 </FONT>面积函数,返回一个对象的地理面积<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">AreaOverlap() 52 </FONT>返回两个封闭对象重叠的面积<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Asc() 53 </FONT>返回字符串头一字符的字符码<FONT face="Times New Roman">[</FONT>如<FONT face="Times New Roman">Asc("Abcde")</FONT>为<FONT face="Times New Roman">65] </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Asin() 54 </FONT>返回一个数的反正弦值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Ask() 55 </FONT>显示一个对话框给用户提出一个回答<FONT face="Times New Roman">Yes/No</FONT>(<FONT face="Times New Roman">OK/Cancel )</FONT>的问题<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Atn() 56 </FONT>返回一个数的反正切值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">AutoLabel() 57 </FONT>给出<FONT face="Times New Roman">Map</FONT>窗中的标注<FONT face="Times New Roman">,</FONT>并把标注存入装饰层<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Beep 58 </FONT>发出一个哔声<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Browse 59 </FONT>打开一新的<FONT face="Times New Roman">Browser</FONT>窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Brush 61 </FONT>为图形对象指定一种填充式样<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Buffer() 63 </FONT>返回代表一个缓冲区的区域对象(在已有对象的指定缓冲距离内的区域<FONT face="Times New Roman"> </FONT>)<FONT face="Times New Roman"> BottonPadInfo() 64 </FONT>返回有关按钮板的信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Call 65 </FONT>调用过程或外部子程序<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Centroid() 67 </FONT>返回对象的形心(中心点)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CentroidX() 68 </FONT>返回对象形心的<FONT face="Times New Roman">X</FONT>坐标<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CentroidY() 69 </FONT>返回对象形心的<FONT face="Times New Roman">Y</FONT>坐标<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CharSet 70 </FONT>指定<FONT face="Times New Roman">MapBasic</FONT>用哪一套字符集作为解释字符码<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ChooseProjection$() </FONT>补<FONT face="Times New Roman">124 </FONT>显示选择投影对话框并返回用户选择的坐标系统<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Chr$() 73 </FONT>返回对应指定字符码的单字符字串<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Close ALL 74 </FONT>关闭所有打开的表<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Close File 75 </FONT>关闭一个打开的文件<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Close Table 76 </FONT>关闭一个打开的表<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Close Window 77 </FONT>关闭或隐藏一个窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ColumnInfo() 78 </FONT>返回一打开表中某列的信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Combine() 80 </FONT>返回代表两个对象联合的一个区域或折线<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CommandInfo() 81 </FONT>返回最近事件的有关信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Commit Table() 85 </FONT>把最新的编辑存盘或保存一个表的备份<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Continue 87 </FONT>继续执行<FONT face="Times New Roman">MapBasic</FONT>程序(在<FONT face="Times New Roman">Stop</FONT>语句后)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Control Button/OKButton/CancelButton 88 Dialog</FONT>(对话框)语句的一部分,把一弹性按钮控件加到对话框内<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Control CheckBox 89 Dialog </FONT>语句的一部分,把一检查框控件加到对话框中<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Control EditText 90 Dialog</FONT>语句的一部分,把一个编辑文本控件加到对话框中<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Control GroupBox 91 Dialog</FONT>语句的一部分增加一个带标题的矩形框到对话框内<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Control ListBox/MultiListBox 92 Dialog</FONT>语句的一部分,把一个列表控件加到对话框内,<FONT face="Times New Roman">ListBox</FONT>(列表框内)控件与<FONT face="Times New Roman">MultiListBox</FONT>(多选框)控件的区别仅在于用户可以在后者中通过<FONT face="Times New Roman">Shift-Click</FONT>一次选取多个项<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Control PenPicker/BrushPicker/SymbolPicker/FontPicker 94 Dialog</FONT>语句的一部分,加上一个钮以显示线形,充填,符号(点)或字体(文本)的样式<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Control PopupMenu 95 Dialog</FONT>语句的一部分,把一个弹出式菜单控件加到对话框内<FONT face="Times New Roman"> </FONT></FONT></P> |
|
3楼#
发布于:2004-10-15 23:09
续
<P ><FONT size=3><FONT face="Times New Roman">Control RadioGroup 97 Dialog</FONT>语句的一部分,把一组无线电按钮加到对话框内<FONT face="Times New Roman"> </FONT></FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">Control StaticText 99 Dialog</FONT>语句的一部分<FONT face="Times New Roman"> </FONT>,把一个标注按钮加到对话框中<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ConvertToPline() 100 </FONT>返回一个形状近似于某个对象的折线对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ConvertToRegion() 101 </FONT>返回一个形状近似于某个对象的区域对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CoordSys 102 </FONT>确定坐标系统<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Cos() 105 </FONT>返回一个数的余弦<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Arc 106 </FONT>创建一个弧<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create ButtonPad 107 </FONT>创建按钮板<FONT face="Times New Roman">(</FONT>工具条<FONT face="Times New Roman">) </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create ButtonPads As Default 110 </FONT>创建系统默认的按钮板<FONT face="Times New Roman">(</FONT>工具条<FONT face="Times New Roman">)</FONT>恢复标准按钮板(如<FONT face="Times New Roman">Main</FONT>按钮板)到它的默认状态<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Circle() 111 </FONT>返回表示一个园的对象值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Ellipse 113 </FONT>创建一个椭园或园对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Frame 114 </FONT>在页面窗中创建新框架<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Index 116 </FONT>在一个打开表中为某列创建一个索引<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Legend 117 </FONT>创建一个新的,与特定<FONT face="Times New Roman">Map</FONT>或<FONT face="Times New Roman">Graph</FONT>窗相连系的图例窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CreateLine() 118 </FONT>返回表示一条线的对象值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Line 119 </FONT>创建一个线对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Map 120 </FONT>修改表的结构<FONT face="Times New Roman">,</FONT>使之可以以图形的形式显示<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Menu 121 </FONT>新建或重定义一个菜单<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Menu Bar 127 </FONT>重构整个菜单条(用可获得的菜单)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Object 129 </FONT>用<FONT face="Times New Roman">Buffer</FONT>、M<FONT face="Times New Roman">erge</FONT>、<FONT face="Times New Roman">Intersect</FONT>或<FONT face="Times New Roman">Union</FONT>操作来创立一个或多个区域对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Pline 132 </FONT>创建一个折线对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CreatePoint() 133 </FONT>返回表示一个点的对象值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Point 135 </FONT>创建一个点对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Ranges 136 </FONT>计算专题的各个区间值并将其存贮一数组中,然后能用于S<FONT face="Times New Roman">hade</FONT>语句中<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Rect 139 </FONT>创建一个矩形或正方形<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Redistricter 140 </FONT>开始一个重新分区操作<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Region 141 </FONT>创建区域对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Roundrect 143 </FONT>创建一个圆角矩形对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Styles 144 </FONT>组建一套线、充填或符号式样并将其贮存到一数组中<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Table 146 </FONT>创建一新(属性)表<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CreateText() 148 </FONT>返加一个为某特定<FONT face="Times New Roman">Map</FONT>窗创建的文本对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Create Text 150 </FONT>为<FONT face="Times New Roman">Map</FONT>或<FONT face="Times New Roman">Layout</FONT>窗口创建一文本对象,如标题之类<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CurDate() 151</FONT>,补<FONT face="Times New Roman">121 </FONT>返回当前日期(以<FONT face="Times New Roman">YYYYMMDD</FONT>格式)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CurrentBrush() 152 </FONT>返回当前正用的充填式样<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CurrentFont() 153 </FONT>返回当前正用于<FONT face="Times New Roman">Map</FONT>和L<FONT face="Times New Roman">oyout</FONT>窗的字体式样<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CurrentPen() 154 </FONT>返回当前正用的线型<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">CurrentSymbol() 155 </FONT>返回当前正用的符号式样<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Day() 156 </FONT>返回日期表达式年月日中的日(部分)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">DDEExecute 157 </FONT>通过一个打开的DDE通道发送一条命令<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">DDEInitiate() 158 </FONT>初始化一个新的DDE通道并返回一个连结的通道号<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">DDEPoke 162 </FONT>发送一个数据值到DDE服务器应用程序中的某个项目<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">DDERequest$() 163 </FONT>返回一个从DDE通话中获得的数据值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">DDETerminate 165 </FONT>关闭一个动态数据交换通话<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">DDETerminateALL 166 </FONT>关闭先前被某些<FONT face="Times New Roman">MapBasic</FONT>程序打开的所有动态数据交换通话<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Declare Function 167 </FONT>定义一个函数的名称及参数表<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Declare Sub 169 </FONT>标识一个子过程的名字及参数表<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Define 172 </FONT>用常数值定义一个定制的关键字(保留字)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">DeformatNumber$() 173 </FONT>从表示一个数的字串中去除格式化<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Delete 174 </FONT>从一个表中删除一个或多个图形对象,或一个或多个整行<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Dialog 175 </FONT>显示一个定制对话框<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Dialog Preserve 181 </FONT>在用户按击了OK或<FONT face="Times New Roman">Cancel</FONT>之后重新活化一个定制对话框<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Dialog Remove 182 </FONT>从屏上移去一对话框<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Dim 183 </FONT>定义一个或多个变量<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Distance() 187 </FONT>返回两个位置之间的距离<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Do Case...End Case 188 </FONT>根据一表达式的当前变量来决定执行哪一组语句<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Do...Loop 190 </FONT>定义一个循环,它将执行到指定的条件变为TRUE(或FALSE)为止<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Drop Index 192 </FONT>删除一个表的索引<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Drop Map 193 </FONT>删除一个表中所有图形对象<FONT face="Times New Roman">(</FONT>不能用于链结表<FONT face="Times New Roman">) </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Drop Table 194 </FONT>全面地删除一个表<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">End MapInfo 195 </FONT>结束<FONT face="Times New Roman">MAPINFO </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">End Program 196 </FONT>结束<FONT face="Times New Roman">MAPBASIC</FONT>应用程序<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">EndHandler 197 </FONT>保留的过程名,一个应用程序结束时自动调用<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">EOF() 198 </FONT>如果<FONT face="Times New Roman">MapBasic</FONT>试图读一个文件尾返回TRUE,否则返回FALSE<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">EOT() 199 </FONT>如果<FONT face="Times New Roman">MapBasic</FONT>已经到达指定表的表尾返回TRUE,否则返回FALSE<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Erase() 200 </FONT>返回通过擦除另一对象的一部分而建立的一个对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Err() 201 </FONT>返回代表当前错误的一个数字代码<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Error 202 </FONT>仿真错误条件的出现<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Error$() 203 </FONT>返回一个描述当前错误的信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Exit Do 204 </FONT>提前结束<FONT face="Times New Roman">DO</FONT>循环<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Exit For 205 </FONT>提前结束<FONT face="Times New Roman">FOR</FONT>循环<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Exit function 206 </FONT>退出一个<FONT face="Times New Roman"> Functrion...End Function </FONT>结构<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Exit Sub 207 </FONT>退出一个<FONT face="Times New Roman">Sub</FONT>过程<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Exp() 208 </FONT>返回<FONT face="Times New Roman"> e </FONT>的指定方次的一个数<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Exprot 209 </FONT>把表输出成另一种文件格式<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ExtractNodes() 212 </FONT>返回一个由已存在的对象的结点子集建立的折线或区域<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Fetch 213 </FONT>设置一个表的光标位置(即哪一行是当前行)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">FileAttr() 215 </FONT>返回一打开文件的信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">FileExists() 216 </FONT>返回表示某个文件是否存在的逻辑值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">FileOpenDlg() 217 </FONT>显示一个F<FONT face="Times New Roman">ile Open</FONT>对话框并返回用户所选择的文件名<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">FileSaveAsDlg() 219 </FONT>显示一个<FONT face="Times New Roman">Save As</FONT>对话框并返回用户所输入的文件名<FONT face="Times New Roman">. </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Find 220 </FONT>查找可成图的表中的一个位置<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Find Using 223 </FONT>规定在随后的F<FONT face="Times New Roman">ind</FONT>操作中要搜索哪些表和哪些列<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Fix() 224 </FONT>返回一个通过去掉一个十进制值的小数部分得到的整数值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Font 225 </FONT>指定一个文本式样<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">For...Next 227 </FONT>定义一个循环,它将执行指定的次数<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ForegroundTaskSwitchHandler 229 </FONT>一个保留的过程名,它是在<FONT face="Times New Roman">MapInfo</FONT>获得了焦点(有了活化的应用程序)或失去了焦点(另一个应用程序变活)时自动调用的<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Format$() 230 </FONT>返回一个表示定制格式的数的字串<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">FormatNumber$() 232 </FONT>返回一个表示含有千分位分隔符和小数点分隔符的数的字串(分隔符的样式与用户的系统配置相关)<FONT face="Times New Roman"> </FONT></FONT></P> |
|
4楼#
发布于:2004-10-15 23:11
续
<FONT size=3><FONT face="Times New Roman">
<P >FrontWindow 233 返回活动窗口的整数标识 </P> <P >Function...End function 234 定义一个定制函数 </P> <P >Get 237 从一个以二进制或随机存取模式打开的文件中读取 </P> <P >GetMetadata$() 239 从一个表的中获取元数据 </P> <P >GetSeamlessSheet() 240 提示用从无缝表中选择一个片,并返回被选片的名字 </P> <P >Global 241 定义一个或多个全程变量 </P> <P >Goto 242 跳转到由标号标识的另一个位置(在同一过程内) </P> <P >Graph 243 打开一新Graper窗口 </P> <P >HomeDirectory$() 244 返回一个表示用户的home目录路径的字串 </P> <P >If...Then 245 根据一个或多个表达式决定执行哪一个语句块 </P> <P >Inport 247 通过输入一个过去输出的文件,例如DXF文件建立一个新的MapInfo表 </P> <P >Include 250 包进一个单独的文本文件的内容,使之成为一个MapBasic程序的一部分 </P> <P >Input # 251 读文件中的数据并将其保存在变量中 </P> <P >Insert 252 向一个打开的表追加新行 </P> <P >InStr() 254 返回指示一子串第一次出现在另一字串内的字符位 </P> <P >Int() 255 返回去掉十进制小数部分的整数值 </P> <P >InterSectNodes() 256 计算两个对象相交的点集,并返回一个包含各交点的折线对象 </P> <P >Kill 257 删除文件 </P> <P >LabelFindbyID() 258 初始化一个内部标注指针,以便你能查询图层某个指定行的标注 </P> <P >LabelFindFirst() 260 初始化一个内部标注指针,以便能查询某个图层的第一个标注 </P> <P >LabelFindNext() 261 推进内部的标注指针,以便你能查询某个图层的下一个标注 </P> <P >LabelInfo() 262 返回一个图的某个标注信息 </P> <P >LayerInfo() 265 返回某Map窗的一图层的信息 </P> <P >Layout 269 打开一新的页面窗口 </P> <P >LCase$() 270 返回一字串的小写字符串 </P> <P >Left$() 271 返回一个字符串的一部分或全部,从字符串的左端开始 </P> <P >Len() 272 返回一个字符串的字符个数或一个变量的字节数 </P> <P >Like() 273 返回TRUE或FALSE以表明一字符串是否符合格式匹配标准 </P> <P >Line Input 274 从一个连续的文本文件中读一行赋给一个变量 </P> <P >LOF() 275 返回一打开的文件的长度 </P> <P >Log() 276 返回一个数的自然对数 </P> <P >LTrim$() 277 去除字符串左端空格字符并返回结果 </P> <P >Main 278 一个应用程序运行时调用的第一个过程 </P> <P >MakeBrush() 280 返回填充图案值 </P> <P >MakeCustomSymbol() 281 返回基于一个BMP文件的符号值 </P> <P >MakeFont() 282 返回一个字体值 </P> <P >MakeFontSymbol() 283 返回一个符号值,用出自TrueType字体的一个字符作为符号 </P> <P >MakePen() 284 返回一线型值 </P> <P >MakeSymbol() 285 返回一符号值,用出自MapInfo3.0版符号集的字符 </P> <P >Map 286 打开一新Map窗 </P> <P >MapperInfo() 288 返回一Map窗的坐标或距离 </P> <P >Maximum() 290 返回两个数中之较大者 </P> <P >MBR() 291 返回一矩形对象,代表限制另一对象的最小矩形 </P> <P >Menu Bar 292 显示或隐藏菜单条 </P> <P >MenuitemInfoByHandler() 293 返回MAPINFO菜单项的信息 </P> <P >MenuitemInfoByID() 295 返回MAPINFO菜单项的信息 </P> <P >Metadata 296 管理一个Table的元数据 </P> <P >Mid$() 299 返回从另一字符串中间抽出的一个字符串 </P> <P >MidByte$() 300 访问双字节系统的一个字符串中的单个字节 </P> <P >Minimum() 301 返回两个数中的较小者 </P> <P >Month() 302 返回年月日中的月(1-12) </P> <P >Note 303 显示一个简单的信息于对话框中 </P> <P >NumAllWindows() 304 返回MapInfo占有的窗口数,包括按钮板和信息窗之类的特殊窗口 </P> <P >NumberToDate() 305 给定一个整数,返回一日期值 </P> <P >NumCols() 306 返回一指定表的列数 </P> <P >NumTables() 307 返回当前已打开表的个数 </P> <P >Numwindows() 308 返回已打开的文档窗口的个数(Map,Browse,Graph,Layowt) </P> <P >ObjectGeography() 309 返回一描述一图形对象的坐标或角度信息 </P> <P >ObjectInfo() 311 返回描述一图形对象的线型,填充式样或其他值 </P> <P >ObjectLen() 314 返回一直线或折线对象的地理长度 </P> <P >ObjectNodeX() 315 返回区域或折线对象一接点的X坐标 </P> <P >ObjectNodeY() 317 返回区域或折线对象一接点的Y坐标 </P> <P >Objects Combine 318 联合在一个Table中的对象,与MapInfo的Objects>Combine 对应 </P> <P >Objects Erase 320 删除目标对象被选择的部分;与Object>Erase对应 </P> <P >Objects Intersect 322 删除未被选择的目标对象部分;与Object>EraseOutside对应 </P> <P >Objects Overlay 323 在目标对象与当前所选对象相交的位置,向目标对象上增加结点 </P> <P >Object Split 324 分离目标对象,用当前选择的对象作“切割器” </P> <P >OnError 326 使一错误处理子程序可用 </P> <P >Open File 328 打开文件供输入或输出(input/ortput) </P> <P >Open Table 331 打开MapInfo 表供input/output </P> <P >Open Window 333 打开或显示一窗口 </P> <P >Overlap() 334 返回一对象,代表两对象的地理相交部分,结果类似于MapInfo的Object> Erase Outside </P> <P >OverlayNodes() 335 返回基于先存对象的一个对象,在它与第二个对象相交的地方加上了新结点 </P> <P >Pack Table 336 提供MapInfo的Table>Maintenance>Pack Table命令的功能 </P> <P >PathToDirectory$() 337 给定一个文件标识,返回该文件目录 </P> <P >PathToFileName$() 338 给定一个文件标识,仅返回文件名(不带目录) </P> <P >PathToTableName$() 339 给定一个完整的文件标识,返回一个代表Table别名的字符串,如 "-1995-Data" </P> <P >Pen 340 为图形对象指定一种线型 </P> <P >Penpattern () frnction 补123 返回线条格式 </P> <P >Perimeter() 342 返回图形对象的周长 </P> <P >Print 343 在信息窗口中显示一个提示或状态信息 </P> <P >Print # 345 把数据写入一个以顺序模式打开的文件(Output 或Append) </P> <P >PrintWin 346 打印一存在的窗口 </P> <P >ProgramDirectory$() 347 返回安装MAPINFO的目录路径 </P> <P >ProgressBar 348 显示一个带有CANCEL按钮和横向进度条的对话框 </P> <P >Proper$() 351 返回大小写混合的字符串,每个词仅第一个字母大写 </P> <P >ProportionOverlap() 352 返回一对象被另一对象履盖的百分比(数字) </P> <P >Put 353 把一个MAPINFO变量的内容写到一个打开的文件中 </P> <P >Randomize 354 初始化MapInfo的随机数函数 </P> <P >ReadControlValue() 355 读取活化对话框中某一控件的当前状态 </P> <P >ReDim 357 重定义数组变量 </P> <P >Register Table 359 由电子表格/数据库/文本文件(不由栅格映象)构造MapInfo Table </P> <P >Reload Symbols 361 打开并重新装载MapInfo符号文件;这能改变显示于 Options>Symbol Style 对话框中的符号集 </P> <P >RemoteMapGenHandler 362 一个保留的过程名,在OLE自动化的客应用程序调用MapGenHandler 自动化方法时被调用 </P> <P >RenotemsgHandler 363 一个保留的过程名,远端应用程序发送一个执行信息时调用 </P> <P >RemoteQueryHandler() 365 一个特殊的函数,当一个MapInfo程序起着DDE的服务器作用,并且 这个DDE客应用程序执行一个"Peek"请求时调用 </P> <P >Remove Map 367 从Map窗中移去一个或多个图层 </P> <P >Rename File 368 改变一个文件的名字 </P> <P >Rename Table 369 改变构成一个Table的多个文件的名字(和位置) </P> <P >Reproject 370 指定(在被浏览的表中)下一次要显示的列 </P> <P >Resume 371 从OnError错误处理器返回 </P> <P >RGB() 372 返回由红、绿、兰三组份计算出的RGB彩色值 </P> <P >Right$() 373 返回从一字符串右端开始的部分或全部字符 </P> <P >Rnd() 374 返回一随机数 </P> <P >Rollback 375 放弃一个Table的未存盘编辑 </P> <P >Round() 376 返回由另一个数舍入而成的数 </P> <P >RTrim$() 377 去除字符串右边的空格,返回其结果 </P> <P >Run Application 378 运行一个MapBasic应用程序或增加一个MapInfo的工作现场 </P> <P >Run Command 379 运行一个用字符串表示的MapBasic命令 </P> <P >Run Menu Command 381 运行一个MapInfo菜单命令,如同用户选择一个菜单项,也能用于选 择一个按钮板上的按钮 </P> <P >Run Program 382 运行一可执行程序 </P> <P >Save File 383 复制一个文件 </P> <P >Save Window 384 把一窗口图像存盘为一文件,与File>SaveWimdow As对应 </P> <P >Save Workerspace 386 创建一个表示当前MapInfo操作的工作现场文件 </P> <P >SearchInfo() 387 返回SearchPomt()或 SeachRect()产生的搜索结果信息 </P> <P >SearchPoint() 390 搜索给定X、Y坐标位置上的Map对象 </P> <P >SearchRect() 391 搜索绘完矩形范围内的Map对象 </P> <P >Seek() 392 返回当前文件的位置 </P> <P >Seek 393 设置当前文件位置,为下一个文件的输入输出作准备 </P> <P >SelChangedHandler 394 一个保留的过程,被选择的若干行发生变化时自动调用 </P> <P >Select 395 从一个或多个打开的表选择特定的若干行和列,并把所得的结果处理为一 个单独的临时表,还提供数据排序和小计的功能 </P> <P >SelectionInfo 403 返回有关当前选择的信息。注:所选择的标注不算“选择”,因为标注不是 的完整的对象,它们只是另一对象的属性 </P> <P >Server Begin Transation 404 要求远程服务器开始一个新工作单元 </P> <P >Server Bind Column 405 指定能被远程服务器使用的本机存储器 </P> <P >Server Close 407 释放与运行远程数据访问语句相联系的资源 </P> <P >Server_ColumnInfo() 408 获取结果集中的列信息 </P> <P >Server Commit 410 把当前工作单元保存到数据库中 </P> <P >Server_Connect() 411, 补95 建立与远程数据服务器的通讯连系 </P> <P >Server Create Map 427,补106 这个功能为服务器表标识空间信息,它增加空间列但不改变原表 </P> <P >Server Disconnect 429 关闭经由Server-Connect建立起来的与远程数据服务器的通讯联系 </P> <P >Server_DriverInfo() 430 获取已安装的工具箱和数据源的信息 </P> <P >Server_EOT() 431 检测是否到达结果表的终点(经由 Server Fetch语句) </P> <P >Server_Execute() 432 发送一个在远程数据服务器上执行的字串 </P> <P >Server Fetch 433 获取远程数据服务器中最后设置的行 </P> <P >Server-GetodbcHConn() 补91 返回与远程数据库连接的ODBC连接句柄 </P> <P >Server-GetodbcHStmt() 补92 返回与MapBasic Server语句相联系的ODBC语句句柄 </P> <P >Server_GetqeHConn() 435 返回与远程数据库连接相关的qeLib联系句柄 </P> <P >Server_GetqeStmt() 436 返回与MapBasic Server语句相关的qeLib语句句柄 </P> <P >Server Link Table 437 建立连接表 </P> <P >Server_NumCols() 439 获取结果集中的列数 </P> <P >Server_NumDrivers() 440 返回为从MapInfo访问而在当前已安装的数据库连接工具箱个数 </P> <P >Server Refresh 441 重新使连接表与远程数据库数据同步,这个命令只能在未对连接表进行</FONT></FONT></P> |
|
5楼#
发布于:2004-10-15 23:12
续
<P ><FONT size=3>编辑时使用<FONT face="Times New Roman"> </FONT></FONT></P>
<P ><FONT size=3><FONT face="Times New Roman">Server Rollback 442 </FONT>放弃对远程服务器作出的变化<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Server Set Map 443 </FONT>改变<FONT face="Times New Roman">ODBC</FONT>表的对象类型<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Application Window 444 </FONT>设定哪一个窗口为已打开的对话框的父窗<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Area Units 445 </FONT>设置<FONT face="Times New Roman">MapBasic</FONT>默认的面积单位<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Browse 446 </FONT>修改一个已存在的<FONT face="Times New Roman">BROWSER</FONT>窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Command Info 447 </FONT>把值存入内存中,别的过程可调用<FONT face="Times New Roman">CommandInfo()</FONT>来获取这些值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set CoordSys 448 </FONT>设置<FONT face="Times New Roman">MapBasic</FONT>使用的坐标系统<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Digitizer 449 </FONT>建立图纸在数字化板上的坐标,也打开或关闭数字化模式<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Distance Units 451 </FONT>设置随后地理操作如创建对象要使用的距离单位<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Drag Threshold 452 </FONT>设置拖拉图形对象要等待的延迟时间<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Event Processing 453 </FONT>临时关闭或打开事件处理以避免不必要的屏幕更新<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set File Timeout 454 </FONT>当文件共享冲突发生时让<FONT face="Times New Roman">MapInfo </FONT>重试文件<FONT face="Times New Roman">I/O</FONT>操作<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Format 455 </FONT>控制<FONT face="Times New Roman">MapBasic</FONT>如何处理表示日期或数值的字符串<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Graph 457 </FONT>修改一个已存在的<FONT face="Times New Roman">Graph</FONT>窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Handler 461 </FONT>使自动调用系统处理器过程(如<FONT face="Times New Roman">SelChangeHandler</FONT>)可能或不能<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Layout 462 </FONT>修改一个已存在的<FONT face="Times New Roman">Layout</FONT>窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Legend 464 </FONT>修改<FONT face="Times New Roman">Legend</FONT>(图例)窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Map 466 </FONT>修改一个已存在的<FONT face="Times New Roman">Map </FONT>窗口<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Next Document 477 </FONT>使一<FONT face="Times New Roman">MapInfo </FONT>档案窗口重新成为父窗<FONT face="Times New Roman">(</FONT>以便一个<FONT face="Times New Roman">Map</FONT>窗变为一个<FONT face="Times New Roman">VB</FONT>应用程序<FONT face="Times New Roman"> </FONT>的子窗)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Paper Unites 479 </FONT>设置描述屏幕大小和位置量度的纸单位<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set ProgressBars 480 </FONT>设置禁止或允许进度条对话框显示<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Redistricter 481 </FONT>在重分区操作时改变分区表的特征<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Resolution 483 </FONT>设置对象的编辑分辨率;当一个对象转变为另一对象类型时控制着配给对象的结点数<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Shade 484 </FONT>修改一个专题<FONT face="Times New Roman">(Thematic)</FONT>图层<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Style 485 </FONT>重置当前的线型、充填式样、符号或字体类型<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Table 486 </FONT>设置一打开表的各属性<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Target 488 </FONT>设置或删除正在编辑的M<FONT face="Times New Roman">ap</FONT>的目标对象<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Set Window 489 </FONT>改变窗口位置、大小、标题或状态<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Sgn() 493 </FONT>返回符号<FONT face="Times New Roman">-1,0,1</FONT>以表明所指定的数是负的、零或正的<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Shade 494</FONT>,补<FONT face="Times New Roman">109 </FONT>建立一专题图层并把它加到一己存在的M<FONT face="Times New Roman">ap</FONT>窗中<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Sin() 503 </FONT>返回一个数(弧度)的正弦<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Space$() 504 </FONT>返回一个仅由空格组成的字符串<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Sqr() 505 </FONT>返回一个数的平方根<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">StatusBar 506</FONT>,补<FONT face="Times New Roman">108 </FONT>显示或隐匿状态条,或在其中显示一条简要信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Stop 507 </FONT>把一个正在运行的<FONT face="Times New Roman">MapBasic </FONT>应用程序挂起来,以便调试<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Str$() 508 </FONT>返回表示一个表达式的字串(如一个数的打印输出)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">String$() 509 </FONT>返回一个由重复-指定的字符若干次构成的字符串<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">StringCompare() 510 </FONT>执行区分大小写的字符串比较<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">StringCompareIntl() 511 </FONT>执行区分语言的字符串比较<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">StringToDate() 512 </FONT>给定字符串返回日期值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">StyleAttr() 513</FONT>,补<FONT face="Times New Roman">93 </FONT>返回线型<FONT face="Times New Roman">/</FONT>填充式样<FONT face="Times New Roman">/</FONT>字体<FONT face="Times New Roman">/</FONT>符号的某种属性<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Sub...End Sub 515 </FONT>定义一过程,然后可用<FONT face="Times New Roman">Call</FONT>调用<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Symbol 517 </FONT>为点对象指定一符号式样<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">SystemInfo() 520 </FONT>返回操作系统或软件版信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">TableInfo() 522 </FONT>返回一打开表的信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Tan() 525 </FONT>返回一个数的正切<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">TempfileName$() 526 </FONT>返回建立一个临时文件能用的名字<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Terminate Application 527 </FONT>结束一正在运行或睡眠的<FONT face="Times New Roman">MapBasic</FONT>应用程序<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Timer() 528 </FONT>返回所间隔的时间(秒<FONT face="Times New Roman">) </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">ToolHandler 529 </FONT>保留的过程名;与特殊的工具按钮(<FONT face="Times New Roman">Mapbasic</FONT>工具)一起工作<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">TriggerControl() 531 </FONT>返回<FONT face="Times New Roman">(</FONT>确定<FONT face="Times New Roman">)</FONT>最近被用户选择的对话框控件的ID标识<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">TruefileName$() 532 </FONT>返回一完整的文件标识,给定部分标识<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Type 533 </FONT>定义一个定制变量类型,它能用于随后的<FONT face="Times New Roman">Dim</FONT>和<FONT face="Times New Roman">Globel</FONT>语句中<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">UBound() 534 </FONT>返回一数组的当前大小<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">UCase$() 535 </FONT>返回一大写字符串<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">UnDim 536 </FONT>取消对一变量的定义<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">UnitAbbr$() 537 </FONT>返回表示<FONT face="Times New Roman">Mapinfo</FONT>标准单位名的缩写式样字串<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">UniteName$() 538 </FONT>返回表示<FONT face="Times New Roman">Mapinfo</FONT>标准单位名的全称<FONT face="Times New Roman">(</FONT>字符串)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Unlink 539 </FONT>用<FONT face="Times New Roman">Unlink</FONT>语句去掉与曾用<FONT face="Times New Roman">Server Link Table</FONT>语句从远程数据库下载并连结的表的联系<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Update 540 </FONT>更新一个表的一行或多行<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Update Window 541 </FONT>强迫<FONT face="Times New Roman">Mapinfo</FONT>对一个窗口完成进行中的全部改变<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Val() 542 </FONT>返回一个字符串代表的数值<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Weekday() 543 </FONT>返回从1-7的一个整数,表示一指定日期的周日<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">While...Wend 544 </FONT>定义一个循环(执行到指定条件被判断为TRUE时)<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">WinChangedHandler 545 </FONT>一个保留的过程,某个<FONT face="Times New Roman">Map</FONT>窗被缩放时或某个图层被加进或移去时被自动调用<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">WinCloseHandler 546 </FONT>一个保留的过程在M<FONT face="Times New Roman">ap,Browse,Graph,Layout,Redistricting,Mapbasic </FONT>窗口关闭时被自动调用<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">WindowID() 547 </FONT>返回一<FONT face="Times New Roman">Mapinfo</FONT>窗口标识<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">WindowInfo() 548 </FONT>返回一窗口信息<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">WinfocusChangedHandler 551 </FONT>一个保留的过程名,窗口焦点变化时自动调用<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Write # 552 </FONT>把数据写到一打开文件中<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Year() 553 </FONT>返回年月日中的年<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3>三、约定<FONT face="Times New Roman"> TOP </FONT></FONT></P> <P ><FONT size=3>约定<FONT face="Times New Roman"> </FONT>意义<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">If,Call,Map,Browse,Area </FONT>第一个字母大写的黑体字是<FONT face="Times New Roman">MapBasic</FONT>的关键字(保留字)。<FONT face="Times New Roman"> </FONT>本手册内各个关键字的首字都是大写的,不过,在你写<FONT face="Times New Roman">MapBasic</FONT>程序时,你可以用<FONT face="Times New Roman"> </FONT>大写、小写或二者混合输入关键字。<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Main,Integer,Pen,Object </FONT>首字母大写的非黑体字通常是特殊的过程名或变量类型。<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">table,handler,window_id </FONT>斜体代表<FONT face="Times New Roman">MapBasic</FONT>语句的参数。你完成一个<FONT face="Times New Roman">MapBasic</FONT>语句时,必须为各个参数提供一个相应的表达式。<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">[window...id],[Interactive] </FONT>出现在方括号内的关键字或参数是可选的。<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">{On|Off} </FONT>一个句法表达式出现在花括号内时,内含有一个关键字或参数列表,它们之间是由竖线字符分隔的。你必须选择其中之一。例如,在左面的样品中,你应该或者选择<FONT face="Times New Roman">On</FONT>,或者选择<FONT face="Times New Roman">Off</FONT>。<FONT face="Times New Roman"> </FONT></FONT></P> <P ><FONT size=3><FONT face="Times New Roman">Note"Hello,wored!" </FONT>实际的程序样品是用这种字体(<FONT face="Times New Roman">curier</FONT>黑体)表示的。</FONT></P> |
|
6楼#
发布于:2004-10-30 09:54
<img src="images/post/smile/dvbbs/em01.gif" /><img src="images/post/smile/dvbbs/em02.gif" />
|
|
|
7楼#
发布于:2004-10-30 22:49
<P>这个的确不错,我用了一年半了,</P><P>好象作者说是MB4.5版,我就是靠这个和MB联机帮助入门的</P>
|
|
8楼#
发布于:2004-11-16 15:22
<img src="images/post/smile/dvbbs/em02.gif" /><img src="images/post/smile/dvbbs/em08.gif" />
|
|
9楼#
发布于:2004-11-17 16:02
<img src="images/post/smile/dvbbs/em07.gif" /><img src="images/post/smile/dvbbs/em08.gif" />
|
|
上一页
下一页