Jump to content

Recommended Posts

Posted (edited)

local $Hola_Mundo

MsgBox(0,'', $Hola_Mundo )

$Hola_Mundo = "Hola Mundo"

 

No se puede ejecutar el script sin tener que colocar el $Hola_Mundo arriba ?

Can't run the script without putting the $ Hello_World on top?

Captura.PNG

Edited by sebastiian
  • Developers
Posted (edited)

@sebastiian, This is an English forum, so please use English in your posts.  Thanks!

 

Moved to the appropriate forum, as the AutoIt Example Scripts forum very clearly states:

Quote

Share your cool AutoIt scripts, UDFs and applications with others.


Do not post general support questions here, instead use the AutoIt Help and Support forums.

Moderation Team

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)
Local $Hola_Mundo
$Hola_Mundo = "Hola Mundo"
MsgBox(0,'', $Hola_Mundo )

You must first assign a value to the variable before you show it in a message box.

(Primero debe asignar un valor a la variable antes de mostrarla en un cuadro de mensajes. )

Edited by Musashi

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Posted (edited)
Hace 13 minutos, Musashi dijo:
Local $ Hola_Mundo 
$ Hola_Mundo = "Hola Mundo" 
MsgBox (0, '', $ Hola_Mundo)

Primero debe asignar un valor a la variable antes de mostrarla en un cuadro de mensaje.

(Primero debe asignar un valor a la variable antes de mostrarla en un cuadro de mensajes.)

hay manera de usar la variable sin importar en que lado este ?¿

Edited by sebastiian
Posted
55 minutes ago, sebastiian said:

local $Hola_Mundo

MsgBox(0,'', $Hola_Mundo )

$Hola_Mundo = "Hola Mundo"

 

No se puede ejecutar el script sin tener que colocar el $Hola_Mundo arriba ?

Captura.PNG

I can use the $ Hello_World variable anywhere or it has to be on top

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...