当前位置:网站首页>SPL-安装与基本使用(二)
SPL-安装与基本使用(二)
2022-07-01 08:12:00 【胡安民】
下载和安装
http://www.raqsoft.com.cn/download/download-jsq
拿到安装包后执行安装程序,按提示逐步进行:
运行安装程序
按照提示,依次点击下一步,接受许可证协议
选择安装路径,点击安装
完成安装。
集算器的基本使用
只是带你熟悉一下,集算器的使用,里面的具体细节,之后会详细说的
先打开集算器,新建一个网格文件

在集算器中,如果一个单元格有值,那么在计算的时候,就可以直接使用单元格名称,引用单元格值。有值的单元格可以是常数格、计算格单元格名称由列号字母和行号整数组成。
如上图: =1+1 就是将1+1=2 的值给A1这个单元格 ,在SPL单元格的变量必须大写

如上图: 获取A1的变量+10 然后给A2
那么如何看到计算的结果呢? ,在集成器的工具栏中有运行按钮,当点击之后,就会计算全部单元格的运算
之后我们在点击单元格,就会发现右侧出现值了,(注意被计算后的单元格颜色是会变化的(默认是黄色))
我不想都计算我只想看某一个的单元格结果,当然可以,在工具栏上面有一个计算机的按钮,选中需要计算的单元格后,通过这个按钮我们能逐一计算单元格,但是在使用的过程中需要注意,如果当前计算的单元格中,引用了其他单元格,那么我们需要先计算其他单元格的值,否则引用的单元格无效
错误计算:
正确计算

当然在集算器中,还可以进行自定义变量复制,分支条件,循环,运算,函数等操作,而且还可以同时操作多个数据源进行运算,可以说是非常强大.
但是让我最感兴趣的是,当把SPL脚本写完了,我们还可以将脚本和代码关联到一起,通过类似运行存储过程的方式来运行脚本(可以传变量),这样就能和程序无缝对接,而且脚本内容可以实时更改并且程序可以实现热更新
你想想现在稍微大点的项目基本都是多个数据源的(可能每个数据源还不是一个产品,mysql,oracle ,…),甚至多个项目数据之间,存在部分数据共享
那么同时操作这些库在java代码中是不是比较痛苦的,这只是其一,在很多的时候,我们需要收集excel表格的数据,而这些表格数据有的时候会变动的,一旦结构变动那么在java中是不是就要重写代码了, 这些在spl中都能很好的解决,以上内容在之后的教程里会一 一 讲解耐心等待
计算的顺序是(重要)
计算的顺序是: 从A1开始,从左到右,从上到下,计算所有不为空的单元格,注释自动跳过

默认的选项

默认的环境

默认的各种颜色

边栏推荐
- Soft keyboard height error
- 5大组合拳,解决校园6大难题,护航教育信息化建设
- The difference between interceptors and filters
- Gdip - hatchbrush pattern table
- Use threejs simple Web3D effect
- Adding color blocks to Seaborn clustermap matrix
- AArdio - 【问题】bass库回调时内存增长的问题
- CPU設計實戰-第四章實踐任務一簡單CPU參考設計調試
- golang中的正则表达式使用注意事项与技巧
- Leetcode t39: combined sum
猜你喜欢

window c盘满了
![[website architecture] solve 90% of distributed transactions in one move, and introduce the working principles and application scenarios of database transactions and distributed transactions](/img/2c/07d729d49b1d74553decac4588074e.png)
[website architecture] solve 90% of distributed transactions in one move, and introduce the working principles and application scenarios of database transactions and distributed transactions

【入门】输入n个整数,输出其中最小的k个

The Windows C disk is full

PostgreSQL source code learning (26) -- windows vscode remote debugging PostgreSQL on Linux

Access report realizes subtotal function

7-26 word length (input and output in the loop)

Comprehensive experiment Li

使用beef劫持用户浏览器

seaborn clustermap矩阵添加颜色块
随机推荐
[redis] it takes you through redis installation and connection at one go
Leetcode t39: combined sum
PostgreSQL source code learning (26) -- windows vscode remote debugging PostgreSQL on Linux
getInputStream() has already been called for this request
How to troubleshoot SharePoint online map network drive failure?
How to prevent the other party from saying that he has no money after winning the lawsuit?
Connect timed out of database connection
01 numpy introduction
Aardio - Shadow Gradient Text
Keithley 2100 software 𞓜 Keithley2400 test software ns SourceMeter
【入门】取近似值
[website architecture] solve 90% of distributed transactions in one move, and introduce the working principles and application scenarios of database transactions and distributed transactions
web254
如何招到适合自己店铺的淘宝主播
The difference between interceptors and filters
Download jackson codehaus. org jar - downloading jackson. codehaus. org jar
01 NumPy介绍
Php laraver Wechat payment
Access报表实现小计功能
postgresql源码学习(26)—— Windows vscode远程调试Linux上的postgresql