Questions tagged as 'variables'

2
answers

Variable and Loop in JavaScript

I'm trying to understand the basics to have solid foundations. At the moment I'm doing an exercise to recover some fictitious tweets. I am making an effort to understand well the reason of all the development of the loop and I have something...
asked by 29.11.2018 / 04:09
3
answers

Differences between x ++ and ++ x in JavaScript [duplicated]

What are the differences between these two expressions? x++ and ++x This is the code I was trying to understand: var x=1, y=1, z=0; do{ z=x+y; console.log("z= "+ z);} while(++x<=1 && y++>...
asked by 05.09.2017 / 11:44
2
answers

Where do the values of the following variables come from?

Could you explain how the variables x, y, z get this value in this code: #include <stdio.h> #include <stdlib.h> main(){ float x=1, *y, z=3; y= &x; x=z+5; y++; printf("%f\n",x); /*8.000000*/...
asked by 29.10.2018 / 17:51
1
answer

Change variable by call to function

I need to know if this can be done, I think with pointers it could be but I do not know what form. On the one hand we have a function cambiarValor void cambiarValor (int a){ a=a*4; } and on the other hand the main from whe...
asked by 09.05.2018 / 12:31
2
answers

Can variables be used in jQuery?

I would like to know if it is possible to use variables in jQuery and, if so, in what way. I explain what I'm trying to do. I have the following HTML code right now: <html> <head> <title>Prueba</title> <sc...
asked by 06.08.2018 / 21:05
2
answers

List within a for in

I have the following code for (a in secciones){ ncompoa += "<h1>"; ncompoa += secciones[a]; ncompoa += "</h1>"; ncompoa += "<ol>"; for (li in producto) {...
asked by 06.08.2018 / 18:42
2
answers

Can I form a WHERE in a variable of @?

A question, Can I put the condition (WHERE) in a variable? where does it contain all the conditions and use it at the end of my SP? If it is possible, how could it be done? something like SELECT * FROM TABLA WHERE fecha = @condiciones; W...
asked by 06.08.2018 / 22:11
3
answers

Change Variable Name Android Studio

I would like to change the name of all the variables that have the same name. Do you know any commands? Android Studio     
asked by 10.12.2017 / 00:39
1
answer

undefined index php

I have this code, the fact is that in the line of $ _SESSION ['students'] I miss the error. What I want is that if that array of students does not exist that believes it, and when the program starts, since it does not exist, it gives me that err...
asked by 17.01.2018 / 11:17
1
answer

Create variable that can be passed from one Windows Form to another and return it to the Main Form

Good morning, I am working as Windows Forms and user controls within C #, which I am working with an application that acts as a clock watch. This first screen acts, like the main screen. Which all users have access to now. Pressin...
asked by 27.08.2018 / 18:29