• Log in or sign up for an account here: https://www.sythe.org/login

dim...... I NEED HELP PLEASE. I THINK ITS SIMPLE

  • Thread starter Thread starter alexandr
  • Start date Start date
A

alexandr

Guest
hey , i was wonderin how to dim a letter as a whole bunch of code...
ex.. a = msgbox "hello"
i want to be so if i put the letter "a" in the coding of a button it will be msgbox "hello"
thanks for any he,lp
 
The closest thing to that I could find was Dim a As MessageBox...
But, in your code, you would have to put a.Show and then all kinds of variables...
 
yea, that didnty work, and im not sayin just messageboxes, i m talking diming any code as a letter
 
dim a as string = "Hello"
messagebox.show(a)

uhm im guessing thats not what you want..why dont you just call the messagebox to say hello in the first place?

messagebox.show("Hello")
 
Member of the Month Winner
Sythe's 10th Anniversary
You could always create a reference to the MessageBox class.
 
O.o what are you actually trying to do, If you actually gave a half decent explaination it would be alot easier then people just posting random code.
 
Member of the Month Winner
Sythe's 10th Anniversary
O.o what are you actually trying to do, If you actually gave a half decent explaination it would be alot easier then people just posting random code.
I think he's trying to reference or assign variables to blocks or statements of code.

In which case, classes and methods are his friend.
 
Runescape Gamblingrunescape gambling
Back
Top