Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
 - Need support? Ask a question to our Community Support category.
 - Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
 - Be respectful, on topic and if you see a problem, Flag it.
 
If you would like to contact our Community Manager personally, feel free to  send a private message or an email.
How can I create string variables?
daniel_bailey                
                
                    Member Posts: 7 ✭                
            
                    I have a featurescript feature that takes a string as a precondition.
Is it possible to define a variable that is a string that I can pass into this feature?
I've tried setting the value of a variable to be something quoted in double quotes and single quotes, neither of these is accepted.
                        Is it possible to define a variable that is a string that I can pass into this feature?
I've tried setting the value of a variable to be something quoted in double quotes and single quotes, neither of these is accepted.
            Tagged:
            
        
0    
            
Answers
Owen S.
HWM-Water Ltd
will that mean we can have logical if statements (if..else..while) inside the variable's lambda function?
or is the lambda function limited?
I've rarely used lambda's in C#, so they are still kinda short hand (in-line) tricks to me...