Introduction to touchdevelop if then else conditional statement Disclaimer: This document is provided “as-is”. Information and views expressed in this.

Slides:



Advertisements
Similar presentations
© 2012 YP Intellectual Property LLC. All rights reserved. YP, the YP logo and all other YP marks contained herein are trademarks of YP Intellectual Property.
Advertisements

Touchdevelop api api acceleromete r measure acceleration Disclaimer: This document is provided as-is. Information and views expressed in this document,
Programming with touchdevelop working with loaned phone what about them? Disclaimer: This document is provided as-is. Information and views expressed in.
Touchdevelop api api: web downloading and uploading Disclaimer: This document is provided as-is. Information and views expressed in this document, including.
Touchdevelop api api: tiles customize your home screen Disclaimer: This document is provided as-is. Information and views expressed in this document, including.
Touchdevelop api api: songs play music Disclaimer: This document is provided as-is. Information and views expressed in this document, including URL and.
Introduction to touchdevelop actions aka methods/functions/procedures Disclaimer: This document is provided “as-is”. Information and views expressed in.
physics engine + graphics
events reactive programming
Touchdevelop api api: location & maps show geo locations Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
access to everything over the web
Advanced topics in touchdevelop privacy transparent privacy control via information flow analysis Disclaimer: This document is provided “as-is”. Information.
touchdevelop vs. apps with Visual Studio
Libraries in touch develop Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet.
请点击以下链接下载WinHEC的演讲材料
© 2014 Microsoft Corporation. All rights reserved.
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
Programming with touchdevelop discovering discover touchdevelop Disclaimer: This document is provided “as-is”. Information and views expressed in this.
Programming with touchdevelop touchdevelop introduction Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
Touchdevelop api api: messaging sending sms Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Screens naming screens and concepts Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and.
Introduction to touchdevelop math basic arithmetic operations Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Touchdevelop api api: calendar when you are supposed to be somewhere Disclaimer: This document is provided “as-is”. Information and views expressed in.
Advanced topics in touchdevelop touchdevelop outlook ongoing research Disclaimer: This document is provided “as-is”. Information and views expressed in.
Programming with touchdevelop class mechanics working with a phone in the classroom Disclaimer: This document is provided “as-is”. Information and views.
Touchdevelop api api: contacts people you know Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
I/o inputs and outputs Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet.
Touchdevelop api api: leaderboard when you are supposed to be somewhere Disclaimer: This document is provided “as-is”. Information and views expressed.
Touchdevelop api api: sending electronic bits to people Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Introduction to touchdevelop statements overview Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Touchdevelop api api: social sharing Twitter, Facebook, … Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Programming with touchdevelop teacher’s checklist go over this before starting the course Disclaimer: This document is provided “as-is”. Information and.
Advanced topics in touchdevelop touchdevelop vs. apps with Visual Studio comparison Disclaimer: This document is provided “as-is”. Information and views.
I/o inputs and outputs Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet.
Introduction to touchdevelop ✿ art read only resources Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Touchdevelop api api gyroscope measure device rotation rate Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Social experience everything that is not coding Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Scripts what’s in a script – basic language concepts Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Scripts what’s in a script – basic language concepts Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
1 How to create a scheduled report from an Alma Analytics report Yoel Kortick Senior Librarian, Ex Libris.
Editing code mastering code input and navigation Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
MIS 3200 – Unit 3.2 Page_Load method AutoPostBack property of controls IsPostBack method of the Page object Understanding web page life cycle.
Introduction to touchdevelop values … and types Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Introduction to touchdevelop statements overview Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Programming with touchdevelop about RiSE who is RiSE at Microsoft Research Disclaimer: This document is provided “as-is”. Information and views expressed.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
Introduction to TouchDevelop Lesson 3 – Comments & Lists Created by S. Johnson
Screens naming screens and concepts v2.8 Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL.
Conditionals.
Basic Computer Skills Windows & the Internet vfu.bg/en/e-Learning/
[Insert your logo here.] For Marketing Professionals [Insert brief description of guide.]
Sage Franch | Technical Evangelist Susan Ibach | Technical Evangelist.
Programming with touchdevelop More to think about! Curiosity - what's inside the cube? Thank you Sarah!
Primary Contact Territory Category On-boarding Status Relationship Type Deal Territory Deal Confidentiality Potential conflict Conflict Cleared.
Basic coding… with TouchDevelop!!
Securely run and grow your business with Microsoft 365 Business
Which is right for your business, Office 365 or Microsoft 365?
Introduction to TouchDevelop
Which is right for your business, Office 365 or Microsoft 365?
Introduction to TouchDevelop
access to everything over the web
Presentation transcript:

introduction to touchdevelop if then else conditional statement Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.

introduction to touchdevelop if.. then.. o “if condition is true then do stuff” if balance < 0 then social→send (“me”, “empty!”, “”) o tell the phone to run code only if the condition is met

introduction to touchdevelop if.. then.. else.. o “if condition is true then do stuff else do other stuff” if balance < 0 then social→send (“me”, “empty!”, “”) else “enough balance!” →post to wall ☁

introduction to touchdevelop editing o tap + in the statement menu o tap the if button

introduction to touchdevelop editing o edit the condition o tap the hardware back button when done

introduction to touchdevelop exercises ►”play a random song; on shake, toggle the player between resume and pause” ►”ask the user a question (‘1+2=?’); if false, vibrate, if true play a victory song” wall→ask number to ask a number to the user ►”ask the user a duration in seconds; if the duration is between 0 and 5, vibrate for that amount of seconds” ☀ you can add an if statement inside of then or else.

introduction to touchdevelop true/false maths o known as Boolean logic o a Boolean condition may be true or false ortruefalse true falsetruefalse andtruefalse true false nottruefalse true

introduction to touchdevelop exercises ► true and false = ? ► false or true = ? ► not true = ? ► true or not true = ? ► not true and not false = ? ► not true or not false= ? in doubt, try it out on the phone…

introduction to touchdevelop title o item 1 o item 2 song→post to wall ☀ anecdote ☁ (link to sample) ► an exercise ✿ a reference