[futurebasic] Re: [FB] Need help using the toolbox call 'CGDisplayAvailableModes'

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2007 : Group Archive : Group : All Groups

From: Ross Tulloch <r.tulloch@...>
Date: Mon, 26 Nov 2007 08:36:37 +1100
The topic of parsing command line output recently came up on Apple's  
darwin developers mailing list and one of Apple's lead Darwin  
engineers wrote a cute little Q&A on the topic:

<http://lists.apple.com/archives/darwin-dev/2007/Aug/msg00107.html>

(I've been guilty of doing it too at times - but it really does scare  
me more than writing lots of code!)



Ross.

On 26/11/2007, at 3:13 AM, maxclass@... wrote:

> Ken,
>
> Love the Unix shortcuts.
>
> I know there are those out there that discourage the Unix side, in  
> case Apple changes their OS for something better, yah, like that's  
> going to happen next week, but it sure makes the code simpler.
>
> Both ways are right if you get the same answer.
>
> Max Taylor
> The MaxClass Guy
>
> On Nov 24, 2007, at 11:55 PM, Ken Shmidheiser wrote:
>
>> Max asked Bernie:
>>
>>> Q. How does one know which of the 36 modes on my monitor is the  
>>> currently selected one?
>>
>> open "Unix", 2, unixCmd
>> do : line input #2, tempStr
>> gC += tempStr
>> until eof (2) : close  2
>
>
>
> -- To unsubscribe, send ANY message to: futurebasic- 
> unsubscribe@... om