Retrieving location of Documents and Shared dirs

Miscellaneous Forums/MacOS X Discussion/Retrieving location of Documents and Shared dirs

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Am adding a GetCustomDir function, in which you pass a "dir type", which will allow for a bit of flexibility on my end, rather than adding special functions that only work on one platform.
eg.
source :
SuperStrict

Framework BaH.Volumes
Import BRL.Standardio

Print GetCustomDir(DT_SHAREDUSERDATA)

output:
Executing:untitled1.debug
/Users/Shared

Process complete


No Intel Mac here, I'm afraid, but fortunately a Build Modules doesn't take too long to run...