![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Q Language Expressions Topic Summary: Created On: 31-Aug-2005 18:02 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Under the advanced condition tab, is the following a valid condition:
$fullPathName = "ArchitecturePkg*". Shouldn't this iterate those with ArchitecturePkg in their path? When I type the full path name in, it works. Does the * mean that it allows anything to follow? |
|
![]() |
|
![]() |
|
Hi, Sue
The advanced tab allows you to enter a Q Language expression, and in Q Language the "=" operator is just that - it tests for equality; wildcards are not supported, as far as I know. Instead, try entering the following in the advanced condition tab: [CODE]match(`^ArchitecturePkg`, $fullPathName)[/CODE] This will evaluate to True for any $fullPathName that starts with the string "ArchitecturePkg". Note that the quotes around the first parameter are the grave accent ` character, not the usual single ' or double " quote. For more information, look at the Q Language guide, installed in your ReporterPLUS folder. regards, Simon ------------------------- Simon Morrish simon.morrish@eu.panasonic.com http://panasonic.co.uk Panasonic ideas for life |
|
![]() |
|
![]() |
|
Thank you very much Simon! I will try that out.
|
|
![]() |
|
![]() |
|
How does the trim function work in Q?
|
|
![]() |
|
![]() |
|
Hi again
In the Q Language guide, it states: "This [the trim function] returns the string s with all leading and trailing spaces, tabs, formfeeds, carriage returns, and newlines removed." In other words, it returns your string with all the whitespace characters removed from the beginning and the end. Simple! cheers, Simon ------------------------- Simon Morrish simon.morrish@eu.panasonic.com http://panasonic.co.uk Panasonic ideas for life |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Q Language Expressions
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.