‎2009 Aug 11 7:52 AM
example my code
/: IF ®UH-LAUFI+5(1)& = 'R'
/* -
modifiche BGP 08.06.06
/: IF ®UH-ZBUKR& = 'CAI0'
/: OR ®UH-ZBUKR& = 'CAI1'
/: OR ®UH-ZBUKR& = 'CAI2'
A1 ,,CMF - ROM
/: ELSE
A1 ,,Tesoreria
/: ENDIF
me unknown command
‎2009 Aug 11 7:55 AM
‎2009 Aug 11 7:55 AM
‎2009 Aug 11 7:58 AM
i have solved
/: IF ®UH-LAUFI+5(1)& = 'R'
/* -
modifiche BGP 08.06.06
/: IF ®UH-ZBUKR& = 'CAI0' OR ®UH-ZBUKR& = 'CAI1' OR ®UH-ZBUKR& = 'CAI2'
A1 ,,CMF - ROM
/: ELSE
A1 ,,Tesoreria
/: ENDIF
me unknown command
‎2009 Aug 11 8:32 AM
/: IF ®UH-ZBUKR& = 'CAI0'
/: OR ®UH-ZBUKR& = 'CAI1' OR ®UH-ZBUKR& = 'CAI2'
/: OR ®UH-ZBUKR& = 'AIR1' OR ®UH-ZBUKR& = 'AIR2'
/: endif
when I run the syntax check tells me that the command 'or' is unknown
‎2009 Aug 11 8:37 AM
Hi,
You have to use the IF statement in the same line.
/: IF ®UH-ZBUKR& = 'CAI0' OR ®UH-ZBUKR& = 'CAI1' OR ®UH-ZBUKR& = 'CAI2' OR ®UH-ZBUKR& = 'AIR1' OR ®UH-ZBUKR& = 'AIR2'
When you reach the end of the line press Shift+F8 to extend the line in script editor and comeplete the if statement in the same line.
Regards,
Vik
‎2009 Aug 11 8:49 AM