190 likes | 296 Views
Day 2 Agenda. Miscellaneous Topics. Data confidentiality Review file types Online helps. Order of Execution. PROCs: GLOBAL Application Level Form Roster Field Preproc Onfocus Killfocus Postproc. Comments. Single-line comments: // Multiple-line comments: { }.
E N D
Miscellaneous Topics • Data confidentiality • Review file types • Online helps
Order of Execution • PROCs: • GLOBAL • Application • Level • Form • Roster • Field • Preproc • Onfocus • Killfocus • Postproc
Comments • Single-line comments: // • Multiple-line comments: { }
Conditional Statements • If, elseif, else • Operators: • Equal: = • Not equal: <> • Less than: < • Less than or equal to: <= • Greater than: > • Greater than or equal to: >= • In • Not, and, or
Skips • Reenter • Move • Skip • Next • Advance • Noinput
Freeform Text • Editnote • Getnote • Putnote
Numeric Operations • Operators: + - * / % ^ • Tonumber • Inc • Exp • Log • Sqrt • Low • High
String Operations • Substrings: [] • Length • Tolower • Toupper • Concat • Strip • Compare, < <= = > >= • Pos • Edit • Getlabel • Getoperatorid
Messages • Errmsg • Maketext • Formatting: • Integers: %d • Decimal fractions: %f • Strings: %s
Programming Standards • (handout)
Variables and Arrays • Explicit versus implicit compilation • numeric • alpha • array • array alpha
User-Defined Functions • function • exit • OnKey • OnStop
Looping • while • do • for • next • break
Recoding • recode / endrecode
Controlling Program Flow • Skips • endgroup • endlevel • stop • universe
Debugging and Tracing • trace • set trace