summaryrefslogtreecommitdiff
path: root/macros/check.sci
blob: a52db3ca2e3643d56c8773f19e200967850c09ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)
endfunction