Understand, thank you.
- Log in to post comments
Understand, thank you.
Ok, I understand now. Thanks
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?
Yes ,true. This is more precise. Thanks
Hmm, I see. Yes, thanks for explanation.
Thanks! It works.
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