FB II COMPILER
Set a value in a record's field
I'm looking for a shorter way to use Toolbox parameter blocks that aren't implemented by FB. For example, suppose that one field in a pb is _ioFileCreator, which is not defined by FB. If the constant was defined, you could do this:
pb.ioFileCreator& = myCreator&
But the constant, and many like it, are not defined. Of course, one could define all the constants for the pb, but I'd rather not do this every time I need a different variation of the pb. So right now I do this:
BLOCKMOVE @myCreator&,@pb+52,4
But I'd like to be able to do something like:
pb.52;4 = @myCreator&
Is this possible?
Yes, it is. You can also use this syntax:
pb.52& = myCreator&
|