home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vtserf!csugrad!cfury
- From: cfury@csugrad.cs.vt.edu (Chris Fury)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ** FINALLY - AN _GREAT_ AMIGA PROGRAMMING LANUAGE
- Message-ID: <C1KpH5.x0@csugrad.cs.vt.edu>
- Date: 28 Jan 93 16:51:05 GMT
- References: <thecure.727159005@munagin> <alien.02q1@acheron.amigans.gen.nz> <thecure.728052928@munagin>
- Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
- Lines: 51
-
- thecure@mullian.ee.mu.OZ.AU (matthew aardvarkious) writes:
-
- >alien@acheron.amigans.gen.nz (Ross Smith) writes:
-
- >>In article <thecure.727159005@munagin> thecure@mullian.ee.mu.OZ.AU (matthew aardvarkious) writes:
- >>>It also caters specifically to common amiga programming, like this.
- >>>
- >>>w:=OpenW(20,11,400,100,$200,$F,'My first window in E!',NIL,1,NIL)
-
- >>Huh? In what way is this an improvement on the corresponding C code?
-
- >Get it , try it. That example was showing how it caters to "common" amiga
- >coding, not the easier nicer E stuff. (With C you declare a pointer to
- >the structure, pass the pointer to the function, and then call it. With
- >E , it's all in the one command.)
-
-
- I can see somebody here hasn't programmed under AmigaDOS 2.0.
-
- Opening a window under 2.0 is simple as:
-
- Window = OpenWindowTags(NULL,
- WA_InnerWidth, 320, WA_InnerHeight, 200,
- WA_CloseGadget, TRUE, WA_IDCMP, IDCMP_CLOSEWINDOW,
- TAG_DONE);
-
- That little snippet of code will open a 320, 200 window with additional room
- for the Title bar and borders and a close gadget, on the default public screen
- (workbench, most of the time)
-
- Simple as that!
-
-
- >>Most (all?) Amiga C compilers now include automatic library opening and
- >>closing. And what happens when you need libraries other than those four?
-
-
- >You can use _anything_ that C compilers use. It does automatic library etc
- >and all the includes are included. :)
-
- How so? I guess these aren't the standard includes, then. A special version
- for E? And are these the 2.0 includes? the 3.0 includes?
-
- >--
- >If someone cried, you'd sympathise
- >It's just a boy or a girl
- >It's not the end of the world
-
-
- Christopher B. Fury | "...reality was once a primative method of crowd
- cfury@csugrad.cs.vt.edu | control that got out of hand" - Jane Wagner
-