lunarboy1
9th November 2001, 23:29
how come doing this won't work?
alist = new list;
alist.addItem( "Apple Pie" );
alist.addItem( "Cherry Pie" );
alist.addItem( "Grape Pie" );
String s = alist.enumItem( 1 );
how come s equals some funky characters and not a full string? Is there anything different with lists that is special that I should know about? I'm used to using apvectors in C++ in school and so far the list type in maki isn't too different, but why doesn't this work?
alist = new list;
alist.addItem( "Apple Pie" );
alist.addItem( "Cherry Pie" );
alist.addItem( "Grape Pie" );
String s = alist.enumItem( 1 );
how come s equals some funky characters and not a full string? Is there anything different with lists that is special that I should know about? I'm used to using apvectors in C++ in school and so far the list type in maki isn't too different, but why doesn't this work?