4D v14Video script |
||
|
4D v14
Video script
Video script
In this video, we're going to learn how to program BLOBs and see how they interact with variables. BLOBs allow you to store and retrieve all kinds of information. Let’s use a simple example, say, storing variables. First let's create a method and then we are going to:
The principle is to:
The PositionInBlob variable works as both an input and output variable, in other words:
We're going to trace this method to see how it fills the BLOB and how it restores the variables. At this point:
To extract data from the BLOB:
This simple example helps us understand the entry and removal of data in a BLOB. We could store results from statistical arrays in a BLOB so that we can use them again later on.
Later, when we want to retrieve the contents of the arrays, we'll need to program this as follows:
During execution:
Then when we want to retrieve the BLOB contents later on:
|
PROPERTIES
Product: 4D ARTICLE USAGE
Self-training ( 4D v13) |