Project

General

Profile

Actions

Bug #2896

closed

StringConstant actor will not accept strings with '$'

Added by Dan Higgins almost 17 years ago. Updated over 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
07/23/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2896

Description

Try entering a string like 'foo$bar' in the StringConstant actor. It will give an error trying to evaluate 'bar' as a parameter. It looks like it is evaluating the string using Ptolemy's expression language.

I think this is because Kepler's StringActor is NOT the same as the Ptolemy StringActor. It has been modified to allow the string to be set to a filename and I think this causes an evaluation of the string. This may be useful for setting filenames, but it causes problems with some strings.

Actions #1

Updated by Dan Higgins over 16 years ago

Revised to use the standard 'StringConstant' from Ptolemy and documentation updated to note that '$$' can be used to insert a single dollar sign in the text.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 2896

Actions

Also available in: Atom PDF