code to explanationThu, 02 Mar 2023

if laCampaña.montoPrestamoPersonal is known then { if laCampaña.montoPPAdelanto > 10000 then { cuotaSolicitada = 1; plazoSolicitado = 1; subTipoPrestamo = subTiposPrestamo.STP_ADELANTO_SUELDO; solicitaAdelantoSueldo = true; } }

The if statement takes a condition and a block of code as the two arguments. The condition is the logical expression evaluated to be true or false. If the condition evaluates to true, the code block is executed. If the condition evaluates to false, the code block is ignored.

Questions about programming?Chat with your personal AI assistant