Project Folders
Teacher Resources
Student Resources
How Do I?
Site Map
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, buvana <buvana.sriram@xxxxxxxxx>
Subject: Re: MIA, Ask an Expert: if statement
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Thu, 13 Oct 2011 09:39:08 -0500

from: buvana <buvana.sriram@xxxxxxxxx>
date: Thu Oct 13 07:51:18 2011
platform: PC
version: MicroWorlds Ex

how do i use multiple commands under an if stateme

First way:

if 1 = 1 [
 show "first
 show "second
 show "third

Second way:

if 1 = 1 [ show "first show "second show "third ]

Third way:

if 1 = 1 [myprocedure]

to myprocedure
 show "first
 show "second
 show "third

OpenWorld Learning

  • Previous by thread: MIA, Ask an Expert: if statement
  • Next by thread: It's Not Too Late to Learn How to Code

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.

    © copyright 2001 - 2008