<languages/>
<translate>
= Escape Character = <!--T:1-->
=== Escape Character ===
O <!--T:2-->In TaticView suporta o caractere the character ''barrabackslash'' '''\''' para indicar que o seu sucessor não tem significado especialcan be used to indicate that its successor is a common character, veja mais em has no special meaning, see more in [https://en.wikipedia.org/wiki/Escape_character Wikipedia Escape Character]
Isso é útil principalmente nas <!--T:3-->This is especially useful in [[Expressions|expressõesexpressions]], que usam o caractere which use the character ''aspas duplasdouble quotes '' '''"''' para delimitar o nome de um campoto delimit the name of a field, o problema ocorre quando o nome do campo tem esse caracterethe problem occurs when the name of the field has that character.Por exemploFor example, a the [[Expressions|expressãoexpression]] envolvendo um campo chamado involving a field called '''Parafuso Screw 1"''', (perceba que o campo tem aspas duplas no nomenote that the field has double quotes in the name, significando polegadasmeaning inches) sem o escape a without escaping [[Expressions|expressãoexpression]] seria escrita assimwould be written like this:
===="Parafuso Screw 1"" * "Preço MédioAverage Price"==== <!--T:4-->
Essa <!--T:5-->This [[Expressions|expressãoexpression]] gera um erro de sintaxegenerates a syntax error, já que a ''aspa dupla'' que delimita o nome também faz parte delesince the "double quotation mark" that delimits the name is also part of it.A solução é usar o caractere de The solution is to use the escapecharacter
===="Parafuso Screw 1\"" * "Preço MédioAverage Price"==== <!--T:6-->
O caractere <!--T:7-->The 'backslash'barra'' indica ao character tells TaticView que que o caractere que o sucede é um caractere that the character that succeeds it is a normalcharacter, e não um delimitador de nome de camponot a field name delimiter.
O escape pode ser usado em outros casos, como no caso da ''aspa simples'' que também pode estar presente.
Mais alguns exemplos<!--T:8-->With this slash behavior, it is necessary to "escape" the backslash character itself, for example, if an identifier has the backslash character in its name, it must be duplicated, thus indicating that the character is part of the name , not an ''escape''.An example, of an identifier that '''Price\kg''' needs to be written like this in [[Expressions|expression]] '''Price\\kg'''
* "Produto" = 'D\'água'
<!--T:9-->The escape can be used in other cases, as in the case of the "single quote" which may also be present. <!--T:10-->Some more samples: <!--T:11-->* "Product" == 'D\'água' <!--T:12-->* "BairroDistrict" == 'Mont\'Serat' </translate>