Skip to main content

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
------------------------------

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
------------------------------

Just to put your mind at rest.... $scan works in 10.4 too



------------------------------
Osman Shariff
------------------------------

Just to put your mind at rest.... $scan works in 10.4 too



------------------------------
Osman Shariff
------------------------------

All of our code has "scan" so I just wanted to make sure that I don't have to change it to "$scan".



------------------------------
Jim Mitchell
State of Oregon
Salem OR US
------------------------------

All of our code has "scan" so I just wanted to make sure that I don't have to change it to "$scan".



------------------------------
Jim Mitchell
State of Oregon
Salem OR US
------------------------------

So, I tested it in 10.4.01 and it works fine and there are no warnings...  Dunno about 10.4.02

$scan is much nicer, so it might be worth doing the change at some point



------------------------------
Osman Shariff
------------------------------

So, I tested it in 10.4.01 and it works fine and there are no warnings...  Dunno about 10.4.02

$scan is much nicer, so it might be worth doing the change at some point



------------------------------
Osman Shariff
------------------------------

10.4.02 works fine also without any warnings. $scan would require syntax changes (not just a straight replacement) so I'm sticking with scan.

Thanks!



------------------------------
Jim Mitchell
State of Oregon
Salem OR US
------------------------------

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
------------------------------

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
------------------------------

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
------------------------------

Yes, that helps Jasper. Thank you for the additional information.



------------------------------
Jim Mitchell
State of Oregon
Salem OR US
------------------------------