Re: ArrayList - Newbie Misunderstanding

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks again for your reply.

Maybe I am very niave or old fashioned, but how is an object any
different from a subroutine with multiple entry and exit points - in
other words a subprogram with a giant case statement at the beginning,
determining which bit is accessed and which bit is returned. This
subprogram can either be local or global.

I have been bamboozled for years with terms such as polymorphism etc,
but i have never seen how the end result is any different from my
interpretation.

I can appreciate how the concept, helps with error free coding, but I
can not see how the concept, is any different from calling subroutines,
which may or may not return some value or modify a value passed as a
reference.



kenfine@xxxxxxxxxxxxx wrote:
No prob if you're not interested in C#. However, what you're dealing with
here is a conceptual thing, not a syntax thing, and the concept is
consistent across many programming languages. The book is useful whether you
want to use VB or C# or Java.

-K F

.



Relevant Pages

  • Re: EXTERNAL keyword
    ... It means either subroutine or function. ... is the source code and the procedure is the thing that results from the ... "Intrinsic" just means part of the compiler, ... subprogram for TAN because it doesn't come from Fortran source code. ...
    (comp.lang.fortran)
  • Re: string
    ... and put the parts of the returned value into a string. ... In this case - a dos .com file, ... so after having printed VendorStr twice, you exit normally - without ... call subroutine ...
    (alt.lang.asm)
  • Re: "contains" statement.
    ... SUBROUTINE an_internal_subprogram ... Note that an internal subprogram can be referenced *ONLY* from its host ...
    (comp.lang.fortran)
  • Re: How to compile the example_itsol_1.f , and why always meets these errors.
    ... > the arguments are different at the calling point and where the subprogram ... > Subroutine my_sub ... it try to call the DITSOL_PCG which is a cxml ...
    (comp.lang.fortran)
  • Re: Adding pre/post escape sequences to a "SAY"
    ... $SAY = "WRITE SYS$OUTPUT" exists on pretty much every VMS system, ... The one thing I could think of is to define a subroutine: ... Unofficial OpenVMS Hobbyist Support Page: ...
    (comp.os.vms)