Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Variable name Vs Value variable

Hello, I have 3 variables: var1 = 10; var2 = 20; var3 = 30

I would like to print on screen the variable with for cycle

sub prova

dim var1# dim var2# dim var3#

 var1 = 10
 var2 = 20
 var3 = 30  
for i = 1 to 3

    print "var" & i

next

end sub

But in this way obtain the of variable, not the value

Can you help me?

Thank you

click to hide/show revision 2
None

updated 2018-07-11 18:58:02 +0100

Lupp gravatar image

Variable name Vs Value variable

Hello, I have 3 variables: var1 = 10; var2 = 20; var3 = 30

I would like to print on screen the variable with for cycle

sub prova

prova dim var1# dim var2# dim var3#

var3#
 var1 = 10
 var2 = 20
 var3 = 30   
for i = 1 to 3
     print "var" & i
 next
end sub

end sub

But in this way obtain the of variable, not the value

Can you help me?

Thank you

Variable name Vs Value variable

Hello, I have 3 variables: var1 = 10; var2 = 20; var3 = 30

I would like to print on screen the variable with for cycle

sub prova
dim var1#
dim var2#
dim var3#

var1 = 10
var2 = 20
var3 = 30   
for i = 1 to 3
    print "var" & i
next
end sub

But in this way obtain the of variable, not the value

Can you help me?

Thank you

click to hide/show revision 4
None

updated 2018-07-12 09:50:10 +0100

Lupp gravatar image

Variable name Vs Value variable

Hello, I have 3 variables: var1 = 10; var2 = 20; var3 = 30

I would like to print on screen the variable with for cycle

sub prova
dim var1#
dim var2#
dim var3#

var1 = 10
var2 = 20
var3 = 30   
for i = 1 to 3
    print "var" & i
next
end sub

But in this way obtain the of variable, not the value

Can you help me?

Thank you

click to hide/show revision 5
retagged

Variable name Vs Value variable

Hello, I have 3 variables: var1 = 10; var2 = 20; var3 = 30

I would like to print on screen the variable with for cycle

sub prova
dim var1#
dim var2#
dim var3#

var1 = 10
var2 = 20
var3 = 30   
for i = 1 to 3
    print "var" & i
next
end sub

But in this way obtain the of variable, not the value

Can you help me?

Thank you