Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

How to change or delete a property in YouOS IDE

The YouOS programming IDE is a fairly nice environment. But it is still in its infancies. A few functionalities are still lacking. For example, you can use the "New Property" to create a new function, variable, or metadata. But once it's created, there is no easy way to change it or even to delete it through the user interface.

The only way to change or delete a property is to examine the source code. You can edit the source code by clicking "Full Text". Find the property that you want to change or delete. The properties are listed in alphabetic order. Every property has two parts: the comment used by YouOS IDE and the property definition. For example:

//#property id="17370" name="myFunc" type="F" compiled_code="Y" read_only="N" is_inherited="N" category=""

/**
*
**/
function myFunc(x, y)
{

}

To change the category of the property, you only have to change the comment. To change the argument list, you only have to change the definition. To change the property name, you'll have to change the name in both parts. To delete the property all together, you'll also have to delete both parts.

Chieh Cheng
Sat, 18 Mar 2006 13:08:42 -0800

That's not exactly true, but we haven't done a good job in making it obvious, either. When you open up the property, there is an "Edit" link on the right side (next to the word 'Definition'), which takes you back to the original definition page. We can definitely make that more obvious, though; maybe by having a link next to 'New Property'. Don't delete open(), though :)

Thanks for using our stuff... as you can tell, it's still early, but your feedback is helping us to make it better.

--Jeff

Jeff
Sat, 18 Mar 2006 18:58:29 -0800

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 1 + 6?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

47 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2023. All Rights Reserved.