initdo should be init do

Larry Manire


---------- Original Message -----------
From: Alejandro Salvador <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [email protected]
Sent: Thu, 3 Aug 2006 10:09:39 -0500 (CDT)
Subject: [Maptitude] DialogBox()

> Dear Kjartan Stefansson:
> 
>   I have been working with a dialog box, but TransCAD's help doesn't 
> help a lot...  When I compile it send me a message with errors ((23, 
> 6; "Ignoring :"), (39, 6; "Inserting do"), (45, 0; "premature end of 
> file")), I haven't found how to solve the problem, I think I have 
> been writing the code correctly, could you help me? The cod is this:
> 
>   Macro "cobertura"
>         shared estaciones
>       shared comparaciones
>         RunMacro("Declara")
>       RunDbox ("Datos", &estaciones)
>   endMacro
> 
> Macro "Declara"
>       shared estaciones
>       shared comparaciones
> endMacro
> 
> DBox "Datos"
>         init do
>             estaciones = estaciones_a
>             comparaciones = shared comparaciones_b
>       enditem
>         Button "OK" 10, 5, 10 default do
>             estaciones = estaciones_a
>             comparaciones = comparaciones_b
>       endItem
> 
>       Edit Int "numero de estaciones" 3, 1, 20
>       prompt: "Numero de iteraciones"
>       variable: estaciones_a
>         Edit Int "numero de comparaciones" 3, 3, 20
>       prompt: "Numero de comparaciones"
>       variable: comparaciones_b
>         Return()
> 
>   endDBox
> 
>   Thank you
> 
>   Regards,
> 
>   Alex
> 
>               
> ---------------------------------
>   Do You Yahoo!? La mejor conexión a Internet y 2GB extra a tu 
> correo por $100 al mes. http://net.yahoo.com.mx
------- End of Original Message -------



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Maptitude/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to