问题标签 [ti-nspire]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
17 浏览

ti-nspire - ti-nspire cx cas 上的简单范围和域功能不起作用

我正在尝试在 ti nspire cas cx 的程序编辑器中编写一个简单的函数。

Disp (exprf1(2))- 这里的这一行不替代输入到函数中的值,而是返回之前请求的整个函数。我在这里做错了什么?

0 投票
0 回答
71 浏览

image - 脚本编辑器告诉我这个脚本有错误?

我将使用 TI nSpire LUA 中定义的计算器变量中的图像。脚本编辑器中的代码:

但是控制台在第 3 行给了我错误:图像必须是每个像素的 PIXEL_BIT_SIZE 位我已将 var img2 定义为计算器应用程序中的字符串。当我将字符串粘贴到 image.new(string) 而不是 img 中时,它可以工作,所以错误不是字符串...

有人可以帮帮我吗?我找了很多次这个问题,但我找不到任何解决方案。

0 投票
2 回答
39 浏览

ti-nspire - Defining a natural variable n in TI-Nspire CAS

I'm wondering if it's possible to define a natural variable n in TI-Nspire CAS. For example I'd like to write:

enter image description here