[futurebasic] Program conversion

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

From: "Bob Bryce" <rrbryce@...>
Date: Mon, 28 Jan 2008 05:48:45 +0000
In response to my question about DEF BLOCKFILL below
Jay Reeve suggested using sizeof(gMT) or sizeof(MTInfo)
Thanks Jay; works nicely.

//LOCAL FN BlankMTRecord
'DEF BLOCKFILL (@gMT, _MT, 0)
blockzero( @gMT, sizeof(gMT) )
  END FN

This only works if _MT form my original program is replaced with  something
like "26." However this only erases the font name in the first field.
I want to erase ALL fields; MTfontName$, MTfontSize$, MTStyleName$
MTStyleNumber$ ... in their respective fields.

What can I use in place of _MT?? MTInfo doesn't work here either.
sizeof( gMT ) or sizeof( MTinfo )--either will work if you've dimmed  gMT as 
MTinfo.

HTH,
  e-e
  =J= a  y   //

Bob Bryce