Day 2 agenda
This presentation is the property of its rightful owner.
Sponsored Links
1 / 19

Day 2 Agenda PowerPoint PPT Presentation


  • 61 Views
  • Uploaded on
  • Presentation posted in: General

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: { }.

Download Presentation

Day 2 Agenda

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Day 2 agenda

Day 2 Agenda


Miscellaneous topics

Miscellaneous Topics

  • Data confidentiality

  • Review file types

  • Online helps


Order of execution

Order of Execution

  • PROCs:

    • GLOBAL

    • Application

    • Level

    • Form

    • Roster

    • Field

  • Preproc

  • Onfocus

  • Killfocus

  • Postproc


Comments

Comments

  • Single-line comments: //

  • Multiple-line comments: { }


Conditional statements

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

Skips

  • Reenter

  • Move

  • Skip

  • Next

  • Advance

  • Noinput


Freeform text

Freeform Text

  • Editnote

  • Getnote

  • Putnote


Numeric operations

Numeric Operations

  • Operators: + - * / % ^

  • Tonumber

  • Inc

  • Exp

  • Log

  • Sqrt

  • Low

  • High


String operations

String Operations

  • Substrings: []

  • Length

  • Tolower

  • Toupper

  • Concat

  • Strip

  • Compare, < <= = > >=

  • Pos

  • Edit

  • Getlabel

  • Getoperatorid


Messages

Messages

  • Errmsg

  • Maketext

  • Formatting:

    • Integers: %d

    • Decimal fractions: %f

    • Strings: %s


Day 3 agenda

Day 3 Agenda


Programming standards

Programming Standards

  • (handout)


Variables and arrays

Variables and Arrays

  • Explicit versus implicit compilation

  • numeric

  • alpha

  • array

  • array alpha


User defined functions

User-Defined Functions

  • function

  • exit

  • OnKey

  • OnStop


Looping

Looping

  • while

  • do

  • for

  • next

  • break


Recoding

Recoding

  • recode / endrecode


Record functions

Record Functions


Controlling program flow

Controlling Program Flow

  • Skips

  • endgroup

  • endlevel

  • stop

  • universe


Debugging and tracing

Debugging and Tracing

  • trace

  • set trace


  • Login