Friday, 24 June 2016

Re: [gccsdk] [Bug 263] New: Set Alias$command containing |M in generated !Run files causes trouble for string comparison

In message <bug-263-73@http.www.riscos.info/bugzilla3/>
bugzilla-daemon@riscos.info wrote:

> http://www.riscos.info/bugzilla3/show_bug.cgi?id=263
>
> Summary: Set Alias$command containing |M in generated !Run
> files causes trouble for string comparison
> Product: GCC/GCCSDK
> Version: other
> Platform: Other
> OS/Version: RISC OS
> Status: NEW
> Severity: normal
> Priority: P1
> Component: Porting Scripts and Packaging
> AssignedTo: gccsdk-bugzilla@markettos.org.uk
> ReportedBy: bugzilla@markettos.org.uk
> Estimated Hours: 0.0
>
>
> Carlos Michael Santillan writes:
>
> I found a problem with some packages at riscos.info. I use the
> Vorbis-Tools for my little application OggTag. It looks that a lot of
> the command line programms at riscos.info has this problem.
>
>
> In Vorbis-Tools !Boot is the command
>
> Set Alias$vorbiscomment WimpSlot -min 686k |M Run
> <Vorbis-Tools$Dir>.vorbiscomment %%*0
>
> In !Run of OggTag I wanted to check for vorbiscomment with
>
> If "<Alias$vorbiscomment>" = "" Then Error OggTag requires the
> Vorbis-Tools
>
Why? you can check for the existance of the (simple) variable Vorbis-Tools$Dir or use
IfThere <Vorbis-Tools$Dir>.vorbiscomment Then Else Error OggTag requires the Vorbis-Tools
That would show that that directory has been booted, and that vorbiscomment exists.
BTW, checking for the existance of the alias, is still no guarantee that it is set up to work correctly, just that it exists, so no improvement really.

I appreciate your enthusiasm for tackling the obey language though.

Ron M.


_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment