Sathish,

Or, if you want to make life a little easier for the next poor guy who
gets to maintain the code:

------------------------------------
ESC = CHAR(27)
MeaningfulNameForString = "[44m"

ScreenCommand = ESC:MeaningfulNameForString

CRT ScreenCommand
------------------------------------



Regards


Mike


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dan McGrath
Sent: Thursday, 9 June 2011 5:14 p.m.
To: U2 Users List
Subject: Re: [U2] Logical error

In UniBasic, you could just do:

CRT CHAR(27):"[44m"



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of sathish
Sent: Wednesday, 8 June 2011 11:24 PM
To: [email protected]
Subject: [U2] Logical error

Hi,

   I am having problem in using escape sequence in UniBasic coding.I
cant use the following command in UniBasic code.

Command: echo -e "\033[44m".

If i use this command in UniBasic code it shows error for using "\".So
can you suggest any solution for using this command in UniBasic coding.

Thanks,
Sathish

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to