Results 1 to 19 of 19

Thread: Comparison to PascalScript

  1. #1
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Comparison to PascalScript

    I have a program which I wish to convert to another language, as PascalScript doesn't have all the features I need to create a this program to the standards I want. I was wondering how comparable python is to pascalscript.

    Q1. Does it have forms.
    Q2. Do functions and procedures work the same way?

    Current Script Project
    Pot of flour gatherer - 95% done

    Can't get Simba to work? Click here for a tutorial

  2. #2
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you are willing to learn and use python there is no comparison. Pascalscript is ancient, but are you willing to learn?

    Not sure why you would write a program in pascalscript. What is this program you are writing?

  3. #3
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    PS is crap... python is awesome.

    Python has anything you can pretty much think of.. :P
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  4. #4
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It was one I already wrote for a school project, which I couldn't be bothered learning a new language for. However I want a program which I can show to potential employers as a display of my knowledge.
    Yes, I am most certainly willing to learn a language. I have just been accepted (I got the offer last wednesday) to my local university for a Bachelor of Information Technology, starting next year, so any and all knowledge for that would be great.
    The program was a board game, which got me 90%+ and I was reasonably impressed. The goal is to introduce a crude AI into the game, and possibly other features, and just generally make it look better.
    Last edited by Bad Boy JH; 01-23-2011 at 11:47 AM.

    Current Script Project
    Pot of flour gatherer - 95% done

    Can't get Simba to work? Click here for a tutorial

  5. #5
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by Bad Boy JH View Post
    It was one I already wrote for a school project, which I couldn't be bothered learning a new language for. However I want a program which I can show to potential employers as a display of my knowledge.
    Yes, I am most certainly willing to learn a language. I have just been accepted (I got the offer last wednesday) to my local university for a Bachelor of Information Technology, starting next year, so any and all knowledge for that would be great.
    Python is a language definitely worth learning

    I'd assume eventually it'll over take java.. because of how much "easier" it is to learn

    or Jython will
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  6. #6
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by gratz View Post
    Python is a language definitely worth learning

    I'd assume eventually it'll over take java.. because of how much "easier" it is to learn

    or Jython will
    Not to mention the fact that it is less bloated, still cross platform, and suited for just as many applications.

    Only thing I can think of is java applets..
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  7. #7
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    Not to mention the fact that it is less bloated, still cross platform, and suited for just as many applications.

    Only thing I can think of is java applets..
    I think that's what jython is, I can't go and say much about it since I don't know much...

    but I do know everyone wants python / jython to replace java, out with the old in with the new.. python IS cross platform which makes it the perfect replacement.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  8. #8
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OK, where is a good place to learn Python then?

    Current Script Project
    Pot of flour gatherer - 95% done

    Can't get Simba to work? Click here for a tutorial

  9. #9
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    www.python.org

    Best place to start.

    ... Just do not start at .com... Its NSFW. :|

    Oh, and jython is Java.. by the way. >.>

    E: http://docs.python.org/tutorial/ specifically.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  10. #10
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    These are good if you prefer videos. First is more detailed, second is faster.
    http://ocw.mit.edu/courses/electrica...ing-fall-2008/
    http://code.google.com/edu/languages...-python-class/

  11. #11
    Join Date
    Jan 2008
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I was programming in C#, PHP and Java for years. But now, I see python can replace them all in functionality and overtake them in easiness.

    Very simple & powerful language.
    You can even call functions from C (which is rarely needed because of the HUGE amount of existing libraries).

  12. #12
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by zippoxer View Post
    I was programming in C#, PHP and Java for years. But now, I see python can replace them all in functionality and overtake them in easiness.

    Very simple & powerful language.
    You can even call functions from C (which is rarely needed because of the HUGE amount of existing libraries).
    Although this is a gravedig, this is still a very active topic that should be discussed.

    For Simba/SRL's purposes, there are quite a few functions that would need to be C and not Python. Python is much too slow to do most of the finding methods (all of the FindColors etc.).

  13. #13
    Join Date
    Oct 2008
    Posts
    500
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    www.python.org

    Best place to start.

    ... Just do not start at .com... Its NSFW. :|

    Oh, and jython is Java.. by the way. >.>

    E: http://docs.python.org/tutorial/ specifically.
    What do you mean by "Its NSFW"?

    Also do you mean that jython is Java with nothing changed? I noticed python.org mentioned that Python had been ported the the JVM.

  14. #14
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by kitchenrange View Post
    What do you mean by "Its NSFW"?

    Also do you mean that jython is Java with nothing changed? I noticed python.org mentioned that Python had been ported the the JVM.
    He was saying don't go to "python.com" because it's a porn site. http://www.python.org is the actual site.

    Jython is essentially just Python that can use Java. So you can do things like import java.swing.* or whatever and use that. Compiles to .class and everything, so you should be able to use Jython with any Java bot already.

  15. #15
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by kitchenrange View Post
    What do you mean by "Its NSFW"?

    Also do you mean that jython is Java with nothing changed? I noticed python.org mentioned that Python had been ported the the JVM.
    NSFW = Not Safe For Work

  16. #16
    Join Date
    Mar 2007
    Posts
    1,700
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Python.com is blank :Z

  17. #17
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    Lol.

    The Python program is no longer excepting new affiliates.

    The Python program is no longer excepting new affiliates.

    It used to be a porn site.

  18. #18
    Join Date
    Jan 2008
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by i luffs yeww View Post
    Lol.

    The Python program is no longer excepting new affiliates.

    The Python program is no longer excepting new affiliates.

    It used to be a porn site.
    probably python.org payed them to stop embarrassing python's name :P

  19. #19
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    I was pointing out that they say "excepting" instead of "accepting."

    BRILLIANT!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •