DataFlex 的提示/技巧

发布于 2024-07-05 17:52:48 字数 59 浏览 5 评论 0原文

还有人在使用 DataFlex 吗? 如果是这样,对于这款古老的 4GL,您最喜欢的提示和技巧是什么?

Is anyone out there still using DataFlex? If so, what are you favorite tips and tricks for this venerable 4GL?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

人生百味 2024-07-12 17:52:48

这完全取决于您使用的 DF 版本,但有几点:

  1. 遍历记录集时不要使用“While”。 始终使用重复。 (参见底部的示例)
  2. dataflex 新闻组 (news.dataaccess.com) 是提问的最佳场所。
  3. 其他有用的网站包括 http://sture.dk/wasphttp://www.vdf-guidance.com
  4. 使用 Entering_scope 而不是激活来初始化表单上的值。
  5. 对于延迟模式对象,使用延迟对象上方的容器对象来传递参数。

我还有更多。 但我只得去躺下。 我不敢相信有人问了 dataflex 问题。

clear orders
move const.complete to orders.status
find ge orders by index.2
repeat
    if orders.status ne const.complete indicate finderr true
    if (not(finderr)) begin
        send doYourStuffHere
        find gt orders by index.2
    end
until (finderr)

It all depends on the version of DF you're using, but here's a couple:

  1. Do not use "While" when traversing record sets. Always use repeat. (see example at bottom)
  2. The dataflex newsgroups (news.dataaccess.com) is the best place to ask questions.
  3. Other useful sites include http://sture.dk/wasp and http://www.vdf-guidance.com
  4. Use entering_scope instead of activating to initialise values on forms.
  5. With deferred modal objects, use a container object above the deferred object to pass in parameters.

I've got loads more. But I'm just going to have to go and lie down. I can't believe someone asked a dataflex question.

clear orders
move const.complete to orders.status
find ge orders by index.2
repeat
    if orders.status ne const.complete indicate finderr true
    if (not(finderr)) begin
        send doYourStuffHere
        find gt orders by index.2
    end
until (finderr)
风月客 2024-07-12 17:52:48

新的数据访问全球论坛!

http://support.dataaccess.com/forums/

The new Data Access World Wide forums!

http://support.dataaccess.com/forums/

2024-07-12 17:52:48

好久不见!

是的,DataFlex 仍然存在并且运行良好,并被许多人和组织使用。

当前版本是“Visual”形式(即 Widows GUI):Visual DataFlex (VDF) 14.1,尽管 v15.0 即将发布(几个月来我一直在使用 alpha、beta 和 RC 进行开发) 。

字符模式产品(现在 v3.2)仍然存在,适用于 DOS、Unix 和 Linux。

VDF 现在对 Web 应用程序、Web 服务(从 v10 开始)、Ajax 库(将在 15.0 中“内置”)、用于更好的 UI 设计的 CodeJock 控件、一个具有以下功能的开发环境 (VDF Studio) 提供良好的支持:有一段时间(从 v12.0 开始)它是如此完整,以至于我很少再跳出它(在为 VDF 项目这样做时,我什至在其中编写 JavaScript 代码)。 它还附带一个名为 Electos 的免费 CMS(现在是 v4.0 版本,带有 VDF 15.0)。

它的包装盒中包含 Pervasive、MS SQL Server、DB2 和 ODBC 数据库的连接套件,以及 Oracle、MySQL 和 Mertech Data Systems(Riaz Merchant 的公司:www.mertechdata.com)提供的其他驱动程序。

您可以从此处 - 这是一个功能齐全的产品,但如果您从中赚钱,您需要购买犹太洁食许可证。 试一试! ;-)

很高兴再次收到您的来信!

迈克
(仍在与你该死的数据集的 b4stard 后代战斗!!! ;-)

long time no see!

Yes, DataFlex is still alive and well and being used by lots of people and organisations.

The current version is the "Visual" form (i.e. Widows GUI): Visual DataFlex (VDF) 14.1, although v15.0 is just about to release (I've been using alphas, betas and RCs for development for a few months now).

The character mode product (now v3.2) is still around as well, for DOS, Unix and Linux.

VDF now has good support for Web Applications, web services (since about v10), an Ajax library (which will come "in the box" with 15.0), CodeJock controls for nicer UI design, a development environment (VDF Studio) that has for some time (since v12.0) been so complete that I rarely step outside it any more (I even code my JavaScript in it, when doing that for VDF projects). It also comes with a free CMS called Electos (now itself in v4.0 with VDF 15.0).

It has connectivity kits in the box for Pervasive, MS SQL Server, DB2 and ODBC databases, with Oracle, MySQL and other drivers provided by Mertech Data Systems (Riaz Merchant's company: www.mertechdata.com).

You can download a free "Personal" edition (for non-commercial use) from here - it is a fully-featured product, but if you make money from it you are required to buy a kosher licence. Give it a whirl! ;-)

Good to hear from you again!

Mike
(Still fighting with the b4stard descendants of your thrice-damned DataSets!!! ;-) )

千秋岁 2024-07-12 17:52:48

我的“工作语言”(即我作为一名受雇开发人员正在从事的工作)是 Visual Dataflex,目前版本为 14.0。 它不是最好的语言/环境,但也不是最差的。

我的第一条建议是,引用 Steve McConnell 的《Code Complete》:“在您的语言中进行编程,而不是在其中进行编程。不要将您的编程思维仅限于以下概念:最好的程序员会自动考虑他们想要做什么,然后评估如何使用他们掌握的编程工具来实现他们的目标。”

My "working language" (i.e. what I am working on as an employed developer) is Visual Dataflex, currently on version 14.0. It's not the best language/environment available, but it certainly isn't the worst either.

My number 1 tip would be, to quote Steve McConnell's Code Complete: "Program into your language, not in it. Don't limit your programming thinking only to the concepts that are supported automatically by your language. The best programmers think of what they want to do, and then they assess how to accomplish their objectives with the programming tools at their disposal."

夏雨凉 2024-07-12 17:52:48

另一个提供 VDF/DF 提示的好新网站是 VDF Wiki

Another good new site for VDF/DF tips is VDF Wiki.

话少情深 2024-07-12 17:52:48

vdfguidance URL 有一个拼写错误,它是 http://www.vdf-guidance.com

The vdfguidance URL has a typo, it is http://www.vdf-guidance.com

风吹雨成花 2024-07-12 17:52:48

mixin 继承是一个出色的功能 - 任何其他类的方法都可以在您的类中重用; 只要您提供了它们工作所需的属性,一切都很好 = 多重继承 (MI),没有“钻石问题”、名称冲突和其他 MI 问题

mixin inheritance was an excellent feature - the methods of any other class could be reused in your class; as long as you provided the properties that they needed to work, everything was fine = multiple inheritance (MI) without the 'diamond problem', name conflicts, and other MI issues

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文