We are in the process of taking over an existing Gentran 3.0 NT installation and are trying to understand the mappings that already exist.
When dealing with a negative numeric with the negative sign to the right of the numerics.
The mapping script uses the LEFT functions as follows:
[begin
char_size = minus_sign - 1;
#BETRG:2 = left(#BETRG:2,char_size); << if minus_sign is less than or equal to zero, then char size must be negative??
end ] Can anyone explain what the LEFT function is actually doing?. We assume its moving the cursor back one step and then taking the numerics to its left and moving those to the destination.
Thanks
Wiseeider
When dealing with a negative numeric with the negative sign to the right of the numerics.
The mapping script uses the LEFT functions as follows:
[begin
char_size = minus_sign - 1;
#BETRG:2 = left(#BETRG:2,char_size); << if minus_sign is less than or equal to zero, then char size must be negative??
end ] Can anyone explain what the LEFT function is actually doing?. We assume its moving the cursor back one step and then taking the numerics to its left and moving those to the destination.
Thanks
Wiseeider