|
[Sponsors] |
May 13, 2013, 11:04 |
Boolean with a string
|
#1 |
New Member
Mickael
Join Date: Apr 2013
Posts: 9
Rep Power: 13 |
Hi,
After some research i didn't find any answer about my questions. I would like to use Boolean "==" with a string. I tried it in my file : ! if ($BOTTOM_TOP=="X"){ ! $INTERSEC=1; !} (BOTTOM_TOP is a string) But it appears that PERL can't make it. Is there any way to achieve it ? Thanks |
|
May 13, 2013, 18:47 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
This is basic perl syntax - see http://perlmeme.org/howtos/syntax/comparing_values.html for details and the way to do it.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FLUENT not running | CFDFRED | ANSYS | 5 | April 20, 2017 01:53 |
[ansys fluent] problems of running ANSYS 12.1 fluent module | mkwang2006 | FLUENT | 3 | September 30, 2013 11:59 |
Info message -> Fluent does not start | Jenson | FLUENT | 0 | December 22, 2011 18:21 |
Additional Command Language -in Workbench! | Elvira_Coot | CFX | 11 | July 14, 2011 02:32 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |