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