A syntax error occurs when a program does not follow the syntactical rules of the programming language.

learn more… | top users | synonyms

0
votes
0answers
5 views

Error with the Excel.Find function in VBScript

I am trying to create a VB script that searches through a column of dates and returns the address of the cell with todays date. For some reason I keep getting an "Object required: 'FoundCell'" error. ...
0
votes
0answers
5 views

Importing a file into LESS via mixin won't see the @filename var

I'm trying to load an .less file into my main theme, this is my filestructure: main.less themes/pink.less themes/yellow.less themes/blue.less I'm using this mixin to retrieve the selected theme: ...
-1
votes
5answers
15 views

Syntax error but I don't see it? (PHP/MySQLi_Query)

So I have been working on different PHP scripts all day, so I don't know if it's just my eyes and I need a break or what: but I wrote a line to connect to MySQL database, and check if a username ...
1
vote
1answer
14 views

Implicit declaration of function '…' is invalid on C99

I am still working on an iPhone app called Cruzia and am now wondering why I am geting these two warnings, both in ViewController.m and three errors, all an Apple Mach-O Linker Error. If you can point ...
0
votes
1answer
30 views

Python Syntax Error

I'm on Windows and I'm using PyScripter. For some reason everything results in a syntax error, even code that very obviously does not have a syntax error. For example, print 6 gets a syntax error, ...
0
votes
1answer
23 views

Javascript string and variable on GET Method , syntax error?

I want to send a value with get method sID and rID are javascript variables. So without using + symbol we can not concatenate strings in JS. But the my problem is not only this. if I try like below ...
-1
votes
0answers
16 views

Jquery.parseJSON(data) does not work in $.ajax, but does in a promise object? [on hold]

Going about my daily thing developing a small application for my employer we typically use a framework that abstracts the AJAX call. For this small application that level of abstraction is not needed. ...
0
votes
1answer
15 views

J fork evaluation

I don't understand well how J evaluate fork. In my case, I have this: v = ((*:+/)-(+/*:)) A simple code(but wrong), I tried to do the variance of a list: v i.11 |domain error ...
0
votes
0answers
17 views

Phantom syntax errors in Visual C++ 2010 Express

I just started learning C++, and I'm getting weird 'phantom' syntax errors in Visual C++ 2010 Express. There are red lines under seemingly random pieces of code, and when I hover my cursor over them ...
0
votes
1answer
23 views

MySQL Stored Procedure Error In Multiple IF…THEN…END IF; statements

Currently i'm writing a MySQL stored procedure that do the following two functions in one go: Check if the table exists. If so, rename the database table name. Check if the new table exists. If so, ...
-1
votes
4answers
47 views

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '

The code below is used when the user enters a youtube url it get the youtube id from the url. It then get the title for that video with that id. That is then inserted into a database and recalled to ...
0
votes
1answer
10 views

How can I query a date from a datetime object in SQLite?

Here is my attempt: rs = statement.executeQuery("select * from geninfo where DeviceTag='" + deviceTag + "' and timestamp='date('"+fromYear + "-" +fromMonth + "-" + fromDay + "')';"); It will look ...
0
votes
3answers
46 views

Uncaught SyntaxError: Unexpected token } vb.net

When I debug my code in Google Chrome, I have a red text saying Uncaught SyntaxError: Unexpected token }. I don't understand why and where this is coming from. This is the code from the source ...
1
vote
1answer
21 views

SyntaxError using input() to get a path

I had a function, which needs the path to a file, working last week, but when I needed it today it gave me an error, and I can't figure out what is not working, though it should be pretty simple. See ...
0
votes
1answer
18 views

Issues with form_for following ruby tutorial

Good afternoon, I'm starting out with rails and as I'm following the guide at http://guides.rubyonrails.org/getting_started.html I seem to have hit a roadblock. When I try to use the form_for ...

1 2 3 4 5 121
15 30 50 per page