🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #1838

Re: ����foxpro�ij���˭�����ҿ���

#1838
From: Ŭ������ǰ
Date: Thu, 13 Oct 2005 11:36
32 lines
2602 bytes
�� �� luckywlj (��������) �Ĵ������ᵽ: ��
: �ļ�newsa.dbf��newsb.dbf������ͬ�Ľṹ�����ֶ��У�newsp(������ƣ��ַ���),price�����ۣ���ֵ�ͣ���newsa��newsp�Ͻ��������ļ�newsa.idx��newsb��newsp�Ͻ��������ļ�newsb.idx����������Ĺ����ǣ�������newsa.dbf���ֵ�����newsb.dbf�г��ֵı�����ơ�
: set talk off
: seletc b
: use newsb alias new index newsb
: select a
: use newsa alias old index newsa
: do while .not. eof("old") .or. .not. eof("new")
:         do case
:                 case eof("new") .or. .not. eof("old") .and. newsp<new->newsp
                                                                   ~����������������ʲô��˼, ��һ��newspĬ�ϵ���case������ŵ��Ǹ�?���������?
�ܲ鵽��صĶ�����?


:                         ?newsp
:                         skip old
:                 case eof("old") .or. .not. eof("new") .and. newsp>new->newsp
:                         skip in new
:                 other
:                         ship
:                         skip in new
:         endcase
: enddo
: clear all
: return
: �һ���û��Ū������θ�ݽ����������ļ��е��������Ƚϴ�С��Ҳ���� newsp<new->newsp��newsp>new->newsp����֪��Ӧ����ô��⣬��֪��˭�������һ�¡�^_^ 


--

�� ��Դ:��BBS_����˼��վ lzusiyu.org��[FROM: 202.201.13.*]
Technical Details
Message-ID: <4KYPST$f41@siyu.cn-bbs.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!202.194.15.150.MISMATCH!bbsnews.sdu.edu.cn!news.xjtu.edu.cn!Siyu

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,67972b2a4ddd6b
X-Google-Attributes: gid101948,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!202.194.15.150.MISMATCH!bbsnews.sdu.edu.cn!news.xjtu.edu.cn!Siyu
From: luobeng@lzusiyu.org-SPAM.no (Ŭ������ǰ)
Newsgroups: cn.bbs.comp.database
Subject: Re: ����foxpro�ij���˭�����ҿ���
Date: 13 Oct 2005 11:36:01 GMT
Organization: BBS_����˼��վ
Message-ID: <4KYPST$f41@siyu.cn-bbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Database/M.1129203293.u0