|
|
|
|
#1 |
|
pascal programming
i would like to use pascal under mountain lion.in windows i used a program who looked like this.
http://progopedia.com/static/upload_.../12/07/tp7.png i tryed lazarus(installed xcode,fpc ,fpc sources) and still dosen't work propertly for me.what should i use?or,how do i make it work? or what other similar programs are for pascal? i'm using mountain lion 10.8.2. |
|
|
|
0
|
|
|
#2 |
|
Exactly how are you intending to use your Pascal code? Are you wanting to write Mac programs?
Or is this just within a "platform-free" closed environment? That image you posted looks like an ancient DOS-based Pascal program. What sort of programs are you intending to write? Pascal is a fairly dead language these days. While parts of the original Mac OS were written in Pascal, this is all gone, and there are only a few quirks that remain from its legacy. However, a quick Google for "Mac Pascal" reveals several free implementations. You might be better served learning a language like Objective-C, Python, Ruby or even Unix shell-scripting, which are more useful for creating useful code on modern computer systems. (I say this as someone who learnt Pascal at University.) |
|
|
|
0
|
|
|
#3 | |
|
Quote:
As already said, Pascal is more or less dead now. So if you want to program "useful" things there are better choices of program language. Of course, if you want to rerun som old programs or simply dust off some old knowledge it can be a good choice. // gunnar |
||
|
|
1
|
|
|
#4 |
|
One user here took a Pascal course recently in community college.
More about this here: Pascal Programming. You may not easily find an IDE like Turbo Pascal for the Mac. B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme |
|
|
|
0
|
|
|
#5 |
|
i need pascal for school.i need to run it ,so i can learn something.it's not a programming language of my choice.i'd go for python or c instead,but it isn't my choice.i need to use pascal.there's any way? i searched and readed a lot.
i don't wanna convert from c code to pascal or other things.. |
|
|
|
0
|
|
|
#6 |
|
Since you claim you already tried fpc have you tried GNU pascal?
Also how exactly did Lazarus/fpc not do the job for you? http://whathaveyoutried.com Since it's needed for school, what is the school working on? Are they seriously working Turbo Pascal in DOS? (IIRC larswik's course was using a TPC book with some pascal under linux). If they have it working under linux set up a VM and use what they have. B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme |
|
|
|
0
|
|
|
#7 |
|
yes,we're using windows xp.for that.this is programming basics.that's teaching in school.i want to be able to do my homework,and study aswell.i have a apple laptop,can't install windows on it(or linux for that matter)i want to run it in mountain lion.. don't wanna get complicated with virtual machine or something...a simple program like, hello program,it dosen't work.
something like this: begin writeln ('hello'); end. this is the simplest program i know and dosen't work... i installed xcode,lazarus,fpc,fpc docs,etc...tryed evan code:blocks...still ain't working. |
|
|
|
0
|
|
|
#8 |
|
FreePascal work fine in OSX. Lazarus work too, but is the "weak" link. I have used it before. Check this wiki:
http://wiki.freepascal.org/Installin...rus_on_MacOS_X And pay attention to the details.
__________________
BestSeller Mobile Point of Sale for the iPhone. Planning Board. Follow on Twitter (Spanish/English). |
|
|
|
0
|
|
|
#9 |
|
|
1
|
|
|
#10 | |
|
Quote:
Here is the problem. There were published Pascal standards. However, few of the popular Pascal compilers complied with them. Turbo Pascal was among the least standards-compliant compilers extant. If your teacher is using Turbo Pascal, then you can bet that he/she expects your assignments to be completed in Turbo Pascal. He/She has to grade your work as well as the work of every other student in your class. If the teacher is willing to grade submitted assignments that have been coded for each student's choice of compiler, then more power to him/her. Somehow, I don't think that this is the case.
__________________
Neither a borrower nor a lender be For loan oft loses both itself and friend William Shakespeare from Hamlet |
||
|
|
0
|
|
|
#11 |
|
no,it's not the case.i need same compiler with that.why wouldn't lazarus do the trick?
|
|
|
|
0
|
|
|
#12 |
|
It looks like Ebarcadero will let you download Turbo Pascal 5.5: http://edn.embarcadero.com/article/20803 This may run under Wine, or DOSBox.
Man, do I miss Turbo Pascal... :-(
__________________
Android sucks.
|
|
|
|
0
|
|
|
#13 |
|
Gnu Pascal Should Work From the Mac's Command-Line
I'm using Gnu Pascal from the Mac OS X command-line. You can edit files with your favorite Mac text editor (such as TextWrangler).
You can google for "Gnu Pascal Download". It will run under Mac OS X without doing something weird that makes you run Windows under Mac. And you can google for "Text Wrangler Download" Both Gnu Pascal and Text Wrangler are totally free. Pascal isn't a bad first language to learn. That's what it was designed for was to teach student's how to program. But, yeah, for serious programming of a Mac, Objective-C is the best. |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 04:37 AM.







Hybrid Mode
