150 likes | 310 Views
AX 2012 Development Training. Presented by Vishy Grandhi. Training Outline. Lesson 1: Variables & Operators Lesson 2 : Conditional Statements Lesson 2: Loops Lesson 2: Built-in Functions Lesson 2: Communication tools Recipes. Variables & Operators : Overview. Scope of variables
E N D
AX 2012 Development Training Presented by VishyGrandhi
Training Outline • Lesson 1: Variables & Operators • Lesson 2: Conditional Statements • Lesson 2: Loops • Lesson 2: Built-in Functions • Lesson 2: Communication tools • Recipes
Variables & Operators: Overview • Scope of variables • Global, Local • Declaration • Declare all variables before any other code • Use a semicolon after each declaration • EDTs: Try to use the variable same as EDT • Initialization • Composite Data Types
Variables & Operators: Containers • Containers can contain simple and EDTs but not classes. Following functions can be used to manipulate containers
Conditional Statements: Overview • If • Switch • Ternary
Loops: Overview • While • Do while • For
Communication Tools: Overview • Print “…” • Pause; • Box::info(…) • Box::yesNo(“…”,DialogButton::Yes,””,””) • DialogButton • Info(“…”) • Warning(“…”), Error(“…”) • SetPrefix(“…”)
Summary of Training • We have looked at X++ language elements including how to declare variables, loops, conditional statements, dialogs etc…