Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Intent 3.3 Immediate Window Double Quote Bug

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
337 Views, 2 Replies

Intent 3.3 Immediate Window Double Quote Bug

I've noticed the following inconsistency with the Immediate Window with Intent 3.3.

Consider the following code:
{code}
Rule FrameProp As String
com_msgbox("""")
Return """"
End Rule
{code}

The msgbox output is attached as an image. The immediate window produces the following output:
{code}
Intent >FrameProp
--> """"
{code}

Why does the immediate window produce a double-double quote here? The first double quote and last double quote signify that a String was returned. But there's no need for it to signify the one double quote that is returned by the Rule as two double quotes.

TLDR: The Msgbox is correct. The immediate window is not.

Is this a bug?
2 REPLIES 2
Message 2 of 3
major_xu
in reply to: Anonymous

Intent syntax requires four quotes to represent a single-quote string. The message box displays the actual string ("), while immediate window shows the formula for a string ("""").

The behavior is as designed.
Message 3 of 3
Anonymous
in reply to: Anonymous

Alright, thanks.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report