Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Forum to exchange VA snippets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jun 25 2008 :  12:10:55 PM  Show Profile  Reply with Quote
Would be nice to have a forum where we could exchange useful (and of course useless) VA snippets.

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Jun 25 2008 :  5:40:16 PM  Show Profile  Reply with Quote
I have raised this idea myself more than once. I have also asked if anyone was interested in using it, but never saw much interest on the forum.

If you think you would use this I am happy to make a forum area and see what happens

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jun 25 2008 :  6:12:03 PM  Show Profile  Reply with Quote
Even nicer would be a wiki ala pinvoke.net (with va integration of cource), but hey, a forum is already a good start and definitely less work
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Jun 27 2008 :  11:07:50 AM  Show Profile  Reply with Quote
http://www.wholetomato.com/forum/forum.asp?FORUM_ID=35

It will be nice to see this actually get some use

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jun 27 2008 :  11:25:44 AM  Show Profile  Reply with Quote
Ok, lets share the wealth then. Might take some time to get people started in creating their own snippets though.
Btw: I had one requirement that would be nice in snippets: conditionals, like $if$param1$ $else$ $endif$ to create snippets with parameters and depending on their value include/exclude parts of the snippet.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Jul 05 2008 :  11:40:23 AM  Show Profile  Reply with Quote
I am very wary of trying to turn snippets into some form of programming language. Can you post an example showing what you are trying to do here?

Is having two forms of the same snippet an option, so you just pick the form that does what you want? I know this requires duplicating the snippet, and keeping the two forms in sync, but it is available now

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Jul 06 2008 :  08:30:01 AM  Show Profile  Reply with Quote
Yes, I think that multiple versions of the same snippet are an option.
What I was thinking about was something like "if the user provided a value for $parameterX$ then ..." so you can include/exclude parts of the snippet depending on user input.
But yes, its a long way, and probably the best way to implement this in the end is dynamic C#/VB.NET and a bit of reflection
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000