AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Sintaxis WLanguage / Operadores
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The different operators are as follows:
Logical operatorsExamples: AND, OR , NOT
Arithmetic operatorsExamples: "+", "-", "*", "/", "++", "--", "+=", "-="
Bitwise operatorsExamples: "&", "|", "||", bitShiftLeft, bitShiftRight, operators [ and ]
Comparison operatorsExamples: "=", "~=", "<>", "<=", ">=", "<", ">"
Operators on character stringsExamples: "+", "[[", "]]"
Operators on address&
Operators for control and item indirection{ and }
Punctuation operatorsExamples: "(" and ")", "[" and "]", "," and "." and ":" and ";", "..", "..." and "//"
Exchange operators<=>
Assignment operators"=", "<-" and "<="
Operators on nullable types?!,??,??*,??=,??=*
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Another example
EDT_Senha..BrushColor = (EDT_Senha <> EDT_Senha_Confirma) OR (Length(EDT_Senha) < 6) ? LightRed ELSE White

EDT_Nome..BrushColor = EDT_Nome = "" ? LightRed ELSE White
adrianoboller
16 10 2015
? as an in-line logical operator
I'd like to include ? in the list of logical or string operators.
Using the ? to do in line comparisons as in
<Result> = <Condition>? <Expression 1> ELSE <Expression 2>
Example :
Trace("The color is " + (sSelectedColor=""? "not selected." else sSelectedColor))

The trace will report either the color or "not selected" depending on the value of sSelectedColor
ccordes
05 06 2014

Última modificación: 15/03/2025

Señalar un error o enviar una sugerencia | Ayuda local