Python Quiz

Ian McConnell ian at emit.demon.co.ukx
Thu Jul 17 12:53:30 CEST 2003


"richardc" <richardc at hmgcc.gov.uk> writes:

> 'Question 8'
> Im no expert but wouldnt you accept that Python has 'borrowed' FORTRAN's
> fixed format syntax.  I can only think of Python and FORTRAN off the top of
> my head which use whitespace as part of the syntax.

There was also Occam from the early eighties
      http://directory.google.com/Top/Computers/Programming/Languages/Occam/

where each construct was indented by two spaces to show structure:

PROC write.string(CHAN output, VALUE string[])=
  SEQ character.number = [1 FOR string[BYTE 0]]
    output ! string[BYTE character.number]
    
write.string(terminal.screen, "Hello World!")




-- 
 "Thinks: I can't think of a thinks. End of thinks routine": Blue Bottle

** Aunty Spam says: Remove the trailing x from the To: field to reply **




More information about the Python-list mailing list