Questions tagged [defined]

A definition is an unambiguous statement for the meaning of a word or phrase. In programming, a variable definition provides all the details for that variable.

304 questions
0
votes
1 answer

JavaScript Function Not Defined - Syntax Error

The copy function does the following : If the user enters @ in a text area, it makes a div visible and populates the div with suggestions from an array of keywords. Any array entry that matches what is entered after the @ until a space is populated…
varun Kishnani
  • 169
  • 1
  • 4
  • 16
0
votes
3 answers

MySQL Function to return table name to be used in a query

Can I use a MySQL function or procedure to return table names that can be used in a query? Something like SELECT * FROM get_db_table_name(2342352412); where get_db_table_name() is a user defined function which accepts a user_id as a parameter and…
Artem Russakovskii
  • 21,516
  • 18
  • 92
  • 115
0
votes
2 answers

Perl react to undefined in module

I have a written a script that uses different modules. The script a loop, returning to the beginning until it reaches a certain id and the dies. But sometimes, the result of a module query is undefined and the script stops. In my current case: Can't…
3und80
  • 364
  • 6
  • 20
0
votes
4 answers

How to test for dynamic URL parameters being defined in PHP?

I'm calling a fpdf file through an URL. For some calls I need to supply specific parameters, which are only used on specific calls. I cannot update all calls to the FPDF file, so I want to test inside the file, whether a URL parameter exists. I'm…
frequent
  • 27,643
  • 59
  • 181
  • 333
0
votes
1 answer

ReferenceError: not defined

So I have this function that is supposed make some changes to an image (for a portfolio I'm making) and there is a button to change the image and there is also a timer that runs that changes the image every six seconds, however, as much as the…
Matthew
  • 301
  • 5
  • 18
0
votes
1 answer

A possible mistake in header stddef.h

When I read the header stddef.h provided by gcc, I have found a possible mistake. At first, I'm sure it's a mistake. But after I have read the header stddef.h of three different versions of gcc(3.4.5, 4,4,3 and 4,6,3), I found they are same at the…
junwanghe
  • 187
  • 1
  • 7
0
votes
2 answers

How can I test if response.location.id is defined?

How can I test if : response.location.id is defined ? Thank you
Vincent Roye
  • 2,751
  • 7
  • 33
  • 53
0
votes
2 answers

javascript function says that is undefined

all I've written a function in order to calculate many things, so I've put the value of my vars in input of type hidden, so we have this code:
Stanislas Piotrowski
  • 2,595
  • 10
  • 40
  • 59
0
votes
2 answers

Why a parameter is not defined, if I can dump it and it has a value in Coldfusion?

Just a little clueless... using Coldfusion8, if I dump my session to file: this includes: accounttyp: whatever I get the same result if I only dump this parameter:
frequent
  • 27,643
  • 59
  • 181
  • 333
0
votes
1 answer

Start session in a defined computer in PHP

I'm new in this forum but I use it every time when I have a question. I need to start session in a defined computer using PHP, the method that I think to used is get a unique serial number from a computer (Windows, Mac, Linux or Android), but I…
kelelehead
  • 7
  • 1
  • 4
-1
votes
1 answer

Applying defined function to multiple rows on python

I am trying to define a function so that it applies to multiple rows at once. Here's what I'm trying to do. I have column a, which has information around payments set up by channel by consumers. I am trying to convert it into separate binary columns…
-1
votes
2 answers

How to give user input in python3

n=input("enter the no:") check(test_list,n) def check(test_list,n): for i in test_list: if(i==n): print("yes in a list") continue else: continue I had written the simple code to check if a…
-1
votes
1 answer

Python-Excel - win32com with defined names or openpyxl printing?

I have been automasing some big Excel spreadsheets through Python. I need to get a big input through a specific Excel tool created to provide an output. My spreadsheets have defined names for the input parameters (ie. Area insteead of C5). My input…
-1
votes
1 answer

Accessing a Declared Variable

Good time. How do I access a declared variable? I declare like this: $ (document) .ready (function () { var fotorama = $fotoramaDiv.data ('fotorama'); $ (document) .on ('click', '.btn-del-model', function (e) { console.log (e); console.log…
-1
votes
1 answer

NameError: name 'Key' is not defined

I am getting a NameError, when trying to call in def Password() saying that 'Key' is not defined. When clearly I have defined it in the RandomKey(): function and returned the value... How do I fix it? def RandomKey(): Main_Key =…
Aura
  • 25
  • 4