Questions tagged as 'syntax-error'

1
answer

Syntax error in MySQL procedure

I am trying to create a Procedure in MySQL and it is returning Syntax error. Here is my code for review: DELIMITER $$ CREATE PROCEDURE CalculaIdadeCP (IN cpcaminhaoid INT) BEGIN DECLARE DataEnsaio,DataMoldagem DATETIME; /*CORPO DO PROCEDIM...
asked by 08.07.2015 / 16:28
0
answers

Parse error: syntax error, unexpected '' on line 1098

Well, I have a function.php that ends like this: // Clear Helper/s /* **************************************************************************************************** */ function n_clear() { echo "<div class='clear'></div>...
asked by 18.04.2015 / 23:26
1
answer

Syntax Error in MySQL Procedure

I have the following Stored Procedure. When you run it, the syntax error 1064 is not returned as in the image below. What am I missing?     
asked by 18.03.2015 / 17:11
1
answer

Problem with parameter passing / return of function arrays in C

I'm having a problem with a job I have to do in C which consists of, get the inverse array through the attached array. So far this is what I could produce in C # and then I tried to rewrite it in C, but I'm not getting success because I do no...
asked by 06.06.2018 / 03:37
1
answer

The program is not reading the numbers in the array

I'm doing exercises at uri online judge, this one asks: In this problem you should read a number, indicating an array line in which an operation must be performed, a capital character, indicating the operation to be performed, and all element...
asked by 20.02.2016 / 00:14
1
answer

Repetition structure within the selection in visualg

Function: Write a program that creates an initially zeroed vector and inserts a value into the vector at an informed position. For example, for the empty vector v = {}, position 4 and value 10, the program must generate v = {, 10}. If the positi...
asked by 29.10.2018 / 18:57
1
answer

C program compiles but output error

#include <stdio.h> #include <stdlib.h> #include <locale.h> float bonus_a_receber(float salario, float perc){ float a_pagar; a_pagar = (salario * perc) / 100; return a_pagar; } int main(int argc, const char * argv[]...
asked by 25.09.2018 / 07:31
1
answer

SYNTAX INVALID ERROR [closed]

The code below is giving invalid syntax error. Follows: while(escolha!=0 and confirmar!=0): print("Menu") print("1- Inserir um item") print("2- Remover item") print("3- Listar todos os itens") print("4- Buscar um...
asked by 30.08.2017 / 20:08
3
answers

Help me with the error "Undefined index: referrer in" PHP [duplicate]

I have the following error:    Notice: Undefined index: referrer in   C: \ xampp \ htdocs \ brpg \ register_content.php on line 71 The file register_content.php is: <link href="css/login-form.css" type="text/css" rel="styles...
asked by 04.01.2017 / 08:28