Opened 3 years ago

Closed 3 years ago

#5 closed enhancement (fixed)

Allow REXX macros in the attributes of the GROUP tag

Reported by: gyoung Owned by: pr
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

This is needed to allow easy translation of the GROUP TITLE attribute (<GROUP TITLE="=("get_env group_title")"> where get_env is a REXX macro and group_title contains the string to be translated).

It might also be useful to allow it in the GROUP BLOCK to allow EXPANDED to be used conditionally.

Change History (4)

comment:1 by Andreas Schnellbacher, 3 years ago

Christian has created for the NEPMD project a preprocessor (parseenv.cmd) that expands vars in the .wis file (nepmd.wis) with values defined in .h files.

The syntax $(...) is used for WarpIN vars. parseenv.cmd uses the syntax %...% for text replacements. See the following files as an example:

http://svn.netlabs.org/repos/nepmd/trunk/src/wis/nepmd.wis
http://svn.netlabs.org/repos/nepmd/trunk/src/wis/nepmdpck.h
http://svn.netlabs.org/repos/nepmd/trunk/src/nls/wis/nepmdeng.h
http://svn.netlabs.org/repos/nepmd/trunk/bin/parseenv.cmd

comment:2 by pr, 3 years ago

Please supply a small sample .WIS file for testing.

comment:3 by pr, 3 years ago

Owner: set to pr
Status: newaccepted

comment:4 by pr, 3 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.