FF-900 FS 6.0 Fieldbus Specification Device Description Language

Size: px
Start display at page:

Download "FF-900 FS 6.0 Fieldbus Specification Device Description Language"

Transcription

1 FF-900 FS 6.0 Fieldbus Specification Device Description Language Table of Contents 1 Introduction Scope References Overview Architecture DDL Model Device Description Source Device Description Binary (DD Binary) DDL Usage Design Phase Device Description Tokenizer Device Description Language Introduction Preprocessor Overview Syntax Notation Conventions Item Groupings Item Arrays and Collections Records, Arrays, and Variable Lists Blocks Characteristics Block Attribute Label Block Attribute Parameters Block Attribute Local Parameters Block Attribute Help Block Attribute Parameter Lists Block Attribute Item Lists Block Attribute Charts Block Attribute Lists Block Attribute Graphs Block Attribute Grids Block Attribute Menus Block Attribute Methods Block Attribute Files Block Attribute Plugins Block Attribute Variables Class Variable Attribute Type Variable Attribute Arithmetic Types Display/Edit Format Arithmetic Attributes Minimum/Maximum Value Arithmetic Attributes Scaling Factor Arithmetic Attribute Enumeration Types String Types Index Type Date / Time Types Minimum/Maximum Value Date/Time Attributes Time Format Date/Time Attributes Boolean Type Constant Unit Variable Attribute Handling Variable Attribute Help Variable Attribute Label Variable Attribute Pre/Post Edit Actions Variable Attribute Pre/Post Read Actions Variable Attribute Pre/Post Write Actions Variable Attribute Refresh Actions Variable Attribute Page 4 Fieldbus Foundation

2 Device Description Language Fieldbus Specification FF-900 FS Read/Write Timeout Variable Attributes Validity Variable Attribute Response Codes Variable Attribute Write Mode Variable Attribute Private Variable Attribute Visibility Variable Attribute Height Variable Attribute Width Variable Attribute Default Value Variable Attribute Menus Label Menu Attribute Items Menu Attribute Style Menu Attribute Validity Menu Attribute Visibility Menu Attribute Help Menu Attribute Pre/Post Read Actions Menu Attribute Pre/Post Write Actions Menu Attribute Init Actions Menu Attribute Exit Actions Menu Attribute Edit Displays Edit Items Edit Display Attribute Label Edit Display Attribute Display Items Edit Display Attribute Pre/Post Edit Actions Edit Display Attribute Methods Parameters may be specified using a subset of ANSI C programming language (ANSI/ISO ). Parameters may be passed by value or passed by reference including passing arrays.class Method Attribute Definition Method Attribute Help Method Attribute Label Method Attribute Validity Method Attribute Private Method Attribute Visibility Method Attribute Type Method Attribute Relations Refresh Relation Unit Relation Write-As-One Relation Item Arrays Elements Item Array Attribute Help Item Array Attribute Label Item Array Attribute Validity Item Array Attribute Collections Members Collection Attribute Help Collection Attribute Label Collection Attribute Validity Collection Attribute Visibility Collection Attribute Records Members Record Attribute Help Record Attribute Label Record Attribute Response Codes Record Attribute Validity Record Attribute Write Mode Record Attribute Private Record Attribute Visibility Record Attribute Arrays Type Array Attribute Number of Elements Array Attribute Fieldbus Foundation Page 3

3 FF-900 FS 6.0 Fieldbus Specification Device Description Language Help Array Attribute Label Array Attribute Response Codes Array Attribute Validity Array Attribute Write Mode Array Attribute Private Array Attribute Visibility Array Attribute Variable Lists Members Variable List Attribute Help Variable List Attribute Label Variable List Attribute Response Codes Variable List Attribute Programs Domains Response Codes Axis Label Axis Attribute Help Axis Attribute Minimum Value Axis Attribute Maximum Value Axis Attribute Scaling Axis Attribute Constant Unit Axis Attribute Chart Members Chart Attribute Cycle Time Chart Attribute Height Chart Attribute Width Chart Attribute Help Chart Attribute Label Chart Attribute Length Chart Attribute Type Chart Attribute Validity Chart Attribute Visibility Chart Attribute File Members File Attribute Help File Attribute Label File Attribute Grid Vectors Grid Attribute Height Grid Attribute Width Grid Attribute Handling Grid Attribute Help Grid Attribute Label Grid Attribute Orientation Grid Attribute Validity Grid Attribute Visibility Grid Attribute Graph Members Graph Attribute Height Graph Attribute Width Graph Attribute Cycle Time Graph Attribute Help Graph Attribute Label Graph Attribute X Axis Graph Attribute Validity Graph Attribute Visibility Graph Attribute Image Link Image Attribute Path Image Attribute Validity Image Attribute Help Image Attribute Page 4 Fieldbus Foundation

4 Device Description Language Fieldbus Specification FF-900 FS Label Image Attribute Visibility Image Attribute List Type List Attribute Capacity List Attribute Count List Attribute Help List Attribute Label List Attribute Validity List Attribute Visibility List Attribute Source Members Source Attribute Emphasis Source Attribute Help Source Attribute Label Source Attribute Line Color Source Attribute Line Type Source Attribute Y Axis Source Attribute Init Actions Source Attribute Refresh Actions Source Attribute Exit Actions Source Attribute Validity Source Attribute Visibility Source Attribute Waveform Type Waveform Attribute XY Waveform Type Attribute X Values Waveform XY Type Attribute Y Values Waveform XY Type Attribute Number of Points Waveform XY Type Attribute YT Waveform Type Attribute X Initial Waveform YT Type Attribute X Increment Waveform YT Type Attribute Y Values Waveform YT Type Attribute Number of Points Waveform YT Type Attribute Horizontal Waveform Type Attribute Y Values Waveform Horizontal Type Attribute Vertical Waveform Type Attribute X Values Waveform Vertical Type Attribute Emphasis Waveform Attribute Help Waveform Attribute Label Waveform Attribute Line Type Waveform Attribute Line Color Waveform Attribute Y Axis Waveform Attribute Init Actions Waveform Attribute Exit Actions Waveform Attribute Refresh Actions Waveform Attribute Key Points Waveform Attribute X Values Waveform Key Points Attribute Y Values Waveform Key Points Attribute Handling Waveform Attribute Validity Waveform Attribute Visibility Waveform Attribute Template Default Values Template Attribute Label Template Attribute Help Template Attribute Validity Template Attribute Fieldbus Foundation Page 5

