90 likes | 99 Views
CodePainter Revolution Trainer Course. Max Vizzini Routine Entities. Routine Entities. They are used to write procedures or functions. They do not have a Form associated. A set of portable commands is provided.
E N D
CodePainter Revolution Trainer Course Max Vizzini Routine Entities
Routine Entities • They are used to write procedures or functions. • They do not have a Form associated. • A set of portable commands is provided. • Commands of the target language can be used. This reduces portability between different programming languages.
Main Characteristics • Istructions are organized in chains. • Chains are subdivided in Blocks. • Blocks can be collapsed or expanded. • CodePainter generates source code only for the chain starting in the top left corner. • Other chains can be “parked” just removing them from the main chain (top left corner).
Database Management Statements • Select • Insert • Delete • Read • Write
Flow Control Statements • If/Else • Case • While • B/End
Error Management Statements • Try/Catch • Raise • Stop
Declarations, Remarks& Exec Statement • Var • Rem • Exec