Though I don't seem to be able to locate the code, it seems that I ran a PPC version of "the Book" one day on a Performa, and was notified that it wouldn't run on a 68k Mac, so RuntimeFBII must have this snippet in there somewhere already. Joe Wilkins Lars Gafvert wrote: > Sylvain Guillemette wrote: > > > Hi, > > > > Is there any way I can find out if my > > FBII application is running on a PowerPC > > or a 680X0 processor ? > > > > Someone will probably suggest to look > > at the front plate on the computer, > > but that's not what I want :-) > > > > Thanks, > > Sylvain > > osErr% = FN GESTALT (_"sysa",longInt&) > > If longInt& is 1 it's a 68k mac, if it's 2 it's a PPC > As simple as that. > > /Lars Gafvert > > -- > To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>