Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4095
Number of posts: 14004

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Hi there! someone's interest in object-pascal? Posted by king0deu on 23 Oct 2006 at 8:25 AM
The stuff object-oriented programming in pascal is not written anywhere. I've been searching for it for a long time. Anyone knows about it?
The feature with which you can make your program do SOME tasks separately (i.e make a clock timer running, and do a simple calculate at the same time)
Plz share with me, my Y!M: liptoncanon

Report
Re: Hi there! someone's interest in object-pascal? Posted by zibadian on 23 Oct 2006 at 10:20 AM
: The stuff object-oriented programming in pascal is not written anywhere. I've been searching for it for a long time. Anyone knows about it?
: The feature with which you can make your program do SOME tasks separately (i.e make a clock timer running, and do a simple calculate at the same time)
: Plz share with me, my Y!M: liptoncanon
:
:
OOP is not the same as multitasking. OOP: The programmer divides his program in logical units, which contain everything for a specific task (= object class). Then the actual programming becomes just linking the objects together. For example: an address-book in OOP will consist of at least 2 object classes: 1 to maintain each address and 1 for the list of addresses.
OOP is well-documented in Pascal, see the TObject type in the helpfiles, the TurboVision demos. Multitasking is a different story, because that's quite difficult to code in a DOS program.
Report
Re: Hi there! someone's interest in object-pascal? Posted by king0deu on 24 Oct 2006 at 2:55 AM
: : The stuff object-oriented programming in pascal is not written anywhere. I've been searching for it for a long time. Anyone knows about it?
: : The feature with which you can make your program do SOME tasks separately (i.e make a clock timer running, and do a simple calculate at the same time)
: : Plz share with me, my Y!M: liptoncanon
: :
: :
: OOP is not the same as multitasking. OOP: The programmer divides his program in logical units, which contain everything for a specific task (= object class). Then the actual programming becomes just linking the objects together. For example: an address-book in OOP will consist of at least 2 object classes: 1 to maintain each address and 1 for the list of addresses.
: OOP is well-documented in Pascal, see the TObject type in the helpfiles, the TurboVision demos. Multitasking is a different story, because that's quite difficult to code in a DOS program.
:

So what I want is multitasking, right?
Could you tell me more about it?
Report
Re: Hi there! someone's interest in object-pascal? Posted by zibadian on 24 Oct 2006 at 2:58 AM
: : : The stuff object-oriented programming in pascal is not written anywhere. I've been searching for it for a long time. Anyone knows about it?
: : : The feature with which you can make your program do SOME tasks separately (i.e make a clock timer running, and do a simple calculate at the same time)
: : : Plz share with me, my Y!M: liptoncanon
: : :
: : :
: : OOP is not the same as multitasking. OOP: The programmer divides his program in logical units, which contain everything for a specific task (= object class). Then the actual programming becomes just linking the objects together. For example: an address-book in OOP will consist of at least 2 object classes: 1 to maintain each address and 1 for the list of addresses.
: : OOP is well-documented in Pascal, see the TObject type in the helpfiles, the TurboVision demos. Multitasking is a different story, because that's quite difficult to code in a DOS program.
: :
:
: So what I want is multitasking, right?
: Could you tell me more about it?
:
Here's a great page about it:
http://en.wikipedia.org/wiki/Computer_multitasking
Report
Re: Hi there! someone's interest in object-pascal? Posted by king0deu on 24 Oct 2006 at 4:42 AM
: : : : The stuff object-oriented programming in pascal is not written anywhere. I've been searching for it for a long time. Anyone knows about it?
: : : : The feature with which you can make your program do SOME tasks separately (i.e make a clock timer running, and do a simple calculate at the same time)
: : : : Plz share with me, my Y!M: liptoncanon
: : : :
: : : :
: : : OOP is not the same as multitasking. OOP: The programmer divides his program in logical units, which contain everything for a specific task (= object class). Then the actual programming becomes just linking the objects together. For example: an address-book in OOP will consist of at least 2 object classes: 1 to maintain each address and 1 for the list of addresses.
: : : OOP is well-documented in Pascal, see the TObject type in the helpfiles, the TurboVision demos. Multitasking is a different story, because that's quite difficult to code in a DOS program.
: : :
: :
: : So what I want is multitasking, right?
: : Could you tell me more about it?
: :
: Here's a great page about it:
: http://en.wikipedia.org/wiki/Computer_multitasking
:

so this multitasking infact doesn't process tasks simultaneously, but does it one by one just in a slice of time, such that we think it is parallel, is that right?


Report
Re: Hi there! someone's interest in object-pascal? Posted by zibadian on 24 Oct 2006 at 4:46 AM
: : : : : The stuff object-oriented programming in pascal is not written anywhere. I've been searching for it for a long time. Anyone knows about it?
: : : : : The feature with which you can make your program do SOME tasks separately (i.e make a clock timer running, and do a simple calculate at the same time)
: : : : : Plz share with me, my Y!M: liptoncanon
: : : : :
: : : : :
: : : : OOP is not the same as multitasking. OOP: The programmer divides his program in logical units, which contain everything for a specific task (= object class). Then the actual programming becomes just linking the objects together. For example: an address-book in OOP will consist of at least 2 object classes: 1 to maintain each address and 1 for the list of addresses.
: : : : OOP is well-documented in Pascal, see the TObject type in the helpfiles, the TurboVision demos. Multitasking is a different story, because that's quite difficult to code in a DOS program.
: : : :
: : :
: : : So what I want is multitasking, right?
: : : Could you tell me more about it?
: : :
: : Here's a great page about it:
: : http://en.wikipedia.org/wiki/Computer_multitasking
: :
:
: so this multitasking infact doesn't process tasks simultaneously, but does it one by one just in a slice of time, such that we think it is parallel, is that right?
:
:
Should be obvious, since 1 processor can only process 1 instruction at a time. For true parallel computing you need more than 1 processor.
Report
Re: Hi there! someone's interest in object-pascal? Posted by king0deu on 24 Oct 2006 at 5:04 AM
: : : : : : The stuff object-oriented programming in pascal is not written anywhere. I've been searching for it for a long time. Anyone knows about it?
: : : : : : The feature with which you can make your program do SOME tasks separately (i.e make a clock timer running, and do a simple calculate at the same time)
: : : : : : Plz share with me, my Y!M: liptoncanon
: : : : : :
: : : : : :
: : : : : OOP is not the same as multitasking. OOP: The programmer divides his program in logical units, which contain everything for a specific task (= object class). Then the actual programming becomes just linking the objects together. For example: an address-book in OOP will consist of at least 2 object classes: 1 to maintain each address and 1 for the list of addresses.
: : : : : OOP is well-documented in Pascal, see the TObject type in the helpfiles, the TurboVision demos. Multitasking is a different story, because that's quite difficult to code in a DOS program.
: : : : :
: : : :
: : : : So what I want is multitasking, right?
: : : : Could you tell me more about it?
: : : :
: : : Here's a great page about it:
: : : http://en.wikipedia.org/wiki/Computer_multitasking
: : :
: :
: : so this multitasking infact doesn't process tasks simultaneously, but does it one by one just in a slice of time, such that we think it is parallel, is that right?
: :
: :
: Should be obvious, since 1 processor can only process 1 instruction at a time. For true parallel computing you need more than 1 processor.
:

yeah right, in the early time, I thought a processor could somehow "divide" itself and do manythings at the same time, but now I know it, thanks alot, Zibadian



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.