Project

General

Profile

Actions

Bug #3961

closed

RExpression2 - support arrayType(scalar, ....) tokens

Added by ben leinfelder over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
actors
Target version:
Start date:
04/07/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3961

Description

a "mixed" array token can be generated, as in the Ptolemy expression: {1, 2.3, true}
the type then looks like this:
arrayType(scalar,3)

The RExpression2 actor needs to handle this heterogeneous array accordingly (hopefully we can preserve the type information for each item in the array).
Note: if the array contains a string token, the entire array becomes an arrayType(string...)

Actions

Also available in: Atom PDF