我正在尝试使用$ MODESWITCH ISOIO使用$ MODE OBJFPC。 ISO IO启用了什么?

发布于 2025-02-03 05:52:01 字数 51 浏览 3 评论 0原文

我一直在寻找以ISOIO模式使用的Get和放置,但事实并非如此。 ISOIO启用了什么?

I was looking for get and put to be available in ISOIO mode but they are not. What is enabled with ISOIO?

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

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

发布评论

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

评论(1

给不了的爱 2025-02-10 05:52:01

详细信息是无证的,似乎主要是用于读取/写入文件的{$ mode iso}的子集,重新布置RTL处理程序以重置/读取/读取$ sode ISO的rtl处理程序,并且限制了用于读取/的类型在文本模式下写入。

它还可以通过Filetype^向前看。 (这可能是为什么首先有_iso特定处理程序的原因,以及reset()语句的ISO形式)和变量
ISO Filetypes的原型似乎是初始化的。 (在某些情况下)

我看不到get/put,但我不是编译器破解,所以我可能会错过这一点。您可以自己测试。 (关于重读您的帖子的whop,您已经做到了)。

因此,我认为答案主要与 ^操作员相处。

**添加了pascaldragon的后来回应**

帕斯卡开发人员对方言项目的更多反应,我在这里逐字引用:

put and got并不属于Modeswitch ISOIO的一部分,因为它们不是固有的,而是由ISO7185单元提供的,该单元仅用于模量ISO。由于该单元还包含ISOIO模具开关未涵盖的功能(某些类型,圆形功能),因此它不用于该模式开关,而仅与模式一起使用。

因此,基本上,实现是库的东西,并且不能轻易与其他基于库的ISO物品分离。

The details are undocumented, it seems like it mostly a subset of {$mode iso} for reading/writing files, that reroutes RTL handlers for reset/read/write to the ones for $mode ISO, and limits the types allowed for read/write in text mode.

It also enables look ahead with filetype^. (which is probably the reason why there are _ISO specific handlers in the first place, together with the ISO form of the RESET() statement) and variables
of ISO filetypes seem to be initialized. (under some circumstances)

I don't see enabling of get/put, but I'm no compiler crack, so I might have missed that. You can test that yourself. (whoops on rereading your post, you already did).

So I think the answer is primarily lookahead with the ^ operator.

**added later response from Pascaldragon **

A Pascal developer more into dialectal items finally reacted, which I quote here verbatim:

Put and Get are not part of modeswitch ISOIO, because they're not intrinsics and are instead provided by the ISO7185 unit which is only used for modeswitch ISO. As that unit also contains functionality that's not covered by the ISOIO modeswitch (some types, Round functions) it's not used for that modeswitch, but only together with the mode.

So basically the implementation is a library thing, and can't easily be decoupled from the other library based ISO stuff.

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