“pre-deliver” uniface functionality

As I mentioned before, Uniface8+ has a function to give us a list of files. So what to in Uniface7 to prepare for this change?

This way we have a chance to use “pre-delivered” uniface functionality.

We call a GLOBAL PROC in our coding like the one defined here:
entry get_FilesInDir
params
string p_file_mask : in
string p_ListOfFiles : out
endparams
…… code depending on the uniface version
end ; get_FilesInDir

when we go to higher uniface versions we have to migrate this Proc only.

From 8+ onwards, we can even write our own functions using the RETURNS statement.
Success, Uli

Leave a Reply