Local News: Wabasso, FL 

 | 

Sign Up

 | 

Sign In

Advertisment

Simple If Statement Problem

Posted in the Wabasso Forum

Comments

Showing posts 1 - 2 of2
Max

Gräfelfing, Germany

|
Report Abuse
|
Judge it!
|
#1
Jul 3, 2009
 
Hi Everyone,

This code gives me this error: "Assignment from incompatible pointer type"

NSTabViewItem *tvi =[tv selectedTabViewItem];

if (tvi = "Other")
{
[x becomeFirstResponder];
}

Thanks for the help!

Max
Khandurian

Merritt Island, FL

|
Report Abuse
|
Judge it!
|
#2
Jul 4, 2009
 
You have no "then" statement or an "else" statement.

A program has to know what to do if it cannot match the "if" declaritive.

In other words, if tvi does not = other, it has to know what to do next.
Tell me when this thread is updated!
(registration is not required)
Showing posts 1 - 2 of2
Type in your comments to post to the forum
Name
(appears on your post)
Comments
Type the numbers you see in the image on the right:

Please note by clicking on "Post Comment" you acknowledge that you have read the Terms of Service and the comment you are posting is in compliance with such terms. Be polite. Inappropriate posts may be removed by the moderator. Send us your feedback.

Other Recent Wabasso Discussions

Search the Wabasso Forum:
Topic Updated Last By Comments
vero beach gay life style (Aug '08) Mon Patty 27
Whacking off on the Public Beach Mon John 1
moving to vero beach (Mar '07) Dec 20 lee lee 54
High electric bill for june Dec 19 TheKeds 9
Cocoa Police Hold "Shop With A Cop" Event Dec 14 luvmypets 2
Denise Harvey gets 30 years for having sex with... (Sep '08) Dec 9 Pardon ME 17
Vero Beach, FL Teen Challenge Boys' Program (May '08) Dec 8 biggn 38

Be the talk of the town

Get your topix hats, t-shirts & more!

Shop our store now!

Powered by Krillion

Cars [ See all ]

Wabasso Jobs

Mortgages [ See current mortgage rates ]
Wabasso Dating

more search filters

less search filters

Wabasso People Search

Addresses and phone numbers for FREE

Wabasso News, Events & Info

Click for news, events and info in Wabasso

Daily Horoscope for December 22

Cancer

If you're busy with a last-minute Christmas shopping trip it will be easy to lose track of how much you're spending, particularly if you're in a panic and desperate to tick off every name on your list. However, you might be in for a nasty shock later on when you tot up the massive amount of money that you parted with. So try to keep a running total in your head or stick to a strict budget for each gift.

Get your Horoscope »