Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 9:35 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Display variables
PostPosted: May 15th, 2012, 12:19 pm 
Offline

Joined: February 11th, 2005, 1:03 am
Posts: 185
Location: Yorkshire UK
Opus: Pro 9.3
OS: Windows 7
Hello

I have a counter "i" in a for loop.

In order to work out when to display
information at a certain increment
I would like to display "i" on the screen
(for my own information) when the programme is running. :roll:

I would like it at the bottom left but I
can't find how to do this in the very helpful
help files. :shock:

Any ideas please? :)

_________________
I'd like to begin by saying, " It gives me great pleasure.....
Plato award winner 1999.
Several computers.
HP - Phenom Quad 2.3Ghz; RAM 4Gb, Windows 7 - 64 bit; 3Tb collective Hard disks; Nvidia Geforce 9600 GSO; Opus 9.3; Tascam2488


For this message Kingell has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Display variables
PostPosted: May 15th, 2012, 12:35 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
1. create a page / publication variable.

Easiest way is to create text-box and right click in the box and use insert variable > new button. Give it a name and select type number.

Then your for loop looks like this:

Code:
for (i=0;i<100;i++)
{
wait(1)
}


Note the absence of the standard var keyword as you're using the variable on-screen it can't be locally scoped.

I also suggest, using a different naming notation for local and global (page / publication) variables to make them easier to identify. Such as myLoop.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


For this message mackavi has been thanked by : Kingell


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group