[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Custom data types/Pointers in AFL



PureBytes Links

Trading Reference Links


Hi all,

1) Is there any way to define custom data types (e.g, "records") in 
AFL? I specifically refer to something of this kind:

Type CustomType=record
  Value1: integer; 
  Value2: float; 
end;

Is it possible?

2) Alternatively, how do I define pointers-like in AFL? Please view 
the following example:

Procedure ChangeValues(x,y,z) {
// defining new values of x,y,z
x=1;
y=2;
z=3;
}

Now, in the "main" code, we define the following:
// "Main" code
a=0;
b=0;
c=0;

// Now we call the procedure
ChangeValues(a,b,c);

It is desired that after the "call" of the procedure, the variables 
a,b,c will hold the values 1,2,3 , respectively. How can I achieve 
this in AFL? It is important to add that a,b,c are arrays themselves.

I'd be grateful for any assistance with (1) and (2).

Regards,
Short.








------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/