PureBytes Links
Trading Reference Links
|
Hi,
VBScript does hav an inputbox function -- but a few words of caution -
your vbscript code would execute once for every chart, so you
probably don't want to include it -- I would explore the param
function as dingo suggests. I would also look carefully at why you
would use vbscript in the first place. AFL is now so strong as a
language in its own right, the scripting language is rarely needed.
Gordon
--- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> What are you trying to do (in words please). Looks like you're
trying to
> enter a numeric value for some reason but what you have is not even
close.
> You can enter a value in a formula via the "Param" function. I
suggest you
> read about that in the help file.
>
> d
>
>
> _____
>
> From: gunovanengel [mailto:gunovanengel@x...]
> Sent: Monday, August 16, 2004 7:18 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Hello AmiBroker / Vbscript Guru's
>
>
> Hi,
>
> Can you show me how I can get this vbscript to work in Amibroker.
>
> Thanks
>
> Refards
> Guno
>
> EnableScript ( "vbscript" );
>
> <%
> Sub Submit_OnClick
> Dim TheForm
> Set TheForm = Document.ValidForm
> if IsNumeric(TheForm.Text1.Value) Then
> if TheForm.Text1.Value < 1 OR TheForm.Text1.Value > 10 Then
> MsgBox "Please enter a number between 1 and 10."
> else
> MsgBox "Thank you."
> End if
> else
> MsgBox "Please enter a numeric value."
> End if
> End Sub
>
> </SCRIPT>
>
> %>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
<http://us.ard.yahoo.com/SIG=1299v8003/M=298184.5285298.6392945.300117
6/D=gr
>
oups/S=1705632198:HM/EXP=1092741458/A=2164331/R=0/SIG=11eaelai9/*http:
//www.
> netflix.com/Default?mqso=60183351> click here
>
> <http://us.adserver.yahoo.com/l?
M=298184.5285298.6392945.3001176/D=groups/S=
> :HM/A=2164331/rand=500901858>
>
>
> _____
>
> Yahoo! Groups Links
>
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
>
> * To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/> .
>
>
>
>
> [Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|