summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
blob: b55be2ac1bad3d079a98db6a0a5461b31dc3bf31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

{}uint8 str1 = "abcd"
{}uint8 str2 = "abcd"

/; main [int]
    /; loop (int i = 0; i < 4) [i++]
        /; if (str1{i} !== str2{i})
            return 1
        ;/
    ;/
    return 0
;/