home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / atari / 8bit / 5957 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  2.0 KB

  1. Path: sparky!uunet!well!moon!cyberden!phbill
  2. From: phbill@cyberden.sf.ca.us
  3. Newsgroups: comp.sys.atari.8bit
  4. Subject: C vs Action!
  5. Message-ID: <cciyXB9w165w@cyberden.sf.ca.us>
  6. Date: Mon, 25 Jan 93 15:41:47 PST
  7. Reply-To: phbill@cyberden.sf.ca.us
  8. Organization: Indescribable Creations
  9. Lines: 52
  10.  
  11. God, Action! is such a cool language! :)  I've been comparing C (which 
  12. I'll soon be independantly studying on IBMs at school) with it, and it's 
  13. such a nicer, cleaner, easier to read language.
  14.  
  15. Well, at least the way I program.  I've seen some Action! programs that 
  16. waste a lot of space with indents and the such, but compared to C, it's 
  17. far easier reading.  (In C, for example, you'd say "If(h<1)h=1;"  and in 
  18. Action!, you'd say "If H<1 Then H=1 Fi", or (if you redefined "Fi" to 
  19. something even more readable), it would look like this: "If H<1 Then H=1 
  20. EndIf"...  Also, with C, if you have a "long If", that is, one that does 
  21. more than one command, you need those damned braces...  sort of like 
  22. this:
  23.  
  24. If(H<1)
  25. {
  26.         H=1
  27.         O=O+1
  28. }
  29.  
  30. and..
  31.  
  32. I dunno..       just call me a BASIC lover, but I just happen to think 
  33. Action! is a far easier language.
  34.  
  35.  
  36. Not that C is impossible.  (Now comes my point!)..  I've translated a 
  37. program that my friend made in C into Action! (took less than an hour!) 
  38. which is sort of a screen saver (it was where he got the idea).  What it 
  39. does is bounce lines around the screen..  See the next two posts for the 
  40. file examples.
  41.  
  42.  
  43. Have fun!       Oh yeah, I'm also working on changing a little game I 
  44. wrote in Action! (a very weak shoot-'em up) into C...  hahahaa!
  45.  
  46. Maybe I'll start out ALL my C projects as Action!
  47.  
  48.  
  49. hehe
  50.  
  51.  
  52. oh, and no, I don't have (use, that is) a C compiler on the Atari.. tho 
  53. I'm thinking of getting CC65 from the archives.  (I have CC8 and have 
  54. >No< idea on how to use it... but that's just because I don't know C.. 
  55. yet)
  56.  
  57. :)
  58.  
  59.  
  60. __________________________________________________________________________
  61.    |       /         |\
  62.    | H E   \ Y B E R |/ E N            [ phbill@cyberden.sf.ca.us ]
  63.