연산자 not

Jmnote (토론 | 기여)님의 2014년 6월 21일 (토) 12:37 판
not
!

1 Bash

A=1
echo $((A^1))
# 0
A=0
echo $((A^1))
# 1

2 Ruby

puts !true
# false
puts !false
# true

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}