home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!well!moon!cyberden!phbill
- From: phbill@cyberden.sf.ca.us
- Newsgroups: comp.sys.atari.8bit
- Subject: C vs Action!
- Message-ID: <cciyXB9w165w@cyberden.sf.ca.us>
- Date: Mon, 25 Jan 93 15:41:47 PST
- Reply-To: phbill@cyberden.sf.ca.us
- Organization: Indescribable Creations
- Lines: 52
-
- God, Action! is such a cool language! :) I've been comparing C (which
- I'll soon be independantly studying on IBMs at school) with it, and it's
- such a nicer, cleaner, easier to read language.
-
- Well, at least the way I program. I've seen some Action! programs that
- waste a lot of space with indents and the such, but compared to C, it's
- far easier reading. (In C, for example, you'd say "If(h<1)h=1;" and in
- Action!, you'd say "If H<1 Then H=1 Fi", or (if you redefined "Fi" to
- something even more readable), it would look like this: "If H<1 Then H=1
- EndIf"... Also, with C, if you have a "long If", that is, one that does
- more than one command, you need those damned braces... sort of like
- this:
-
- If(H<1)
- {
- H=1
- O=O+1
- }
-
- and..
-
- I dunno.. just call me a BASIC lover, but I just happen to think
- Action! is a far easier language.
-
-
- Not that C is impossible. (Now comes my point!).. I've translated a
- program that my friend made in C into Action! (took less than an hour!)
- which is sort of a screen saver (it was where he got the idea). What it
- does is bounce lines around the screen.. See the next two posts for the
- file examples.
-
-
- Have fun! Oh yeah, I'm also working on changing a little game I
- wrote in Action! (a very weak shoot-'em up) into C... hahahaa!
-
- Maybe I'll start out ALL my C projects as Action!
-
-
- hehe
-
-
- oh, and no, I don't have (use, that is) a C compiler on the Atari.. tho
- I'm thinking of getting CC65 from the archives. (I have CC8 and have
- >No< idea on how to use it... but that's just because I don't know C..
- yet)
-
- :)
-
-
- __________________________________________________________________________
- | / |\
- | H E \ Y B E R |/ E N [ phbill@cyberden.sf.ca.us ]
-