5 FF-900 FS 6.0 Fieldbus Specification Device Description Language 2.29 Plug-in UUID Plug-in Attribute Help Plug-in Attribute Label Plug-in Attribute Validity Plug-in Attribute Visibility Plug-in Attribute Device Description Information Output Redirection (OPEN and CLOSE Keywords) Creating Similar Items (LIKE Keyword) Importing Device Descriptions Importing Items Importing All Items Importing Items of a Specific Type Importing a Specific Item Redefining Blocks Deleting a Block Redefining a Block Redefining Block Attributes Redefining Variables Deleting a Variable Redefining a Variable Redefining Variable Attributes Redefining Records Deleting a Record Redefining a Record Redefining Record Attributes Redefining Item Arrays Deleting an Item Array Redefining an Item Array Redefining Item Array Attributes Redefining Menus Deleting a Menu Redefining a Menu Redefining Menu Attributes Redefining Edit Displays Deleting an Edit Display Redefining an Edit Display Redefining Edit Display Attributes Redefining Methods Deleting a Method Redefining a Method Redefining Method Attributes Redefining Relations Deleting a Refresh Relation Deleting a Unit Relation Deleting a Write As One Relation Redefining a Refresh Relation Redefining a Unit Relation Redefining a Write As One Relation Redefining Arrays Deleting an Array Redefining an Array Redefining Array Attributes Redefining Collections Deleting a Collection Redefining a Collection Redefining Collection Attributes Redefining Variable Lists Deleting a Variable List Redefining a Variable List Redefining Variable List Attributes Redefining Programs Redefining Domains Page 6 Fieldbus Foundation

6 Device Description Language Fieldbus Specification FF-900 FS Redefining Response Codes Deleting a Response Codes Redefining a Response Codes Deleting, Redefining, and Adding Response Codes Redefining Axes Deleting an Axis Redefining a Axis Redefining Axis Attributes Redefining Charts Deleting a Chart Redefining a Chart Redefining Chart Attributes Redefining Files Deleting a File Redefining a File Redefining File Attributes Redefining Graphs Deleting a Graph Redefining a Graph Redefining Graph Attributes Redefining Grids Deleting a Grid Redefining a Grid Redefining Grid Attributes Redefining Images Deleting an Image Redefining an Image Redefining Image Attributes Redefining Lists Deleting a List Redefining a List Redefining List Attributes Redefining Sources Deleting a Source Redefining a Source Redefining Source Attributes Redefining Waveforms Deleting a Waveform Redefining a Waveform Redefining Waveform Attributes Redefining Templates Deleting a Template Redefining a Template Redefining Template Attributes Redefining Plug-ins Deleting a Plug-in Redefining a Plug-in Redefining Plug-in Attributes Conditionals IF Conditional IF-ELSE Conditional Select Conditional References Referencing Items Referencing the Members of a Record Referencing the Elements of an Array Referencing the Members of a Collection Referencing the Elements of an Item Array Referencing the Members of a Variable List Referencing the Members of a File Referencing the Elements of a List Referencing the Members of a Chart Referencing the Members of a Graph Fieldbus Foundation Page 7

7 FF-900 FS 6.0 Fieldbus Specification Device Description Language Referencing the X Axis of a Graph Referencing the Members of a Source Referencing the Y Axis of a Source Referencing the Y Axis of a Waveform Referencing the Bits of a Bit-enumerated Variable Referencing the Parameters of a Block Referencing Local Block Parameters Referencing the Parameter Lists of a Block Referencing the Characteristics of a Block Referencing the Parameters of a Specific Block Referencing the Local Parameters of a Specific Block Referencing the Characteristics of a Specific Block Referencing the Charts of a Specific Block Referencing the Lists of a Specific Block Referencing the Graphs of a Specific Block Referencing the Grids of a Specific Block Referencing the Menus of a Specific Block Referencing the Methods of a Specific Block Referencing the Plug-ins of a Specific Block Expressions Primary Expressions Unary Expressions Binary Expressions Multiplicative Operators Additive Operators Shift Operators Relational Operators Equality Operators Bitwise Operators Logical Operators Strings Specifying a String as a String Literal Specifying a String as a String Variable Specifying a String as a Enumeration Value Specifying a String as a Dictionary Reference Specifying a String as a String Attribute Reference Specifying a String via String Concatenation Lexical Conventions Integer Constants Floating Point Constants String Literals A. Formal DDL Syntax A.1 Device Description A.2 Blocks A.3 Variables A.4 Menus A.5 Edit Displays A.6 Methods A.7 Relations A.8 Item Arrays A.9 Collections A.10 Records A.11 Arrays A.12 Variable Lists A.13 Programs A.14 Domains A.15 Response Codes A.16 Axis A.17 Chart A.18 File Page 8 Fieldbus Foundation

8 Device Description Language Fieldbus Specification FF-900 FS 6.0 A.19 Graph A.20 Grid A.21 Image A.22 List A.23 Source A.24 Waveform A.25 Template A.26 Plugin A.27 References A.28 Imported Device Descriptions A.29 Block Redefinitions A.30 Variable Redefinitions A.31 Menu Redefinitions A.32 Edit Display Redefinitions A.33 Method Redefinitions A.34 Relation Redefinitions A.35 Item Array Redefinitions A.36 Collection Redefinitions A.37 Record Redefinitions A.38 Array Redefinitions A.39 Response Codes Redefinitions A.40 Variable List Redefinitions A.41 Program Redefinitions A.42 Domain Redefinitions A.43 Axis Redefinitions A.44 Chart Redefinitions A.45 File Redefinitions A.46 Graph Redefinitions A.47 Grid redefinitions A.48 Image redefinitions A.49 List redefinitions A.50 Source Redefinitions Waveform Redefinitions A.51 Template Redefinitions A.52 Plug-in Redefinitions A.53 Open and Close A.54 Like A.55 Expressions A.56 Lexical Conventions A.57 List of Keywords B. Method Interpreter and Built-in Function Library B.1 Method Interpreter Architecture B.2 Built-in Function Overview B.2.1 User Interface Built-in Functions B.2.2 Parameter Access Built-in Functions B.2.3 Communications Built-in Functions B.2.4 Translation Built-in Functions B.2.5 Normal Termination Built-in Functions B.2.6 Abnormal Termination Built-in Functions B.2.7 Diagnostic Built-in Functions B.2.8 Scaling Built-in Functions B.2.9 List Built-in Functions B.3 Built-in Function Reference B.3.1 abort_on_all_comm_errors() B.3.2 abort_on_all_response_codes() B.3.3 abort_on_comm_error() B.3.4 abort_on_response_code() B.3.5 abs() Fieldbus Foundation Page 9

