MATLAB Answers

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

2 ビュー (過去 30 日間)
Christopher McGillivray
Christopher McGillivray 2019 年 10 月 29 日
Edited: 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

サインイン to comment.

件の回答 (2)

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

  0 件のコメント

サインイン to comment.


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

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。

タグ


Translated by