Skip to content

Calculation (question type)

mmaness edited this page Jan 11, 2013 · 2 revisions

A psuedo-question which performs some calculations at some point in the order of logic for a survey.

Format

Calculation Name
  block
end

Detailed Description

Block Options

This question type corresponds to a block of executable code (e.g. expressions, assignments).

Example

Calculation TimeCalculations
  current_time = DepartTime
  # Calculating the early and late departures by changing departure time by +/- 30 minutes
  early_depart = current_time - 30
  late_depart = current_time + 30
end

Related Pages

  • calculation. A question trait which allows for calculations to be executed before or after a question is rendered.

Go back to Question Types

Home | JULIE Intro | Getting Started with JULIE | JULIE References | JULIE Development | Survenity Language