====== s18 ====== ===== en ===== ==== name ==== The tabulation characters should not be used for code indentation * a) The code should not contain any horizontal tabulation. Indentation is done with spaces. ==== description ==== When writing Structured Text code, the developer should ensure that the code is correctly indented but without using horizontal tabulations. **Detailed explanation** : Depending on the settings of the software development tool, an horizontal tabulations may replace a different space numbers. So on one software development tools, the indentation is correct but not with another one.\\ **Level** : Recommended\\ ==== errorMessage ==== * a) The code indentation uses horizontal tab in {LOCATION}. Use spaces instead. * b) There are more than one instruction per line in {LOCATION} ===== fr ===== ==== name ==== Le code écrit en Texte Structuré doit être correctement indenté sans utiliser de tabulations horizontales. * a) Le code écrit en Texte Structuré ne doit pas utiliser de tabulations horizontales. L'indentation doit être faite avec des espaces ==== description ==== Lorsque le développeur écrit du code en langage Texte Structuré, celui-ci doit être correctement aligné.\\ **Explication complémentaire** : En fonction des paramètres de l'atelier de développement, les caractères tabulation sont remplacés par plus ou moins d'espaces. Donc un code correctement indenté sur une machine peut être mal indenté sur une autre si les paramètres sont différents. L'objectif est donc de ne pas utiliser de caractères tabulation pour réaliser l'indentation.\\ **Niveau conseillé** : Recommandé\\ ==== errorMessage ==== * a) L'indentation du code en texte structurée est incorrecte en {LOCATION} * b) Il y a plus d'une instruction par ligne en {LOCATION} ===== it ===== ==== name ==== Il codice scritto in testo strutturato deve essere indentato correttamente senza usare delle tabulazioni orizzontali. * a) Il codice scritto in testo strutturato non deve usare delle tabulazioni orizzontali. L'indentazione deve essere fatta con i spazi. ==== description ==== Quando lo sviluppatore scrive in testo strutturato, il codice deve essere indentato correttamente ma senza usare delle tabulazioni orizzontali. **Spiegazione supplementare** : In base alle impostazioni dello strumento di sviluppo software, una tabulazione orizzontale è sostituita da un numero diverso di spazi. Quindi, un codice correttamente indentato su una macchina, può essere mal indentato su un altro se le impostazioni sono diverse. L'obiettivo è pertanto di non usare la tabulazione per realizzare l'indentazione.\\ **Livello** : Racommandato\\ ==== errorMessage ==== * a) L'indentazione del codice usa una tabulazione orizzontale in {LOCATION}. Invece, usare degli spazi. * b) C'è più di un'istruzione per linea in {LOCATION} ===== de ===== ==== name ==== Für den Einzug der Codezeilen sollte nicht das Tabulator-Zeichen benutzt werden. * a) Der Code sollte keine horizontalen Tabulatorstops enthalten. Der Einzug wird über Leerzeichen erzeugt. ==== description ==== Wenn Code in Structured Text geschrieben wird, sollte der Entwickler darauf achten, dass der Code korrekt eingezogen ist ohne dabei Tabulatorstops zu verwenden. **Detailed explanation** : Aufgrund verschiedener Einstellungen in einer Entwicklungsumgebung kann ein horizontaler Tabulator unterschiedliche Leerzeichen repräsentieren. In einer Umgebung wäre dann der Einzug korrekt in einer anderen aber nicht. \\ **Level** : Empfohlen\\ ==== errorMessage ==== * a) Für den Einzug im Code wurden Tabulatoren benutzt in {LOCATION}. Leerzeichen verwenden. * b) In der Linie in {LOCATION} befindet sich mehr als eine Instruktion.