Variable assignment
Collapse
This topic is closed.
X
X
-
Alain ChappuisTags: None -
Norman Peelman
Re: Variable assignment
"Alain Chappuis" <Alain.Chappuis @medecine.unige .ch.pouriel> wrote in message
news:416bc8dc$1 @nntp.unige.ch. ..[color=blue]
> Hello,
> I like to know how to affect a variable with a value like:
> <ESC>[1m (Assignment of color for terminal VT220)
>
> $vVar = 0x1b.... in exadecimal
>
> Thanks in advance!
>
> Alain
> --
> Alain Chappuis (Remove: pouriel to answer me in my address!)
> Université de Genève /Faculté de Médecine/Service Informatique
> http://www.sifm.unige.ch/presentation/alain.php[/color]
define('ESC',ch r(27).'[');
$vVar = ESC.'1m';
---
Norman
--
Avatar hosting at www.easyavatar.com
Comment
-
Alain Chappuis
Re: Variable assignment
Norman Peelman a écrit :[color=blue]
> "Alain Chappuis" <Alain.Chappuis @medecine.unige .ch.pouriel> wrote in message
> news:416bc8dc$1 @nntp.unige.ch. ..[/color]
[color=blue]
> define('ESC',ch r(27).'[');
>
> $vVar = ESC.'1m';[/color]
Thank you Norman!
AC
--
Alain Chappuis (Remove: pouriel to answer me in my address!)
Université de Genève /Faculté de Médecine/Service Informatique
Comment
Comment