[futurebasic] How to get machine name in carbon OS X?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2002 : Group Archive : Group : All Groups

From: Douglas Stemen <dstemen@...>
Date: Sun, 4 Aug 2002 10:36:39 -0400
Can someone tell me how FB^3 can  get the machine name when compiled in 
carbon running in OS X?

Staz's following Appletalk Chooser Name example on the disk only works 
in PPC.

DIM cName$,rHndl&
LOCAL FN chooserName$
'~'
rHndl& = FN GETRESOURCE(_"STR ",49440)
LONG IF rHndl&
cName$ = PSTR$([rHndl&])
XELSE
cName$ = ""
END IF
END FN = cName$

Thanks,

Doug Stemen