9 FF-900 FS 6.0 Fieldbus Specification Device Description Language B.3.6 acos() B.3.7 AddTime() B.3.8 asin() B.3.9 add_abort_method() B.3.10 assign() B.3.11 assign2() B.3.12 atan() B.3.13 BUILD_MESSAGE() B.3.14 cbrt() B.3.15 ceil() B.3.16 cos() B.3.17 cosh() B.3.18 delayfor() B.3.19 delayfor2() B.3.20 DICT_ID() B.3.21 DiffTime() B.3.22 discard_on_exit() B.3.23 display_builtin_error() B.3.24 display_comm_error() B.3.25 display_dynamics() B.3.26 display_dynamics2() B.3.27 display_message() B.3.28 display_message2() B.3.29 display_response_code() B.3.30 drand() B.3.31 dseed() B.3.32 edit_device_value() B.3.33 edit_device_value2() B.3.34 edit_local_value() B.3.35 edit_local_value2() B.3.36 exp() B.3.37 fail_on_all_comm_errors() B.3.38 fail_on_all_response_codes() B.3.39 fail_on_comm_error() B.3.40 fail_on_response_code() B.3.41 floor() B.3.42 fmod() B.3.43 fpclassify() B.3.44 get_acknowledgement() B.3.45 get_acknowledgement2() B.3.46 get_block_instance_by_object_index() B.3.47 get_block_instance_by_tag() B.3.48 get_block_instance_count() B.3.49 get_comm_error() B.3.50 get_comm_error_string() B.3.51 get_date() B.3.52 get_date_lelem() B.3.53 get_date_lelem2() B.3.54 get_date_value() B.3.55 get_date_value2() B.3.56 get_dds_error() B.3.57 get_double() B.3.58 get_double_lelem() B.3.59 get_double_lelem2() B.3.60 get_double_value() B.3.61 get_double_value2() B.3.62 get_float() B.3.63 get_float_lelem() B.3.64 get_float_lelem2() B.3.65 get_float_value() B.3.66 get_float_value2() B.3.67 get_resolve_status() B.3.68 get_response_code() Page Fieldbus Foundation

10 Device Description Language Fieldbus Specification FF-900 FS 6.0 B.3.69 get_response_code_string() B.3.70 get_sel_double() B.3.71 get_sel_double2() B.3.72 get_sel_string() B.3.73 get_signed() B.3.74 get_signed_lelem() B.3.75 get_signed_lelem2() B.3.76 get_signed_value() B.3.77 get_signed_value2() B.3.78 get_status_string() B.3.79 get_stddict_string() B.3.80 get_string() B.3.81 get_string_lelem() B.3.82 get_string_lelem2() B.3.83 get_string_value() B.3.84 get_string_value2() B.3.85 get_unsigned() B.3.86 get_unsigned_lelem() B.3.87 get_unsigned_lelem2() B.3.88 get_unsigned_value() B.3.89 get_unsigned_value2() B.3.90 GetCurrentDate() B.3.91 GetCurrentDateAndTime() B.3.92 GetCurrentTime() B.3.93 is_nan() B.3.94 isoffline() B.3.95 ITEM_ID() B.3.96 ListDeleteElementAt() B.3.97 ListDeleteElementAt2() B.3.98 ListInsert() B.3.99 ListInsert2() B log() B log10() B log2() B Make_Time() B MEMBER_ID() B method_abort() B MenuDisplay() B nan() B nanf() B NaN_value() B pow() B put_date() B put_date_value() B put_date_value2() B put_double() B put_double_value() B put_double_value2() B put_float() B put_float_value() B put_float_value2() B put_signed() B put_signed_value() B put_signed_value2() B put_string() B put_string_value() B put_string_value2() B put_unsigned() B put_unsigned_value() B put_unsigned_value2() B read_value() B read_value2() B remove_abort_method() Fieldbus Foundation Page

11 FF-900 FS 6.0 Fieldbus Specification Device Description Language B remove_all_abort_methods() B resolve_array_ref() B resolve_array_ref2() B resolve_block_ref() B resolve_block_ref2() B resolve_list_ref() B resolve_local_ref() B resolve_local_ref2() B resolve_param_list_ref() B resolve_param_ref() B resolve_param_ref2() B resolve_record_ref() B resolve_record_ref2() B ret_double_value() B ret_double_value2() B ret_float_value() B ret_float_value2() B ret_signed_value() B ret_signed_value2() B ret_unsigned_value() B ret_unsigned_value2() B retry_on_all_comm_errors() B retry_on_all_response_codes() B retry_on_comm_error() B retry_on_response_code() B round() B save_on_exit() B seconds_to_time_value() B select_from_menu() B select_from_menu2() B send_all_values() B send_on_exit() B send_value() B send_value2() B sin() B sinh() B sqrt() B strcmp() B strleft() B strlen() B strlwr() B strmid() B strright() B strstr() B strtrim() B strupr() B tan() B tanh() B TIME_VALUE_to_Hour() B TIME_VALUE_to_Minute() B TIME_VALUE_to_Second() B TIME_VALUE_to_seconds() B TIME_VALUE_to_string() B timet_to_string() B timet_to_time_value() B To_TIME_VALUE() B trunc() C. Builtins Return Codes C.1 Where Builtin Return Codes are Defined C.2 Return Code Descriptions D. Device Description Language Profile D.1 Language Elements Profile Page Fieldbus Foundation

12 Device Description Language Fieldbus Specification FF-900 FS 6.0 D.2 Built-in Functions Profile Fieldbus Foundation Page xiii

Built-in Types of Data

Built-in Types of Data Built-in Types of Data Types A data type is set of values and a set of operations defined on those values Python supports several built-in data types: int (for integers), float (for floating-point numbers),

More information

Mentor Graphics Predefined Packages

Mentor Graphics Predefined Packages Mentor Graphics Predefined Packages Mentor Graphics has created packages that define various types and subprograms that make it possible to write and simulate a VHDL model within the Mentor Graphics environment.

