Re: 4GL Dynamic "USING" format clause
Posted in 1995
From John Campbell: * * If I define a variable as a char value and assign it a valid format string * in * 4GL Version 4.00.UH2 it displays the correct result. * The following program gives an example of what I mean. * * Main * * Define a decimal * Define b char(25) * define c char(25) * * let a = 1.0 * let b = "-----&&" * * let c = a using b clipped * display "'",c clipped,"'" * * end main * * When run using Version 4.00.UH2 it displays as: ' 01' * In version 4.12.UE2 it displays as: '1.00' In our version of 4.10.UC3, it displays like your 4.00.UH2 version: ' 01' What happens if you un-dynamically set c: let c = a using "-----&&" Does it work correctly? Robert Minter |Data Systems Support| \\\\\\_/// Programmer, Software Development | Orange, CA | ( _ _ ) rob@dssmktg.com | Tel: 714.771.0454 | (| ^ |) De Colores - Emmaus OC-13 | Fax: 714.771.3028 | \\`-'/ #include <disclaimer.h> SURF'S UP \\_/