summaryrefslogtreecommitdiff
path: root/macros/check.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/check.sci')
-rw-r--r--macros/check.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/check.sci b/macros/check.sci
index c7a1678..a52db3c 100644
--- a/macros/check.sci
+++ b/macros/check.sci
@@ -1,4 +1,11 @@
function [s] = check(str)
+//It checks whether the input string is equal to "AKICc". If it is equal, then it results T(True) else it returns F(False)
+//s: output variable
+//str: Input string
+//Example:
+//check("apple")
+//output:
+//F
funcprot(0);
is_AKICc = (str == "AKICc")
disp(is_AKICc)