More information

Python. Olmo Zavala R. Python Exercises. Center of Atmospheric Sciences, UNAM. August 24, 2016

Python. Olmo Zavala R. Python Exercises. Center of Atmospheric Sciences, UNAM. August 24, 2016 Exercises Center of Atmospheric Sciences, UNAM August 24, 2016 NAND Make function that computes the NAND. It should receive two booleans and return one more boolean. logical operators A and B, A or B,

More information

Sketchpad Graphics Language Reference Manual. Zhongyu Wang, zw2259 Yichen Liu, yl2904 Yan Peng, yp2321

Sketchpad Graphics Language Reference Manual. Zhongyu Wang, zw2259 Yichen Liu, yl2904 Yan Peng, yp2321 Sketchpad Graphics Language Reference Manual Zhongyu Wang, zw2259 Yichen Liu, yl2904 Yan Peng, yp2321 October 20, 2013 1. Introduction This manual provides reference information for using the SKL (Sketchpad

More information

Arithmetic and Logic Blocks

Arithmetic and Logic Blocks Arithmetic and Logic Blocks The Addition Block The block performs addition and subtractions on its inputs. This block can add or subtract scalar, vector, or matrix inputs. We can specify the operation

More information

Objectives. You will learn how to process data in ABAP

Objectives. You will learn how to process data in ABAP Objectives You will learn how to process data in ABAP Assigning Values Resetting Values to Initial Values Numerical Operations Processing Character Strings Specifying Offset Values for Data Objects Type

More information

ISO INTERNATIONAL STANDARD

ISO INTERNATIONAL STANDARD INTERNATIONAL STANDARD ISO 10303-11 Second edition 2004-11-01 Industrial automation systems and integration Product data representation and exchange Part 11: Description methods: The EXPRESS language reference

More information

Computer Science 121. Scientific Computing Winter 2016 Chapter 3 Simple Types: Numbers, Text, Booleans

Computer Science 121. Scientific Computing Winter 2016 Chapter 3 Simple Types: Numbers, Text, Booleans Computer Science 121 Scientific Computing Winter 2016 Chapter 3 Simple Types: Numbers, Text, Booleans 3.1 The Organization of Computer Memory Computers store information as bits : sequences of zeros and

More information

Chapter 1 Getting Started Structured Programming 1

Chapter 1 Getting Started Structured Programming 1 Chapter 1 Getting Started 204112 Structured Programming 1 Outline Introduction to Programming Algorithm Programming Style The printf( ) Function Common Programming Errors Introduction to Modularity Top-Down

More information

High Level Scripting. Gino Tosti University & INFN Perugia. 06/09/2010 SciNeGhe Data Analysis Tutorial

High Level Scripting. Gino Tosti University & INFN Perugia. 06/09/2010 SciNeGhe Data Analysis Tutorial High Level Scripting Part I Gino Tosti University & INFN Perugia What is a script? Scripting Languages It is a small program able to automate a repetitive and boring job; It is a list of commands that

More information

Programming in C. Part 1: Introduction

Programming in C. Part 1: Introduction Programming in C Part 1: Introduction Resources: 1. Stanford CS Education Library URL: http://cslibrary.stanford.edu/101/ 2. Programming in ANSI C, E Balaguruswamy, Tata McGraw-Hill PROGRAMMING IN C A

More information

Package Brobdingnag. R topics documented: March 19, 2018

Package Brobdingnag. R topics documented: March 19, 2018 Type Package Title Very Large Numbers in R Version 1.2-5 Date 2018-03-19 Author Depends R (>= 2.13.0), methods Package Brobdingnag March 19, 2018 Maintainer Handles very large

More information

Variables. location where in memory is the information stored type what sort of information is stored in that memory

Variables. location where in memory is the information stored type what sort of information is stored in that memory Variables Processing, like many programming languages, uses variables to store information Variables are stored in computer memory with certain attributes location where in memory is the information stored

More information

JUN / 04 VERSION 7.0

JUN / 04 VERSION 7.0 JUN / 04 VERSION 7.0 PVI EWEXEME www.smar.com Specifications and information are subject to change without notice. Up-to-date address information is available on our website. web: www.smar.com/contactus.asp

More information

PIV Programming. Today s Contents: 1. Matlab Programming 2. An example of PIV in Matlab code 3. EDPIV 4. PIV plugin for ImageJ 5.

PIV Programming. Today s Contents: 1. Matlab Programming 2. An example of PIV in Matlab code 3. EDPIV 4. PIV plugin for ImageJ 5. PIV Programming Last Class: 1. Introduction of μpiv 2. Considerations of Microscopy in μpiv 3. Depth of Correlation 4. Physics of Particles in Micro PIV 5. Measurement Errors 6. Special Processing Methods

More information

Scheme Quick Reference

Scheme Quick Reference Scheme Quick Reference COSC 18 Fall 2003 This document is a quick reference guide to common features of the Scheme language. It is not intended to be a complete language reference, but it gives terse summaries

More information

Fundamental Data Types. CSE 130: Introduction to Programming in C Stony Brook University

Fundamental Data Types. CSE 130: Introduction to Programming in C Stony Brook University Fundamental Data Types CSE 130: Introduction to Programming in C Stony Brook University Program Organization in C The C System C consists of several parts: The C language The preprocessor The compiler

More information

Computing and Statistical Data Analysis Lecture 3

Computing and Statistical Data Analysis Lecture 3 Computing and Statistical Data Analysis Lecture 3 Type casting: static_cast, etc. Basic mathematical functions More i/o: formatting tricks Scope, namspaces Functions 1 Type casting Often we need to interpret

More information

Computing Fundamentals

Computing Fundamentals Computing Fundamentals Salvatore Filippone salvatore.filippone@uniroma2.it 2012 2013 (salvatore.filippone@uniroma2.it) Computing Fundamentals 2012 2013 1 / 18 Octave basics Octave/Matlab: f p r i n t f

More information

Scheme Quick Reference

Scheme Quick Reference Scheme Quick Reference COSC 18 Winter 2003 February 10, 2003 1 Introduction This document is a quick reference guide to common features of the Scheme language. It is by no means intended to be a complete

More information

Introduction to C Language

Introduction to C Language Introduction to C Language Instructor: Professor I. Charles Ume ME 6405 Introduction to Mechatronics Fall 2006 Instructor: Professor Charles Ume Introduction to C Language History of C Language In 1972,

More information

Basic types and definitions. Chapter 3 of Thompson

Basic types and definitions. Chapter 3 of Thompson Basic types and definitions Chapter 3 of Thompson Booleans [named after logician George Boole] Boolean values True and False are the result of tests are two numbers equal is one smaller than the other

More information

Single row numeric functions

Single row numeric functions Single row numeric functions Oracle provides a lot of standard numeric functions for single rows. Here is a list of all the single row numeric functions (in version 10.2). Function Description ABS(n) ABS

More information

BIL 104E Introduction to Scientific and Engineering Computing. Lecture 4

BIL 104E Introduction to Scientific and Engineering Computing. Lecture 4 BIL 104E Introduction to Scientific and Engineering Computing Lecture 4 Introduction Divide and Conquer Construct a program from smaller pieces or components These smaller pieces are called modules Functions

More information

CSCE 110 PROGRAMMING FUNDAMENTALS

CSCE 110 PROGRAMMING FUNDAMENTALS CSCE 110 PROGRAMMING FUNDAMENTALS WITH C++ Prof. Amr Goneid AUC Part 2. Overview of C++ Prof. Amr Goneid, AUC 1 Overview of C++ Prof. Amr Goneid, AUC 2 Overview of C++ Historical C++ Basics Some Library

More information

C++, How to Program. Spring 2016 CISC1600 Yanjun Li 1

C++, How to Program. Spring 2016 CISC1600 Yanjun Li 1 Chapter 6 Function C++, How to Program Deitel & Deitel Spring 2016 CISC1600 Yanjun Li 1 Function A function is a collection of statements that performs a specific task - a single, well-defined task. Divide

More information

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS HOUSEKEEPING Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS CONTOURS! Self-Paced Lab Due Friday! WEEK SIX Lecture RASTER ANALYSES Joe Wheaton YOUR EXCERCISE Integer Elevations Rounded up

More information

C-LANGUAGE CURRICULAM

C-LANGUAGE CURRICULAM C-LANGUAGE CURRICULAM Duration: 2 Months. 1. Introducing C 1.1 History of C Origin Standardization C-Based Languages 1.2 Strengths and Weaknesses Of C Strengths Weaknesses Effective Use of C 2. C Fundamentals

More information

About Codefrux While the current trends around the world are based on the internet, mobile and its applications, we try to make the most out of it. As for us, we are a well established IT professionals

More information

Electronic Device Description Language

Electronic Device Description Language International Standards Electronic Device Description Language Martin Zielinski 1 FOUNDATION fieldbus & Standards OSI Model USER LAYER USER LAYER DD IEC 61804 USER LAYER DD IEC 61804 7 APPLICATION LAYER

More information

for (i=1; i<=100000; i++) { x = sqrt (y); // square root function cout << x+i << endl; }

for (i=1; i<=100000; i++) { x = sqrt (y); // square root function cout << x+i << endl; } Ex: The difference between Compiler and Interpreter The interpreter actually carries out the computations specified in the source program. In other words, the output of a compiler is a program, whereas

More information

A. Matrix-wise and element-wise operations

A. Matrix-wise and element-wise operations USC GSBME MATLAB CLASS Reviewing previous session Second session A. Matrix-wise and element-wise operations A.1. Matrix-wise operations So far we learned how to define variables and how to extract data

More information

JME Language Reference Manual

JME Language Reference Manual JME Language Reference Manual 1 Introduction JME (pronounced jay+me) is a lightweight language that allows programmers to easily perform statistic computations on tabular data as part of data analysis.

More information

Introduction to Programming and 4Algorithms Abstract Types. Uwe R. Zimmer - The Australian National University

Introduction to Programming and 4Algorithms Abstract Types. Uwe R. Zimmer - The Australian National University Introduction to Programming and 4Algorithms 2015 Uwe R. Zimmer - The Australian National University [ Thompson2011 ] Thompson, Simon Haskell - The craft of functional programming Addison Wesley, third

More information

(5) ifit/math: «One Class to do some Math» God damn it! Just compute it! ifit workshop NBI Jan 2012 Math - 1

(5) ifit/math: «One Class to do some Math» God damn it! Just compute it! ifit workshop NBI Jan 2012 Math - 1 (5) ifit/math: «One Class to do some Math» God damn it! Just compute it! ifit workshop NBI Jan 2012 Math - 1 Math: perform mathematical operations seamlessly As we have seen there is a unique,

More information

Blair, Steven Macpherson (2015) Beckhoff and TwinCAT 3 System Development Guide. [Report], Strathprints

Blair, Steven Macpherson (2015) Beckhoff and TwinCAT 3 System Development Guide. [Report], Strathprints Blair, Steven Macpherson (2015) Beckhoff and TwinCAT 3 System Development Guide. [Report], This version is available at https://strathprints.strath.ac.uk/55254/ Strathprints is designed to allow users

More information

CT 229 Java Syntax Continued

CT 229 Java Syntax Continued CT 229 Java Syntax Continued 06/10/2006 CT229 Lab Assignments Due Date for current lab assignment : Oct 8 th Before submission make sure that the name of each.java file matches the name given in the assignment

More information

Engineering Problem Solving with C++, 3e Chapter 2 Test Bank

Engineering Problem Solving with C++, 3e Chapter 2 Test Bank 1. Match each of the following data types with literal constants of that data type. A data type can be used more than once. A. integer B 1.427E3 B. double D "Oct" C. character B -63.29 D. string F #Hashtag

More information

Matlab Workshop I. Niloufer Mackey and Lixin Shen

Matlab Workshop I. Niloufer Mackey and Lixin Shen Matlab Workshop I Niloufer Mackey and Lixin Shen Western Michigan University/ Syracuse University Email: nil.mackey@wmich.edu, lshen03@syr.edu@wmich.edu p.1/13 What is Matlab? Matlab is a commercial Matrix

More information

1001ICT Introduction To Programming Lecture Notes

1001ICT Introduction To Programming Lecture Notes 1001ICT Introduction To Programming Lecture Notes School of Information and Communication Technology Griffith University Semester 1, 2015 1 M Environment console M.1 Purpose This environment supports programming

More information

Implementation of a simple calculator using flex and bison

Implementation of a simple calculator using flex and bison Implementation of a simple calculator using flex and bison Somasundaram Meiyappan Abstract: A simple calculator program is created using the compiler tools flex and bison - and using the C programming

More information

Macro Programming Reference Guide. Copyright 2005 Scott Martinez

Macro Programming Reference Guide. Copyright 2005 Scott Martinez Macro Programming Reference Guide Copyright 2005 Scott Martinez Section 1. Section 2. Section 3. Section 4. Section 5. Section 6. Section 7. What is macro programming What are Variables What are Expressions

More information

Index. Symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index. Symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Symbols + addition operator?: bincond operator /* */ comments - multi-line -- comments - single-line # deference operator (map). deference operator

More information

Data Parallel Execution Model

Data Parallel Execution Model CS/EE 217 GPU Architecture and Parallel Programming Lecture 3: Kernel-Based Data Parallel Execution Model David Kirk/NVIDIA and Wen-mei Hwu, 2007-2013 Objective To understand the organization and scheduling

More information

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery. HTML5/CSS3/JavaScript Programming Course Summary Description This class is designed for students that have experience with basic HTML concepts that wish to learn about HTML Version 5, Cascading Style Sheets

More information

Introduction to GNU-Octave

Introduction to GNU-Octave Introduction to GNU-Octave Dr. K.R. Chowdhary, Professor & Campus Director, JIETCOE JIET College of Engineering Email: kr.chowdhary@jietjodhpur.ac.in Web-Page: http://www.krchowdhary.com July 11, 2016

More information

KLiC C Programming. (KLiC Certificate in C Programming)

KLiC C Programming. (KLiC Certificate in C Programming) KLiC C Programming (KLiC Certificate in C Programming) Turbo C Skills: The C Character Set, Constants, Variables and Keywords, Types of C Constants, Types of C Variables, C Keywords, Receiving Input, Integer

More information

Methods: A Deeper Look

Methods: A Deeper Look 1 2 7 Methods: A Deeper Look OBJECTIVES In this chapter you will learn: How static methods and variables are associated with an entire class rather than specific instances of the class. How to use random-number

More information

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS Contents Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS 1.1. INTRODUCTION TO COMPUTERS... 1 1.2. HISTORY OF C & C++... 3 1.3. DESIGN, DEVELOPMENT AND EXECUTION OF A PROGRAM... 3 1.4 TESTING OF PROGRAMS...

More information

CGS 3066: Spring 2015 JavaScript Reference

CGS 3066: Spring 2015 JavaScript Reference CGS 3066: Spring 2015 JavaScript Reference Can also be used as a study guide. Only covers topics discussed in class. 1 Introduction JavaScript is a scripting language produced by Netscape for use within

More information

SECOND EDITION SAMPLE CHAPTER. First edition by Daryl K. Harms Kenneth M. McDonald. Naomi R. Ceder MANNING

SECOND EDITION SAMPLE CHAPTER. First edition by Daryl K. Harms Kenneth M. McDonald. Naomi R. Ceder MANNING SECOND EDITION SECOND EDITION Covers Python 3 SAMPLE CHAPTER First edition by Daryl K. Harms Kenneth M. McDonald Naomi R. Ceder MANNING The Quick Python Book Second Edition by Naomi R. Ceder Chapter 4

More information

Finding, Starting and Using Matlab

Finding, Starting and Using Matlab Variables and Arrays Finding, Starting and Using Matlab CSC March 6 &, 9 Array: A collection of data values organized into rows and columns, and known by a single name. arr(,) Row Row Row Row 4 Col Col

More information

bloortls Reference Manual

bloortls Reference Manual bloortls Reference Manual Peter Burrows, Zhibo (Andy) Wan, Apurv Gaurav, Pinhong He phb2114, zw2327, ag3596, ph2482 EE/CE Department, Columbia University June 15, 2015 1 Introduction The Behavioral Language

More information

INTERNATIONAL STANDARD

INTERNATIONAL STANDARD INTERNATIONAL STANDARD IEC 61804-3 Edition 2.0 2010-11 colour inside Function blocks (FB) for process control Part 3: Electronic Device Description Language (EDDL) INTERNATIONAL ELECTROTECHNICAL COMMISSION

More information

Programming Language. Functions. Eng. Anis Nazer First Semester

Programming Language. Functions. Eng. Anis Nazer First Semester Programming Language Functions Eng. Anis Nazer First Semester 2016-2017 Definitions Function : a set of statements that are written once, and can be executed upon request Functions are separate entities

More information

C Programs: Simple Statements and Expressions

C Programs: Simple Statements and Expressions .. Cal Poly CPE 101: Fundamentals of Computer Science I Alexander Dekhtyar.. C Programs: Simple Statements and Expressions C Program Structure A C program that consists of only one function has the following

More information

Hava Language Technical Reference

Hava Language Technical Reference Hava Language Technical Reference April 25, 2009 (draft) Steven T. Hackman, Loren K. Platzman H. Milton Stewart School of Industrial and Systems Engineering Georgia Institute of Technology Hava is a numerical

More information

PROFIBUS Guideline Order No

PROFIBUS Guideline Order No PROCESS FIELD BUS PROFIBUS Guideline Specification for PROFIBUS Device Description and Device Integration Volume 1: GSD V 3.1 Volume 2: EDDL V 1.1 Volume 3: FDT V 1.1 January 2001 PROFIBUS Guideline Order

More information

ArcGIS API for JavaScript: Using Arcade with your Apps. Kristian Ekenes & David Bayer

ArcGIS API for JavaScript: Using Arcade with your Apps. Kristian Ekenes & David Bayer ArcGIS API for JavaScript: Using Arcade with your Apps Kristian Ekenes & David Bayer Session Goals Overview of Arcade What is Arcade Why use Arcade Arcade Language Variables, Functions, Loops, Conditional

More information

Programming for Engineers in Python. Recitation 2

Programming for Engineers in Python. Recitation 2 Programming for Engineers in Python Recitation 2 Plan Range For loop While loop Lists Modules Operations Arithmetic Operations: + plus - minus * multiply / divide (int / float) % modulo (remainder) **

More information

Automating Distributed Raster Analysis using the Image Server REST API. Jie Zhang Zikang Zhou Demo Theater 2 - Oasis 1

Automating Distributed Raster Analysis using the Image Server REST API. Jie Zhang Zikang Zhou Demo Theater 2 - Oasis 1 Automating Distributed Raster Analysis using the Image Server REST API Jie Zhang Zikang Zhou Demo Theater 2 - Oasis 1 What is Distributed Raster Analysis? From 10.5, ArcGIS has a new way to create and

More information

Absolute C++ Walter Savitch

Absolute C++ Walter Savitch Absolute C++ sixth edition Walter Savitch Global edition This page intentionally left blank Absolute C++, Global Edition Cover Title Page Copyright Page Preface Acknowledgments Brief Contents Contents

More information

for (i=1; i<=100000; i++) { x = sqrt (y); // square root function cout << x+i << endl; }

for (i=1; i<=100000; i++) { x = sqrt (y); // square root function cout << x+i << endl; } Ex: The difference between Compiler and Interpreter The interpreter actually carries out the computations specified in the source program. In other words, the output of a compiler is a program, whereas

More information

0. Overview of this standard Design entities and configurations... 5

0. Overview of this standard Design entities and configurations... 5 Contents 0. Overview of this standard... 1 0.1 Intent and scope of this standard... 1 0.2 Structure and terminology of this standard... 1 0.2.1 Syntactic description... 2 0.2.2 Semantic description...

More information

1. Match each of the following data types with literal constants of that data type. A data type can be used more than once. A.

1. Match each of the following data types with literal constants of that data type. A data type can be used more than once. A. Engineering Problem Solving With C++ 4th Edition Etter TEST BANK Full clear download (no error formating) at: https://testbankreal.com/download/engineering-problem-solving-with-c-4thedition-etter-test-bank/

More information

Programming for Engineers in Python. Recitation 3

Programming for Engineers in Python. Recitation 3 Programming for Engineers in Python Recitation 3 Plan Modules / Packages Tuples Mutable / Imutable Dictionaries Functions: Scope Call by Ref / Call by Val Frequency Counter Python Code Hierarchy Statement

More information

Script started on Thu 25 Aug :00:40 PM CDT

Script started on Thu 25 Aug :00:40 PM CDT Script started on Thu 25 Aug 2016 02:00:40 PM CDT < M A T L A B (R) > Copyright 1984-2014 The MathWorks, Inc. R2014a (8.3.0.532) 64-bit (glnxa64) February 11, 2014 To get started, type one of these: helpwin,

More information

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. TWO MARKS

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. TWO MARKS SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. COMPUTER SCIENCE - STAR OFFICE TWO MARKS LESSON I 1. What is meant by text editing? 2. How to work with multiple documents in StarOffice Writer? 3. What is the

More information

FELT(4fe) Finite Element Package FELT(4fe)

FELT(4fe) Finite Element Package FELT(4fe) NAME felt finite element problem description file format DESCRIPTION The felt(4fe) file format is used by the programs of the finite element package, felt(1fe), velvet(1fe), and burlap(1fe) to describe

More information

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University Unit 1 Programming Language and Overview of C 1. State whether the following statements are true or false. a. Every line in a C program should end with a semicolon. b. In C language lowercase letters are

More information

엄현상 (Eom, Hyeonsang) School of Computer Science and Engineering Seoul National University COPYRIGHTS 2017 EOM, HYEONSANG ALL RIGHTS RESERVED

엄현상 (Eom, Hyeonsang) School of Computer Science and Engineering Seoul National University COPYRIGHTS 2017 EOM, HYEONSANG ALL RIGHTS RESERVED 엄현상 (Eom, Hyeonsang) School of Computer Science and Engineering Seoul National University COPYRIGHTS 2017 EOM, HYEONSANG ALL RIGHTS RESERVED Outline - Function Definitions - Function Prototypes - Data

More information

C++ Programming: From Problem Analysis to Program Design, Third Edition

C++ Programming: From Problem Analysis to Program Design, Third Edition C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 2: Basic Elements of C++ Objectives (continued) Become familiar with the use of increment and decrement operators Examine

More information

Sprite an animation manipulation language Language Reference Manual

Sprite an animation manipulation language Language Reference Manual Sprite an animation manipulation language Language Reference Manual Team Leader Dave Smith Team Members Dan Benamy John Morales Monica Ranadive Table of Contents A. Introduction...3 B. Lexical Conventions...3

More information

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix PGJC4_JSE8_OCA.book Page ix Monday, June 20, 2016 2:31 PM Contents Figures Tables Examples Foreword Preface xix xxi xxiii xxvii xxix 1 Basics of Java Programming 1 1.1 Introduction 2 1.2 Classes 2 Declaring

More information

Some elements for Matlab programming

Some elements for Matlab programming Some elements for Matlab programming Nathalie Thomas 2018 2019 Matlab, which stands for the abbreviation of MATrix LABoratory, is one of the most popular language for scientic computation. The classical

More information

Pace University. Fundamental Concepts of CS121 1

Pace University. Fundamental Concepts of CS121 1 Pace University Fundamental Concepts of CS121 1 Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University October 12, 2005 This document complements my tutorial Introduction

More information

Review of the C Programming Language for Principles of Operating Systems

Review of the C Programming Language for Principles of Operating Systems Review of the C Programming Language for Principles of Operating Systems Prof. James L. Frankel Harvard University Version of 7:26 PM 4-Sep-2018 Copyright 2018, 2016, 2015 James L. Frankel. All rights

More information

Sir Muhammad Naveed. Arslan Ahmed Shaad ( ) Muhammad Bilal ( )

Sir Muhammad Naveed. Arslan Ahmed Shaad ( ) Muhammad Bilal ( ) Sir Muhammad Naveed Arslan Ahmed Shaad (1163135 ) Muhammad Bilal ( 1163122 ) www.techo786.wordpress.com CHAPTER: 2 NOTES:- VARIABLES AND OPERATORS The given Questions can also be attempted as Long Questions.

More information

EASI Modeling in Focus

EASI Modeling in Focus EASI Modeling in Focus TUTORIAL EASI Modeling in Focus operates on a single input file, which you select from the drop-down list in the Modeling window. The basic steps required to run a simple model are

More information

Chapter 4: Basic C Operators

Chapter 4: Basic C Operators Chapter 4: Basic C Operators In this chapter, you will learn about: Arithmetic operators Unary operators Binary operators Assignment operators Equalities and relational operators Logical operators Conditional

More information

C Programming Multiple. Choice

C Programming Multiple. Choice C Programming Multiple Choice Questions 1.) Developer of C language is. a.) Dennis Richie c.) Bill Gates b.) Ken Thompson d.) Peter Norton 2.) C language developed in. a.) 1970 c.) 1976 b.) 1972 d.) 1980

