Project

General

Profile

Bug #1955

Updated by Amadeus over 6 years ago

<p>MarketOrder (Data Type)<br /> 
 StationID (Member)</p> 

 <pre> 
 <code>function <pre><code>function main() 
 { 
     variable index:marketorder OrdersIndex 
     variable iterator OrderSearcher 

     variable int x = 33681 

     EVE:FetchMarketOrders[${x}] 
     while !${EVE:GetMarketOrders[OrdersIndex, ${x}, &quot;buy&quot;](exists)} "buy"](exists)} 
     { 
         wait 10 
     } 

     OrdersIndex:GetIterator[OrderSearcher] 
         if ${OrderSearcher:First(exists)} 
             do 
             { 
                 echo ${OrderSearcher.Value.StationID} 
                
             } 
     while ${OrderSearcher:Next(exists)} 
 }</code></pre> 

 <p>Output:&nbsp;<br /> 
 -1 (Perimeter - 01 IChooseYou Trade Hub)<br /> 
 60003760 (Jita IV - Moon 4 - Caldari Navy Assembly Plant)<br /> 
 60003760 (Jita IV - Moon 4 - Caldari Navy Assembly Plant)</p> 

Back