From 1dc99d862fe3178a3a6e72e2c1338000545ec859 Mon Sep 17 00:00:00 2001 From: Ankitr19 Date: Fri, 7 Jul 2017 12:47:56 +0530 Subject: Demos and RPi compiler compatibility --- tests/unit_tests/test_string/scilabcode/strchrtest.sci | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/unit_tests/test_string/scilabcode/strchrtest.sci (limited to 'tests/unit_tests/test_string/scilabcode/strchrtest.sci') diff --git a/tests/unit_tests/test_string/scilabcode/strchrtest.sci b/tests/unit_tests/test_string/scilabcode/strchrtest.sci new file mode 100644 index 00000000..f8d34198 --- /dev/null +++ b/tests/unit_tests/test_string/scilabcode/strchrtest.sci @@ -0,0 +1,6 @@ +function strchrtest() + s="This is a sample string"; + ch="s"; + y=strchr(s,ch); + disp(y); +endfunction -- cgit