More information

LAB 1 General MATLAB Information 1

LAB 1 General MATLAB Information 1 LAB 1 General MATLAB Information 1 General: To enter a matrix: > type the entries between square brackets, [...] > enter it by rows with elements separated by a space or comma > rows are terminated by

More information

(Inter)Ac*ve Scripts. Sta*c Program Structure 1/26/15. Crea+ve Coding & Genera+ve Art in Processing 2 Ira Greenberg, Dianna Xu, Deepak Kumar

(Inter)Ac*ve Scripts. Sta*c Program Structure 1/26/15. Crea+ve Coding & Genera+ve Art in Processing 2 Ira Greenberg, Dianna Xu, Deepak Kumar (Inter)Ac*ve Scripts Crea+ve Coding & Genera+ve Art in Processing 2 Ira Greenberg, Dianna Xu, Deepak Kumar Slides revised by Michael Goldwasser Sta*c Program Structure // Create and set canvas size(width,

More information

Programming for Engineers in Python. Recitation 3 Functions

Programming for Engineers in Python. Recitation 3 Functions Programming for Engineers in Python Recitation 3 Functions Plan Short review FOR and Lists Python references Mutable vs. immutable data types List references Functions Scope Call by assignment Global variables

More information

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview

Introduction to Visual Basic and Visual C++ Introduction to Java. JDK Editions. Overview. Lesson 13. Overview Introduction to Visual Basic and Visual C++ Introduction to Java Lesson 13 Overview I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Overview JDK Editions Before you can write and run the simple

