1,501
edits
No edit summary |
|||
Line 16: | Line 16: | ||
==== Example ==== | ==== Example ==== | ||
This statement will call an alert without text message: | This statement will call an alert without text message: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
Alert; | Alert; | ||
Line 29: | Line 30: | ||
Text_new(D,T,C,Text("Bar Date/Time is ",Date:0:0,"/",Time:0:0)); | Text_new(D,T,C,Text("Bar Date/Time is ",Date:0:0,"/",Time:0:0)); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
This statement creates a dynamic alert text and displays the number of the weekday: | This statement creates a dynamic alert text and displays the number of the weekday: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
Alert(Text("Day of week is ", DayOfWeek(Date))); | Alert(Text("Day of week is ", DayOfWeek(Date))); | ||
Line 39: | Line 40: | ||
This statement will show static text: | This statement will show static text: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
If Close > Close[1] Then | If Close > Close[1] Then |