Dave Cross wrote:
> On 02/09/2009 13:46, Lyle wrote:
>   
>> Here is where it starts getting interesting. One thing I overlooked that
>> turned out to be a problem was teaching them how to use the command
>> prompt. The IT teachers didn't know either. Seems Windows has prevailed
>> in restricting command prompt knowledge to us IT pros :(
>>     
>
> Have you looked at something like Padre?
>
>    http://padre.perlide.org/
>
> It might be closer to the program development environment that they are 
> expecting. No command line required.
>   

I've been meaning to have a play with it. Although it was hard enough 
getting the last school to install Perl...

>> 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 :-)
>   

I think your right, should be Word = char[11] (for a word that's 10 
letters long).

>> 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.
>   

Yes that's pretty damn annoying. Although when typing up the examples 
they are only using a text editor so they use normal quotes.

>> You have all the normal math operators.
>>     
>
> Grr! It's "maths" on this side of the Atlantic :-)
>   

Damn my English :(

Paul Makepeace wrote:
> If only Perl had some kind of built-in format for producing 
> documentation...
>
> ;-)

Good point


Lyle

_______________________________________________
BristolBathPM mailing list
[email protected]
http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm

Reply via email to