summaryrefslogtreecommitdiff
path: root/tnslc/utils/algo.tnsl
blob: c501e35700b680b7025f40a3adeea81842248b5c (plain)
1
2
3
4
5
6
7
8
9
10

/; strcmp(~uint8 a, b) [bool]
	/; loop (a` == b` && a` !== 0 && b` !== 0) [a++; b++] ;/

	/; if (b` == 0 && a` == 0)
		return true
	;/
	return false
;/