Hello!! Does anyone know how to type " | " on a keyboard on windows pc?

조회 수: 17 (최근 30일)
Christopher McGillivray
Christopher McGillivray 2019년 10월 29일
편집: Rena Berman 2019년 12월 12일
Hello!! Does anyone know how to type " | " on a keyboard on windows pc?
  댓글 수: 2
Adam
Adam 2019년 10월 29일
It's the key next to the left shift on my keyboard (with shift pressed too)
Rena Berman
Rena Berman 2019년 12월 12일
(Answers Dev) Restored edit

댓글을 달려면 로그인하십시오.

답변 (2개)

Star Strider
Star Strider 2019년 10월 29일
I use: Shift+\ to get |. (QWERTY keyboard, U.S.)
It is also char(124)

Steven Lord
Steven Lord 2019년 10월 29일
It depends on which keyboard layout you're using. On my QWERTY keyboard, I press and hold Shift and then the key on the far right of the main keyboard section below Backspace and above Enter. For many countries' QWERTZ layout it looks like AltGr + W gets you the | character.
If you're having difficulty finding this character on your keyboard, you could always explicitly call the or function. or is the function name associated with the | operator.
A = true | false % true
B = or(true, false) % also true

카테고리

Help CenterFile Exchange에서 Desktop에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by