go to post Marek Bernád · Aug 12, 2017 Thanks for answer. Of course. It seems I misunderstand it before. And I need lock without timing.It is possible to catch somehow that second process found some critical area locked?. For example:if (is not lock){ lock}else{ behave else ( ..otherFunc())}Because if I use lock without timing, other process will sleep on lock like classical mutex, yes, your answer is correct, thanks, but I would like to know even more, if it is possible to externally check if lock is locked without falling asleep with process that will use LOCK +(^A,^B,^C), please?
go to post Marek Bernád · Jul 29, 2017 Are you sure that this will work?USER > set number = "21d20"USER > if (number\1 = +number) { w "number and integer" } else { w "not number and not integer" }will output that it is "number and integer", because number\1 will turn string "21d20" to "21" as a result. Moreover +number will result from "21d20" to "21" ... and will tell that really 21 equals 21 ... but "21d20" is not number