home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!bagate!dsinc!spool.mu.edu!nigel.msen.com!math.fu-berlin.de!uniol!Thomas.Herlyn
- From: Thomas.Herlyn@arbi.informatik.uni-oldenburg.de (Thomas Herlyn)
- Newsgroups: comp.sys.amiga.misc
- Subject: E is impressing, but there are problems!
- Message-ID: <1993Jan27.204508.19706@arbi.Informatik.Uni-Oldenburg.DE>
- Date: 27 Jan 93 20:26:26 GMT
- Sender: news@arbi.Informatik.Uni-Oldenburg.DE
- Organization: University of Oldenburg, Germany
- Lines: 33
-
- I am using the compiler about a week now and the possibilities
- and the compilation speed are quite impressing. To play around
- with lists isn't easy, but i think i got it now.
-
- But unfortunately there are a few things doing wrong:
-
- 1. Try this: (from the reference manual)
- OBJECT myString
- len:CHAR, data[9]:CHAR
- ENDOBJECT
- DEF a:myString,b
-
- a.len:= ... is right, BUT
- a.data[2]:= ... gives you an ILLEGAL USE/REFERENCE TO OBJECT error
-
- Does this mean i will never be able to use an array as a component
- of an object and access it later, or is it just a bug???
-
- 2. strangeness with lists:
- do the following:
-
- DEF a[4]:LIST
- ListAdd(a,[<here you place any EString>],1)
- WriteF('\s\n',a[0])
- this writes the content of the EString, works fine. But if you
- allocate the List dynamically (absolutely legal), like
- DEF a
- a:= List(4)
- the two program lines ListAdd..,WriteF.. does not write out ANYTHING!
-
- All helps are welcomed,
-
- Bye, Thomas Herlyn
-