Digital Workshop

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Naming objects and variables
PostPosted: November 22nd, 2007, 12:17 pm 
Offline

Joined: March 20th, 2006, 11:05 am
Posts: 2
I have just spent a couple of hours sorting out a problem displaying a variable (Welldone) in a text box. In preview the variable wasn't displayed and this replaced it [ilmObject Welldone]. I eventually realised that I had inadvertantly given the variable and an object the same name. After renaming the variable it displayed as it should. Thought it might help if anyone had a similar problem.


For this message Charles Polkey has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: November 23rd, 2007, 12:18 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Charles,

From a progammer's perspective - try using a different prefix for different aspect especially variables for example use $variable or myVariable this will help avoid this problem.

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


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 23rd, 2007, 7:12 pm 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
I start the name of a variable with v (eg vFix), the name of a text box with t (tFix), a vector with v (vFix), a button with b (bFix), etc.
Make the second letter a capital to make reading easier.
Then you will recognize things in Opus for what they are, both in the organizer and in script.

Paul


For this message Paul has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: November 26th, 2007, 10:32 am 
Offline

Joined: March 20th, 2006, 11:05 am
Posts: 2
Thanks guys - helpful stuff to a non programmer!


For this message Charles Polkey has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 15 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