Top "Declare" questions

Use this tag for questions related to declare, which is usually meant for declaring variables, statements, etc.

Declare variable syntax invalid in MySQL Workbench?

I am trying to create and set a variable: DECLARE myId INT; SET myId = 5; However, I am getting invalid syntax …

mysql syntax-error mysql-workbench declare
Declare row type variable in PL/pgSQL

As I found SELECT * FROM t INTO my_data; works only if: DO $$ DECLARE my_data t%ROWTYPE; BEGIN SELECT * …

postgresql types plpgsql declare select-into
Create a function declaring a predefined text array

I need to create a function in Postgres and one of the variables I declare is a predefined text array, …

arrays function postgresql plpgsql declare
Differences between declare, typeset and local variable in Bash

When typing variables in Bash, what is the difference between declare and typeset? When used inside a function: what is …

bash shell variables scope declare
Avoiding declaring private functions in class header files (C++)

(In C++) I have a class whose structure is declared in a header file. That header file is included in …

c++ function header private declare
character encoding of a framed document was not declared

I get this warning in FF when developing a site of mine. I can't find any real info about it …

firefox character-encoding document declare
What does "#!/bin/env" mean (at the top of a node.js script)?

I found serval node.js projects that have this at top of their app.js (as in this openshift program): #!/…

node.js openshift declare
Struct with an array as variable in c

i need to create a data type (struct in this case) with an array as a property. I have an …

c arrays variables struct declare
How is this private variable "not declared in this scope"?

I'm currently trying to learn more about object oriented design in C++ (familiar with Java) and am running into some …

c++ oop scope sfml declare
Where is pow function defined and implemented in C?

I read that the pow(double, double) function is defined in "math.h" but I can't find its declaration. Does …

c function declare pow