More information

Language Reference Manual simplicity

Language Reference Manual simplicity Language Reference Manual simplicity Course: COMS S4115 Professor: Dr. Stephen Edwards TA: Graham Gobieski Date: July 20, 2016 Group members Rui Gu rg2970 Adam Hadar anh2130 Zachary Moffitt znm2104 Suzanna

More information

CSE 591: GPU Programming. Programmer Interface. Klaus Mueller. Computer Science Department Stony Brook University

CSE 591: GPU Programming. Programmer Interface. Klaus Mueller. Computer Science Department Stony Brook University CSE 591: GPU Programming Programmer Interface Klaus Mueller Computer Science Department Stony Brook University Compute Levels Encodes the hardware capability of a GPU card newer cards have higher compute

More information

6-1 (Function). (Function) !*+!"#!, Function Description Example. natural logarithm of x (base e) rounds x to smallest integer not less than x

6-1 (Function). (Function) !*+!#!, Function Description Example. natural logarithm of x (base e) rounds x to smallest integer not less than x (Function) -1.1 Math Library Function!"#! $%&!'(#) preprocessor directive #include !*+!"#!, Function Description Example sqrt(x) square root of x sqrt(900.0) is 30.0 sqrt(9.0) is 3.0 exp(x) log(x)

More information

