View Single Post
  #9  
Unread 04-08-2005, 11:09 PM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

Just had a scary thought. It may be possible to create working WHILE loops using this technique. For instance:

<Button Name="Start" OnPress="Parent.Loop.Looping=true Parent.Loop.Press=true"></Button>
<Button Name="Stop" OnPress="Parent.Loop.Looping=false"></Button>
<Button Looping="false" Name="Loop" OnPress="DoStuff Press=Looping" Visible="false"></Button>

FOR loops would work in a similar fashion, except it'd be something like:

<Button Name="Start" OnPress="Parent.Loop.Looping=true Parent.Loop.Press=true"></Button>
<Button Looping="false" Name="Loop" OnPress="DoStuff Looping=(TestArgument < TestCondition) Press=Looping" Visible="false"></Button>

Oh, the implications of it all!
__________________
Reply With Quote