Why Python is like C++

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Dec 21 19:36:54 EST 2013


Michael Torrie wrote:
> And you could DIM something with a
>>type, but normally it was the adorning suffix that determined type: A$
>>is a string, A% is an integer, A! (or A) is float, A# is double.

Some versions of 8-bit Microsoft Basic also had a way of
overriding the default type for a range of names.
So, for example, Fortran programmers could DEFINT I-N
and feel right at home.

I guess that means it would occupy a zero-crossing on
the sigil oscillation curve -- you could have it either
way.

-- 
Greg



More information about the Python-list mailing list