On 02/09/2009 13:46, Lyle wrote: > For example to define a variable in C you need to declare what type it > is e.g. > > Number = int > Letter = char > Word = varchar
It's been a while since I looked at C, but I don't think it has a 'varchar' datatype. Are you confusing C with SQL :-) [ snip ] > my $name = 'Lyle'; > print “Hello $name”; A common problem with producing programming tutorials using software aimed at word processing is that you end up with code which contains "smart quotes" as above - which then won't compile. That's potentially confusing to newcomers. [ snip ] > You have all the normal math operators. Grr! It's "maths" on this side of the Atlantic :-) Cheers, Dave... _______________________________________________ BristolBathPM mailing list [email protected] http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm
