• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reaching the limits of 'learn by example'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reaching the limits of 'learn by example'


  • Subject: Re: Reaching the limits of 'learn by example'
  • From: Brian Hill <email@hidden>
  • Date: Sun, 13 May 2001 16:49:33 -0500

On Sunday, May 13, 2001, at 04:25 PM, Cyril Godefroy wrote:

NSString *level = [sender representedObject];
Float32 intLevel=0.1; //testing
//Float32 intLevel = [level intvalue]/6;
NSLog(@"level is:%@",level);

OSStatus err = noErr;
UInt32 count, muteSetting, channel, datasize;

You've declared several variables after the line where you called a function(the NSLog line).
Can't do that.

Put the NSLog line after the 'UInt32... line'.

Brian


email@hidden http://personalpages.tds.net/~brian_hill

"Why? I came into this game for adventure - go anywhere, travel
light, get in, get out, wherever there's trouble, a man alone.
Now they've got the whole country sectioned off and you can't
move without a form. I'm the last of a breed."
-- Archibald "Harry" Tuttle, Rogue HVAC Repairman



References: 
 >Re: Reaching the limits of 'learn by example' (From: Cyril Godefroy <email@hidden>)

  • Prev by Date: Re: Reaching the limits of 'learn by example'
  • Next by Date: Re: Reaching the limits of 'learn by example'
  • Previous by thread: Re: Reaching the limits of 'learn by example'
  • Next by thread: RE: Reaching the limits of 'learn by example'
  • Index(es):
    • Date
    • Thread