set talk offdime a(7)use xsdas=0for i=3 to 5scatter to as=s+a(7)skipendfor"s="+str(s)return

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 22:30:39

set talk offdime a(7)use xsdas=0for i=3 to 5scatter to as=s+a(7)skipendfor"s="+str(s)return
set talk off
dime a(7)
use xsda
s=0
for i=3 to 5
scatter to a
s=s+a(7)
skip
endfor
"s="+str(s)
return

set talk offdime a(7)use xsdas=0for i=3 to 5scatter to as=s+a(7)skipendfor"s="+str(s)return
set talk off
dime a(7) &&定义一个一维数组,此数组有7行数据组成
use xsda
s=0
for i=3 to 5 &&这里只够明白是三次循环,似乎I没有什么意义
scatter to a &&从当前记录中复制数据到一个数组,因为此行命令了省略 了FIELDS FieldNameList ,所以将从所有字段中复制值,即将当前记录的值依次赋给a(1),a(2),……,a(7).
s=s+a(7) &&进行累加,但此a(7)指的是数组a的第7行数据,由上行命令中赋值,其值由表XSDA的第7个字段的值
skip
endfor
"s="+str(s)
return

set talk offdime a(7)use xsdas=0for i=3 to 5scatter to as=s+a(7)skipendfors=+str(s)return SET TALK OFF STORE 1 TO A,B DO WHILE A 在vf数据库里,b->或a->是什么意思?recno()的用法?set talk off是什么用法? SET TALK OFFSET TALK OFFSET TALK OFFSET TALK OFFCLEARDIMENSION A(5)FOR K=1 TO 4A(K)=15-K*KENDFORK=3DO WHILE K>=1A(K)=A(K)-A(K+1)K=K-1ENDDOA(1),A(2),A(3),A(4),A(5)SET TALK ONRETURN    运行结果是: a set 请问Vf 中的 set talk on/off SET TALK OFFDIMENSION A (5,5)CLEARFOR I=1 TO 5FOR J=1 TO 5A(I,J)=I*J ENDFORSET TALK ON RETURN vfp执行如下程序后,显示A的值 set talk off clear store 0 to a,b do while a>=b a=a+b b=b-1 enddoset talk onA.-3 B.6 C.-6 D.0set talk offclearstore 0 to a,bdo while a>=b a=a+bb=b-1enddo VFP:set talk off clear s=0 for m=3 to 7 n=2 do while n 求高手做几道程序题,只要写出结果就可以了.1、程序代码:SET TALK OFFCLEARA=’ABCDEFGH’N=LEN(A)FOR I=1 TO N SETP 2SUBSTR(A,N-I-1,2)ENDFORSET TALK ON2、设N值为4,字符”A”的ASCII码为65.程序代码:SET TALK OFFCLEAR SET TALK OFF,X=2 ,DO WHILE X VF中,程序开头的SET TALK OFF         CLEAR SET TALK OFF 这个语句有什么作用? 1)Can you _____it in English?A.say B.speak C.tell D.talk 2)Tim _____until Betty arrived very late.A.didn't stay B.waited C.left D.hurried off3)We were told we ______the next week.A.would set off B.will set offC.had set off D.were set off顺便翻译 a complex set of 具体 complex set vfp中set talk off/on和set safety 程序中常用这两句开头和结尾~ vf中do while-enddo循环的嵌套怎么执行循环的?急set talk offclear dimension a(2,3)i=1do while i vfp二级题目.SET TALK OFFCLEARINPUT “N=” TO NP=5I=1A=0DO WHILE I