[futurebasic] FBtoC: 1a126 and system( _sysVol )

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Rich Love <richlove@...>
Date: Wed, 2 Jan 2008 15:15:49 -0600
I have been using system( _sysVol ) with previous versions of FBtoC  
and it was working when used with FSMakeFSSpec
Guess, it was just dumb luck.
How do I make the following work, now that System(_sysVol) does not  
work...

Temp% = System(_sysVol)
err%=fn FSMakeFSSpec(Temp%,0,"MyFullPathName",TempFSSpec)
OPEN "I",#6,@TempFSSpec

Rich



On Dec 27, 2007, at 3:50 PM, Robert Purves wrote:

>
> http://4toc.com/fb4/FBtoC_Preview1a126.zip  [1.6 MB download]
>
> What's new in FBtoC translation:
> - 'on event fn DoEvent' and 'on mouse fn DoMouse'
> - 'scroll button' statement (for _scrollOther only). See the example  
> file "scroll button".
>
> Obsolete file-related functions that take or return a working  
> directory reference (wdRefNum) have been removed. The use of  
> system( _aplVol ), system( _sysVol ) or FBMakeFSSpec() now causes a  
> translation-time error.
>
>
> What's new in FBtoC itself:
> - adjustable font size in FBtoC Log window
> - repeated builds of small projects are faster with 'Use precompiled  
> header'
> - 'More warnings' no longer emits irritating warnings about the  
> canned runtime code
> - FBtoC Help is more complete and more accurate
>
> Bugs closed:
> 231	Closed	a126	'foo =' assigned wrongly for xref @ foo(1) as  
> SomeRecord
> 249	Closed	a126	multiple "res name" sounds freeze app
> 251	Closed	a126	maxOS = 10.2 (Architecture PPC) gives many gcc errors
> 259	Closed	a126	Var with .length syntax has wrong static sizeof()
> 269	Closed	a126	'not' operator has wrong precedence
> 270	Closed	a126	'Use precompiled header' does not speed up builds
> 272	Closed	a126	'#if' without matching  '#endif' should be error
>
> Unclosed bugs of interest are now listed in the FBtoC Help.
>
>
> Robert P.
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>