不凡考网

在Visual FoxPro中,使用LOCATEALLFOR命令按条件查找记录,执行

  • 下载次数:
  • 支持语言:
  • 172
  • 中文简体
  • 文件类型:
  • 支持平台:
  • pdf文档
  • PC/手机
  • 【名词&注释】

    电冰箱(refrigerator)、字符串(string)、表达式、电视机(tv)、电话线(telephone line)、返回值、执行命令(executive command)

  • [单选题]在Visual FoxPro中,使用LOCATEALLFOR命令按条件查找记录,执行该命令后,

  • 记录指针指向( )。

  • A. 满足条件的第1条记录
    B. 满足条件的第2条记录
    C. 表起始位置
    D. 表结束位置

  • 查看答案&解析
  • 举一反三:
  • [单选题]如果在命令窗口执行命令(executive command)“LIST名称”,主窗口中显示: 记录号 名称 1 电视机 2 计算机 3 电话线 4 电冰箱 5 电线 假定名称字段为字符型、宽度为6,那么下面程序段的输出结果是( )。 go 4 SCAN NEXT 2 FOR LEFT(名称,2)=”电” IF RIGHT(名称,2)=”线” EXt ENDIF ENDSCAN ?名称
  • A. 电话线
    B. 电线
    C. 电冰箱
    D. 电视机

  • [单选题]下列程序的输出结果是( )。 #includestdio.h> void main() { int b[6]={2,4,6,8,10,12}; int *p=b,**q=&p; printf("%d",*(p++)); printf("%d,",**q); }
  • A. 2,2
    B. 4,5
    C. 2,4

  • [单选题]设在工程中有一个标准模块,其中定义了如下类型: Type stutype ino As Integer strname As String*20 strsex As String*1 smark As Single End Type 在窗体上画一个名为Connnand1的命令按钮,要求当执行事件过程Command1_Click时,在c:\的随机文件student..dat写入一条记录。下列能够完成该操作的事件过程是( )。
  • A. Sub Command1_C1ick() Dim student As studtype Dim record_no As Integer record_no=1 With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With Open" c:\student.dat" For input As 1 len=len(student) Put 1,record_
    B. Sub Command1_Click( ) Dim student As studtype Dim record_no As Integer record_no=1 With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With Open"c:\student.dat" For random As 1 len=len(student) Put 1,record_n
    C. Sub Command1_Click() Dim student As studtype Dim record_no As integer record_no=1 With student .ino=12 .stmame="smith" .strsex="男" .smark=89 End With Open"c:\student.dat" For random As 1 len=len(student) Write 1,record_n
    D. Sub Command1_Click() Dim Student As studtype Dim Record_no As Integer record_no=1 With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With Open"c:\student.dat"For output As 1 len=len(student) Put 1,record_no,

  • 本文链接:https://www.zhukaozhuanjia.com/download/n8v54g.html
  • 推荐阅读
    @2019-2026 不凡考网 www.zhukaozhuanjia.com 蜀ICP备20012290号-2