About Codefrux While the current trends around the world are based on the internet, mobile and its applications, we try to make the most out of it. As for us, we are a well established IT professionals

More information

LAB 7 FUNCTION PART 2

LAB 7 FUNCTION PART 2 LAB 7 FUNCTION PART 2 School of Computer and Communication Engineering Universiti Malaysia Perlis 1 OBJECTIVES 1. To differentiate the file scope and block scope. 2. To write recursive function. 3. To

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

The Graphing Calculator

The Graphing Calculator Chapter 23 The Graphing Calculator To display the calculator, select Graphing Calculator from the Window menu. The calculator is displayed in front of the other windows. Resize or re-position the Graphing

More information

Functions and an Introduction to Recursion Pearson Education, Inc. All rights reserved.

Functions and an Introduction to Recursion Pearson Education, Inc. All rights reserved. 1 6 Functions and an Introduction to Recursion 2 Form ever follows function. Louis Henri Sullivan E pluribus unum. (One composed of many.) Virgil O! call back yesterday, bid time return. William Shakespeare

More information

Function Example. Function Definition. C Programming. Syntax. A small program(subroutine) that performs a particular task. Modular programming design

Function Example. Function Definition. C Programming. Syntax. A small program(subroutine) that performs a particular task. Modular programming design What is a Function? C Programming Lecture 8-1 : Function (Basic) A small program(subroutine) that performs a particular task Input : parameter / argument Perform what? : function body Output t : return

