Put shell has extra cr

LiangTyan Fui mlist at afteroffice.com
Wed Jun 12 01:56:01 EDT 2002


On 6/12/02 12:19 PM, Simon Lord wrote:

> The following line:
> 
> put cr & "marelina:" & shell("pwd") & ">" into var1

if last char of var1 is cr then delete last char of var1

> ...actually comes out looking like this:
> 
> marelina:/Applications/MetaCard
>> 
> 
> I remember way back when having to check for the last char being
> a cr and deleting it.  But I'll be damned if I can recall the
> exact syntax.  Any help would be appreciated.
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard




More information about the metacard mailing list