Crates.io | logiscript |
lib.rs | logiscript |
version | 0.1.0 |
source | src |
created_at | 2023-09-30 12:16:42.795009 |
updated_at | 2023-09-30 12:16:42.795009 |
description | A simple script for building and testing LogiSheets |
homepage | |
repository | |
max_upload_size | |
id | 988602 |
size | 32,454 |
A script for testing the calculation of LogiSheets.
Switch to the specific sheet. If this sheet does not exist, create it.
SWITCH sheet
Take the content as the input to a cell.
INPUT A1 =SUM(1+2)
INPUT B2 3
Insert rows at the given position.
# Insert 3 rows at the row 1.
INSERTROW 1 3
Insert cols at the given position.
# Insert 3 cols at the col B.
INSERTROW B 3
Delete rows at the given position.
# Delete 3 rows at the row 1.
DELETEROW 1 3
Delete cols at the given position.
# Delete 3 cols at the col B.
DELETECOL B 3
Create a block with the given id and range.
BLOCKCREATE 1 A1:C3
Remove a block with given id.
BLOCKREMOVE 1
Move a block by specifying new position of its master cell.
BLOCKMOVE 1 D4
Insert some rows in a block.
BLOCKINSERTROW {block_id} {idx} {cnt}
Insert some cols in a block.
BLOCKINSERTCOL {block_id} {idx} {cnt}
Delete som rows in a block.
BLOCKDELETEROW {block_id} {idx} {cnt}
Delete some cols in a block.
BLOCKDELTECOL {block_id} {idx} {cnt}
Check whether the cell is equal to a given number.
CHECKNUM A1 3
Check whether the value of a specific cell is equal to a string.
CHECKSTR A1 aaa
Check whether the value of a specific cell is equal to an error.
CHECKERROR A1 #NUM!
Check the formula of a cell.
CHECKFORMULA A1 SUM(1, 2)
Check if the cell is blank
CHECKEMPTY A1