Re: <No Subject Supplied>
Posted in 1995
In article <40g6ss$qc9@cssun.mathcs.emory.edu> noel@paragon.ie "Noel O'Brien" writes: <snip> > DEFINE passed1 LIKE some_table.column1 ->> CHAR(12) > passed2 LIKE other_table.column2 ->> SERIAL > > LET passed1 = "11" > LET passed2 = 59 > > CALL some_function(passed1,passed2) > > FUNCTION some_function(key_arg1,key_arg2) > DEFINE key_arg1 LIKE some_table.column1, > key_arg2 CHAR(3), > loc_num INTEGER > <rest snipped> 'passed2' will be (in effect) an integer, but 'key_arg2' is char(3). Is this the cause of the problem? Have you tried defining a char(3) in the top bit, and the 'LET char3 = passed2'? -- ============================================================================ Sally Woolrich | This mail contains my personal sally@excelsis.demon.co.uk | views not those of my employer! ============================================================================