Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

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

[Thread Prev] [Thread Next]

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: 2d array maps?
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Thu, 20 Mar 2008 11:50:51 -0500
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;

On Wed, 19 Mar 2008 23:07:01 -0500, Julio Dominguez 
<juliodominguezm@xxxxxxxxx> wrote:

> is there any way i can create 2d array maps in MW Pro?


sure:

to setmd :i :j :v
make (word "x. :i ". "j) :v
end

to getmd :i :j
output thing (word "x. :i ". "j)
end



setmd 1 1 100

setmd 2 2 200

show getmd 1 1
100

show getmd 2 2
200

Daniel
OpenWorld Learning





  • Previous by thread: 2d array maps?
  • Next by thread: problems with "touching" instruction

  • 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