More information

PYTHON- AN INNOVATION

PYTHON- AN INNOVATION PYTHON- AN INNOVATION As per CBSE curriculum Class 11 Chapter- 2 By- Neha Tyagi PGT (CS) KV 5 Jaipur(II Shift) Jaipur Region Python Introduction In order to provide an input, process it and to receive

More information

Industrial Automation course

Industrial Automation course Industrial Automation course Lesson 7 PLC Structured Text Politecnico di Milano Universidad de Monterrey, July 2015, A. L. Cologni 1 Introduction The Structured Text is the higher level IEC 61131 programming

More information

Numerical Modelling in Fortran: day 2. Paul Tackley, 2017

Numerical Modelling in Fortran: day 2. Paul Tackley, 2017 Numerical Modelling in Fortran: day 2 Paul Tackley, 2017 Goals for today Review main points in online materials you read for homework http://www.cs.mtu.edu/%7eshene/courses/cs201/notes/intro.html More

More information

Highly Optimized Mathematical Functions for the Itanium Processor

Highly Optimized Mathematical Functions for the Itanium Processor Highly Optimized Mathematical Functions for the Itanium Processor! Speaker: Shane Story! Software Engineer! CSL Numerics Group! Corporation Copyright Copyright 2001 2001 Corporation. Agenda! Itanium Processor

More information

Review of the C Programming Language

Review of the C Programming Language Review of the C Programming Language Prof. James L. Frankel Harvard University Version of 11:55 AM 22-Apr-2018 Copyright 2018, 2016, 2015 James L. Frankel. All rights reserved. Reference Manual for the

More information

Chap 6 Function Define a function, which can reuse a piece of code, just with a few different values.

Chap 6 Function Define a function, which can reuse a piece of code, just with a few different values. Chap 6 Function Define a function, which can reuse a piece of code, just with a few different values. def tax(bill): """Adds 8% tax to a restaurant bill.""" bill *= 1.08 print "With tax: %f" % bill return

More information