[Tutor] Arguments from the command line

Giacomo Boffi giacomo.boffi at polimi.it
Mon Sep 13 11:18:06 EDT 2010


Dennis Lee Bieber <wlfraed at ix.netcom.com> writes:

> On Fri, 10 Sep 2010 12:25:17 +0200, Giacomo Boffi
> <giacomo.boffi at polimi.it> declaimed the following in
> gmane.comp.python.general:
>
>> Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> writes:
>> 
>> > In message <8662yfklzu.fsf at aiuole.stru.polimi.it>, Giacomo Boffi wrote:
>> >
>> >> Dennis Lee Bieber <wlfraed at ix.netcom.com> writes:
>> >> 
>> >>> FORTRAN just differentiates by having the main file start with
>> >>> PROGRAM random_name
>> >>> whereas subfiles are all either (or both)
>> >>> SUBROUTINE another_name(args)
>> >>> FUNCTION that_other_name(args)
>> >> 
>> >> no BLOCKDATA?
>> >
>> > I think you mean COMMON.
>> 
>> i meant BLOCKDATA
>
> 	It exists but I've only seen it used once... And I don't recall it
> being "executable" in the same way as program/function/subroutine.

i simply meant that the BLOCKDATA statement can begin a subfile as
well as SUBROUTINE or FUNCTION
-- 
Sarò un'ingenua ma continuo a pensarla come prima, anche se
probabilmente i fatti mi smentiscono.  -- Francy, in IHC



More information about the Python-list mailing list