Most voted "syntax-error" questions
In computer science, syntax errors are errors in the string syntax or tokens intended by the programming language that defined them. In languages compiled syntax errors occur strictly when compiling the program, which is prevented until all syntax errors are corrected.
Learn more…107 questions
Sort by count of
-
-2
votes1
answer34
viewsProblems compiling code in C - "[Error]: Id returned 1 Exit status"
Good afternoon guys! How are you? I’m learning codar in C as part of a college course. In the current exercise, we were asked to generate a simple program for inserting/removing records. I relied on…
-
-2
votes1
answer31
viewsTrigger to check for data in another table
I’m trying to create a Trigger, using the following tables: The Trigger will be in the Table Carrier, and only need to check if in City.codcidade, there is some value equal to the…
-
-3
votes1
answer62
viewsHi, I’m new to Python, and I’m having trouble with a Syntaxerror on an Else
It appears to be written in the right way, but is still making a mistake. No matter what I do the error continues, I have already tried to exchange for an Elif, for an if, but nothing right. Always…
-
-3
votes1
answer66
viewsPRINT command is set to INVALID SYNTAX in Python
I’m doing a simple exercise in python and I don’t understand the reason for my mistake. num1 = (int(input("Digite o primeiro número")) print("Digite a operação desejada, sendo:") print("* -->…
-
-3
votes1
answer75
viewsWhen executing the code below, a "Syntax: invalid syntax" Syntax error appears. I cannot identify the error
from math import pi, sin, cos from math import sqrt, acos, log, exp def d_rsc (Z, p, Td, Rsea, Rstab): m = 35 * sqrt ((1224 * ((cos (Z))**2) + 1) TRTg = 1.021…
-
-5
votes3
answers1601
viewsHelp me with the "Undefined index: referrer in " PHP error
I’m making the following mistake: Notice: Undefined index: referrer in C: xampp htdocs brpg register_content.php on line 71 The archive register_content.php is: <link href="css/login-form.css"…
-
-5
votes1
answer2136
viewsINVALID SYNTAX ERROR
The code below is giving error of invalid syntax. Follows: while(escolha!=0 and confirmar!=0): print("Menu") print("1- Inserir um item") print("2- Remover item") print("3- Listar todos os itens")…