Ah, sorry for not being more understandable... hopefully this example
I made in Java will help out. I want to this in CFML via assigning a
super-component to child-components inside of an array.
public class myCars {
public static void main(String[] args){
car getSpeeds[] = new car[2];
getSpeeds[0] = new m5();
getSpeeds[1] = new ferrari();
for(int x=0;x<2;++x){
getSpeeds[x].speed();
}
}
}
public class ferrari extends car {
void speed() {
System.out.println("How do I slow this thing down!");
}
}
public class m5 extends car {
void speed(){
System.out.println("I'm really speeding now!");
}
}
public class car {
void speed(){
System.out.println("I'm Speeding!");
}
}
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en