Re: Currency Converter Tutorial Problems
Re: Currency Converter Tutorial Problems
- Subject: Re: Currency Converter Tutorial Problems
- From: Alex Clarke <email@hidden>
- Date: Thu, 21 Oct 2004 13:43:35 +1000
- Organization: PowerMax Computers
Hi Alex,
On Wed, 20 Oct 2004 22:58:30 -0400, Alex kadis wrote:
>
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m:2:
>
/Users/(MY_UN)/Projects/CurrencyConverter/converter.h:7: error: parse
>
error before '-' token
Check your code carefully - this error is always caused by typo errors in your code, in my experience. Make sure you have not forgotten the semicolon at the end of each statement. Most likely just before line 7 in converter.h.
What you'll probably find is that once you fix that typo, the following errors will disappear as well, as the compiler will then be able to parse your files properly.
>
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m: In
>
function `-[ConverterController convert:]':
>
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m:12:
>
warning: `converter' may not respond to `+convertAmount:atRate:'
>
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m:12:
>
warning: cannot find method `+convertAmount:atRate:'; return type `id'
>
assumed
>
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m:12:
>
error: incompatible types in assignment
Regards
Alex
---- ----- ---- ----- ---- ----- ---- ----- ---- -----
Alex Clarke
Designer | Technician
PowerMax Computers | Lismore
Apple Certified Desktop Technician
ABN: 73 817 650 349
16 Allen St Lismore NSW 2480 Australia
Ph: 0266 224 996
M: 0413119455
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden