Top "Declare" questions

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

typescript declare third party modules

How could I declare a third party module which looks like this: in third party module: module.exports = function foo(){ // …

javascript typescript declare
Cannot assign a default value to a local variable in SQL

I am trying to declare local variable like: DECLARE @thresholdDate DATETIME = '2014-11-30' And I am getting error: …

sql sql-server sql-server-2005 default-value declare
MySQL local variables

I am trying to define and initialize a MySQL variable for a query. I have the following: declare @countTotal int; …

mysql variables set local declare
Declare a variable in Oracle SQL to use in a query

Hi I am trying to declare a variable to use in Oracle SQL select query as such: DECLARE myDate DATE; …

sql oracle variables select declare
Declare multiple variables in JavaScript

I want to declare multiple variables in a function: function foo() { var src_arr = new Array(); var caption_arr = new …

javascript variables declare
C function pointer syntax

My question is a very simple one. Normally, when declaring some variable, you put its type before it, like: int …

c declare
C# Declare a string that spans on multiple lines

I'm trying to create a string that is something like this string myStr = "CREATE TABLE myTable ( id text, name text )"; …

c# string newline declare
Why use constants in programming?

I've just been going back over a bit of C studying using Ivor Horton's Beginning C book. I got to …

c variables constants declare
TypeScript define object structure for later use

Is it possible to define an object structure in TypeScript that can be used then as parameter type? What I …

typescript declare
DllImport vs Declare in VB.NET

I notice in the MSDN documentation that there are multiple ways to declare a reference to a function in an …

vb.net dllimport declare