variable tag

41 questions


1 answers
145 views
0
Do you happen to know issues like JavaScript?

<script language=JavaScript> myTickets = new Array(); startPosArr = new Array(); endPosArr = new Array(); selItem; eee2 = 0; function setMyTicketList(){ alert(^^ : + eee2);}The following error...


1 answers
78 views
0
How can the value of a variable in Python refer back to a variable again?

A='var A' B='A'print(B)del BI want to delete A by referring to variable A as 'A', which is the value of variable B.What's the way?

2 years ago

1 answers
86 views
0
Questions about arrays and reference variables and objects in Java

public class HeapQuiz {int id = 0; public static void main(String []args) { int x =0; HeapQuiz [] hq = new HeapQuiz[5]; while(x <3) { hq[x] = new HeapQuiz(); hq[x].id =x; x = x +1; } hq[3] = hq[...


2 answers
93 views
0
I have a question about copying array objects.

This question is a hash code of the student's questions..Hello, teacherI have a question..function copyArray(array) { for ( var copy=[], i=0, l=array.length; i<l; ++i ) { copy[i] = array[i]; } retu...


1 answers
73 views
0
Location of Python Functions and Variables

class A: def aaa(self): return Nonedef aa(): a.aaa()a = A()print(aa())a = A()class A: def aaa(self): return Nonedef aa(): a.aaa()print(aa())When I use a function or class in Python, can I create a f...

2 years ago

1 answers
111 views
0
Python for statement variable declaration

I want to declare a variable in the for statement in Python and receive a value, so what should I do?for i in range(10):value_i = iprint(value_4)

2 years ago

1 answers
127 views
0
How do I change the value of a variable with if? c#

if (Input.GetKeyDown(KeyCode.DownArrow)) { int current_health = 10; current_health += 30; Debug.Log (Recovery Potion Used +current_health);} The more I press it, the more I want to raise the blood....

2 years ago

1 answers
90 views
0
Unicode string appears as false in isinstance()

As far as I know, the integer value should be checked with isinstance(x, int);.However, when I wrote isinstance(x,str);, Unicode is not recognized as a string, so I can't do anything.What should I do?...

2 years ago

1 answers
105 views
0
How do you define global variables in Java?

How do you define global variables in Java?

2 years ago

1 answers
77 views
0
I have a question about float 4byte data.

iobyte[0][0] = 44 , iobyte[0][1] = e8 , iobyte[0][2] = 35 , iobyte[0][3] = 42There is data that came in in the same form as Let's say 44e83542 in which the value of the float's real stored form is seq...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.