|
|
|
Forum Member
      
Group: Forum Members
Last Login: 7/30/2007 6:06:51 PM
Posts: 25,
Visits: 36
|
|
Hello, this code doesn't work for me : In script : Type typeSentence arrWords(0) as String End type Inline: Dim aSentence as typeSentence Redim aSentence.arrWords(20) It gives the error : Encoutered: . Expecting : '(' To bypass this, I tried to do Dim arr() as String arr = aSentence.arrWords Redim arr(20) However it gives me the error "can't assign whole array"... So please, could you tell me how to redim an array in a type ? Thanks...
|
|
|
|
|
Forum Member
      
Group: Forum Members
Last Login: 7/30/2007 6:06:51 PM
Posts: 25,
Visits: 36
|
|
| I think I could bypass those severe limitation of e-basic by creating a class, and putting the redim code there. So I'd like to know, how do I create a class in e-basic ?
|
|
|
|
|
Forum MVP
      
Group: Administrators
Last Login: Yesterday @ 9:26:59 AM
Posts: 576,
Visits: 1,254
|
|
| E-Basic is not capable of creating class objects. Arrays inside Type are limited to fixed size. -Brandon
|
|
|
|