In general it is better to use the function equivalent $scan instead of the scan statement. This is the general case in proc-script. The reason that some of the statements are still documented and work is for compatibility reasons. Even showing the compiler warning - "deprecated" is not taken lightly, just to avoid differences between the uniface versions and assure old applications can be recompiled and run without any change required.
Hope this helps
Jasper de Keijzer
Principal software developer at Rocket Software - uniface.
------------------------------
Jasper DeKeijzer
Rocket Internal - All Brands
------------------------------
Original Message:
Sent: 12-11-2023 17:05
From: Jim Mitchell
Subject: Scan command no longer unsupported?
In the Uniface version 10.3 documentation, it says that the ProcScript command "scan" is unsupported and the new equivalent is $scan. However, this is no longer the case in the 10.4 documentation; it lists "scan" as unsupported but the new equivalent is also "scan" (same thing).
Has "scan" been removed from the unsupported list, and thus, is still supported?
------------------------------
Jim Mitchell
State of Oregon
Salem OR US
------------------------------