Brian Stevens wrote: > Pierre Zippi wrote: > >> Error: Unknown Store Var Type >> in file Temp Project at line 8028 in ScrollPlotPickSTR >> ••LOCAL FN ScrollPlotPickSTR(amt,sel,rect1 as rect) > > > The message in FB5 is better. It says "can't pass structure to local > fn" ( or something close to that ). Here's some code and the actual error message from FB5 '---------------- local fn Receive( r as Rect ) '~'1 print r.top end fn dim as Rect r r.top = 1234 fn Receive( r ) '---------------- Error:•• Parameter type mismatch in line 2 of untitled 1: parameter can't be record 2: local fn Receive( r as Rect ) ^ Interestingly, FBtoC is capable of passing a record by value. This perfectly sensible programming practice could be made legal in a future version of FBtoC. At present, an 'error' is signalled merely for 'compatibility' with the limitations of the old FB Compiler.app. Robert P.