static void Container1(Args _args)
{
container con, conSet;
Set set = new Set(Types::String);
int intValue = 42;
real realValue = 1.61803;
;
set.add("John");
set.add("Paul");
set.add("George");
set.add("Ringo");
print set.toString();
con = [set.pack(),intValue,realValue];
// do some processing, call methods using the container etc.
[conSet,intValue,realValue] = con;
set = Set::create(conSet);
set.add("Yoko Ono");
print set.toString();
pause;
}
No comments:
Post a Comment