ApplicationSupportFolder

I wrote a REALbasic program about 10 years ago. It no longer runs on my iMac OS 10.6 but does run on my OS10.5. So I have begun to update it using RealStudio2012r1.dmg . I am very rusty - not having programmed for a long time. So my questions may seem rudimentary.

Here is a bit of code from my old program:

OwnManAcctDB = New REALSQLDatabase Dim f, g, h as FolderItem f=ApplicationSupportFolder If f = Nil then MsgBox "No Application Support folder found." quit end if

Apparently “ApplicationSupportFolder” no longer can be used. What replaces it?

Edit (Paul): Added Code tags

[quote=84419:@Tom Bisbee]Apparently “ApplicationSupportFolder” no longer can be used. What replaces it?
[/quote]

Yup! Use specialFolder.applicationData instead.

Thanks for the quick help. Best from Vermont!