Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If Statement Syntax (VarCode = a StudyTRAX Variable's Code)

if (#VarCode1 == 0) {
   #VarCode2 = 1;
   Other statements here...
}

If - Else Statement Syntax (den = Data Export NameVarCode = a StudyTRAX Variable's Code)

if (#VarCode1 == 0) {
   #VarCode2 = 1;
} else if (#VarCode1 == 1) {
   #VarCode2 = 2;
} else if (#VarCode1 == 2) {
   #VarCode2 = 3;
} else {
   #VarCode2 = 0;
}

...