Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
fred@kuzel.ca
Beginner


Joined: 25 Nov 2003
Posts: 15
Location: United Kingdom

PostPosted: Sat Aug 14, 2004 10:02 pm   

Version Control
 
I have distributed several scripts and want to set up a version control for all my classes.

Every root class should have a variable called @version.

How can I reference two different variables (myclass1.version, myclass2.version) with the same name (@version). I've tried using the class notation used when you create objects "{ZED|Mapping|getLocation}" however it doesn't seem to work for me when attempting to reference variables.


Uziel
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Aug 15, 2004 1:31 am   
 
Use the class character of '/'. For example
#ECHO @myclass1/version
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net