卡西欧 - 基础编程

发布于 2024-10-07 03:16:16 字数 262 浏览 3 评论 0原文

有点紧急...;)

我认识的人有一个卡西欧计算器(FX-9750 / Grahp35+)。

菜单中有一个带有“天数计算”的 TVM 功能,可以知道两个日期之间的天数。

我必须为这个计算器进行非常快速的编程,但我不知道该怎么做...我对卡西欧编程不太了解...

是否可以称之为 TVM ->程序内的天数计算函数? 我在谷歌上找不到任何相关信息... 下载了一些卡西欧手册,但我没有看到任何有关天数计算的信息...

请帮助我:)

It's a bit urgent... ;)

Someone i know have a Casio calculator (FX-9750 / Grahp35+).

There is in the menu a functionnality TVM with "Days Calculation" that permits to know the number of days between 2 dates.

I have to program for this calculator something very quick but i don't know how to do... i don't know so much about casio programming...

Is it possible to call that TVM -> Days Calculation function inside a program?
I can't find any information about that on google...
Downloaded some casio manuals but i don't see anything about days calculation...

Please help meee :)

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

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

发布评论

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

评论(3

压抑⊿情绪 2024-10-14 03:16:16

据我所知,您无法从 CASIO BASIC 调用现有程序。我尝试自己找到一种方法来做到这一点,但那是很久以前的旧计算器了,所以现在情况可能会有所不同。尽管如此,我在互联网上找不到任何东西。换句话说,似乎你必须自己实现它。

这里是一个教程,可能对一般编程有帮助。

这里是一个关于在 Java 中执行您想要的操作的线程,可能会有所帮助(对于表明采取的方法)。

这里是 C 语言。

请注意,您如果您发现 BASIC 语言无法胜任该任务,您可以下载 CASIO SDK 并用 C 语言编写程序。不过,我不知道您的情况是否允许,也不知道这样的 SDK 是否适用于您的特定型号。

如果您遇到麻烦,我建议您发布一个新问题。

编辑:CASIO 的这份编程手册似乎确认这是不可能的你想要什么,如果你选择自己实现的话,可能会作为一个很好的参考。它是为 FX-9750GII 设计的。

As far as I know you can't call an existing program from CASIO BASIC. I tried finding a way to do that myself, but that was a long time ago with an older calculator, so things could be different now. Still, I couldn't find anything on the internet. In other words, it seems like you would have to implement it yourself.

Here is a tutorial that might be of help for the general programming.

Here is a thread about doing what you wanted in Java that might be helpful (to show the approach to take).

Here is one in C.

Note that you might be able to download a CASIO SDK and write the program in C, if you find that the BASIC dialect is not up to the task. I do not know if your situation permits that, though, nor if such an SDK is available for your particular model.

If you run into trouble I suggest you post a new question.

EDIT: This programming manual from CASIO seems to confirm that it is not possible to do what you wanted, and might serve as a good reference should you choose to implement it yourself. It was made for the FX-9750GII.

高冷爸爸 2024-10-14 03:16:16

我不太确定该怎么做,但对于初学者来说:
1. 计算器游戏和程序(有些也有源代码)
2. 如何对 casio calc 进行编程

I am not very sure how to do it, but for starters:
1. Calculator Games and Programs (some have source code too)
2. How to program casio calc

少女七分熟 2024-10-14 03:16:16

是的,Casio BASIC 提供 TWM 功能。 Days_Prd() 给出两个日期之间的差异。

 Days_Prd(MM1, DD1, YYYY1, MM2, DD2, YYYY2)

(完整的功能参考可从 casio 下载手册中找到,也许还可以从计算器附带的 CD 中下载)。

Yes, the TWM functions are available from Casio BASIC. Days_Prd() gives the difference between two dates.

 Days_Prd(MM1, DD1, YYYY1, MM2, DD2, YYYY2)

(A full function reference is available in the manual downloadable from casio and maybe a CD you got with the calculator).

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