当前位置:网站首页>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开始,从左到右,从上到下,计算所有不为空的单元格,注释自动跳过
默认的选项
默认的环境
默认的各种颜色
边栏推荐
- [staff] high and low octave mark (the notes in the high octave mark | mark range are increased by one octave as a whole | low octave mark | mark range are decreased by one octave as a whole)
- Set up file server Minio for quick use
- 数字转excel的字符串坐标
- Five combination boxing, solving six difficult problems on campus and escorting the construction of educational informatization
- Principle and process of embossing
- Serial port oscilloscope software ns-scope
- Leetcode t31: prochain arrangement
- window c盘满了
- 量化交易之读书篇 - 《征服市场的人》读书笔记
- Aardio - 阴影渐变文字
猜你喜欢
[redis] it takes you through redis installation and connection at one go
使用beef劫持用户浏览器
Significance and measures of source code encryption
Aardio - 阴影渐变文字
7-26 word length (input and output in the loop)
[getting started] input n integers and output the smallest K of them
01 numpy introduction
谈谈数字化转型的几个关键问题
On several key issues of digital transformation
[website architecture] solve 90% of distributed transactions in one move, and introduce the working principles and application scenarios of database transactions and distributed transactions
随机推荐
Using settoolkit to forge sites to steal user information
Burpsuite -- brute force cracking of intruder
Gdip - hatchbrush pattern table
【力扣10天SQL入门】Day10 控制流
Leetcode t29: divide two numbers
Teach you how to apply for domestic trademark online step by step
window c盘满了
Book of quantitative trading - reading notes of the man who conquers the market
[force deduction 10 days SQL introduction] Day9 control flow
Luogu p3799 demon dream stick
Precautions and skills in using regular expressions in golang
[dynamic planning] p1020 missile interception (variant of the longest increasing subsequence)
PostgreSQL source code learning (26) -- windows vscode remote debugging PostgreSQL on Linux
[getting started] input n integers and output the smallest K of them
Count number of rows per group and add result to original data frame
Provincial election + noi Part VI skills and ideas
Differential: definition of total differential, partial derivative, gradient
[untitled]
Luogu p1088 [noip2004 popularization group] Martians
CPU設計實戰-第四章實踐任務一簡單CPU參考設計調試