🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tim Lengel Thu, 18 Apr 1996 23:33
Re: MAKING "ECHO OFF" SIL
#4756
Author: Tim Lengel
Date: Thu, 18 Apr 1996 23:33
33 lines
1606 bytes
In <Dq29My.Lrq@iglou.com>, on 04/18/96 at 02:01 PM,
   Barry Lemon <blemon@IGLOU2.IGLOU.COM> said:

>In a message dated 04-17-96, tim@secant.com said to All:

>>Make sure the @echo off is in single quotes.  Rexx will return an error if
>>it is not.

>PMFJI, but I'm reasonably certain that single or double quotes will work
>the same.  But who wants to hit the shift key all the time if you don't
>have too?

Yes.  I prefer single quotes because they seem less of a clutter to me so I
unintentionally made it sound like only single quotes could work.  Sorry.
Double quotes work too.  This is semi-useful if you need to pass a single
quote but not necessary since a double single quote between single quotes
becomes a single single quote(tongue twister?!).  In other words the OS/2
command:

 echo don't do that!

can be called from REXX in the following two ways(among others):

 "echo don't do that!"
or
 'echo don''t do that!'

--
-----------------------------------------------------------
Tim Lengel (tim@secant.com)
Software Engineer
Secant Technologies, Inc.             http://www.secant.com
-----------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads