Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
2 files changed, 13 insertions, 8 deletions
-rw-r--r--src/UserInterface/UserInterface.cpp17
-rw-r--r--src/f.table4
diff --git a/src/UserInterface/UserInterface.cpp b/src/UserInterface/UserInterface.cpp
index c3ecbe3..0fc9e96 100644
--- a/src/UserInterface/UserInterface.cpp
+++ b/src/UserInterface/UserInterface.cpp
@@ -55,14 +55,15 @@ void UserInterface::com_saveas(const char* params) {
}
void UserInterface::com_help(const char* params) {
- std::cout << "The following commands are supported:" << std::endl
-
- << "open <file> opens <file>" << std::endl
- << "close closes currently opened file" << std::endl
- << "save saves the currently open file" << std::endl
- << "saveas <file> saves the currently open file in <file>" << std::endl
- << "help prints this information" << std::endl
- << "exit exists the program" << std::endl;
+ std::cout << "The following commands are supported:" << std::endl
+ << "print prints the whole table" << std::endl
+ << "edit RxCy <data> Replaces the value on row x and column y with the given data" << std::endl
+ << "open <file> opens <file>" << std::endl
+ << "close closes currently opened file" << std::endl
+ << "save saves the currently open file" << std::endl
+ << "saveas <file> saves the currently open file in <file>" << std::endl
+ << "help prints this information" << std::endl
+ << "exit exists the program" << std::endl;
}
void UserInterface::com_exit(const char* params) {
diff --git a/src/f.table b/src/f.table
new file mode 100644
index 0000000..6014a99
--- /dev/null
+++ b/src/f.table
@@ -0,0 +1,4 @@
+10,"Hello World!",123.56
+123
+
+"=10+10","=R1C1+R1C3","=R1C1*R1C2","=R1C1*R2C2","=R1C1*R200C1","=10/0","=10/R2C2","=R1C1/R1C2"