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

17 vues (au cours des 30 derniers jours)
Christopher McGillivray
Christopher McGillivray le 29 Oct 2019
Modifié(e) : Rena Berman le 12 Déc 2019
Hello!! Does anyone know how to type " | " on a keyboard on windows pc?
  2 commentaires
Adam
Adam le 29 Oct 2019
It's the key next to the left shift on my keyboard (with shift pressed too)
Rena Berman
Rena Berman le 12 Déc 2019
(Answers Dev) Restored edit

Connectez-vous pour commenter.

Réponses (2)

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

Steven Lord
Steven Lord le 29 Oct 2019
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

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by