#include #include main(args) { testVec(32767); testVec(255*255); testVec(65500); testVec(65535); testVec(65536); testVec(100000); } testVec(len) { local v; "new(<>)... "; try { v = new Vector(len); } catch (Exception exc) { "*** allocating: caught exception: <>\n"; return; } try { v[1] = 'first'; v[len] = 'last'; "v[1] = <>; v[<>] = <>\n"; } catch (Exception exc) { "*** indexing: caught exception: <>\n"; } }