| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: More REXX... |
Some senseless babbling from Jeff Patten to Mike Ruskai
on 07-23-94 21:22 about More REXX......
MR> One thing that is sure to make it puke is for one of the
MR> icons to have an invalid filename character in it, namely
MR> the '&' character. As we all know, OS/2 takes that to mean
MR> another command is being given, and a command like "r.ico
MR> temp.ico" doesn't mean much.
MR> To counteract this, I would like to detect for the presence
MR> of this character in any filenames and inform the user that
MR> they must be renamed. As of right now, the only way I have
MR> of doing this is like this:
JP> If( Pos( "&", current_icon ) \= 0 ) Then ...
JP> "&" *is* a valid character for filenames -- you are
accessing files
JP> that include this character in their names, yes? All you need to do is
JP> pass the file name enclosed in double quotes (
'"'current_icon'"' if I
JP> recall correctly).
I know I can use it in quotes, but the online reference does call it an
invalid filename. That is the correct way to quote it, thanks.
MR> I would like to redirect the output of the SAY command to a
MR> text file which is referred to, but I do not know how to
JP> I believe the proper REXX way is to use the ADDRESS keyword, but I
JP> haven't worked with this myself. You could also pass the redirector
JP> symbols by enclosing them in quotes, as with the file name problem.
Others have referenced LINEOUT instead of SAY, but I don't need it anymore
anyway. I'll take a look at ADDRESS anyway though.
Thanks for the help.
´Mike Ruskai ³ FidoNet(1:107/634) ³ RGSNet(50:130/12) ³ OS/2Net(81:135/30)Ã
´{Team OS/2} ³ ITCnet(85:862/207) ³ TerraNet(87:908/100) Ã
... Left to themselves, things tend to go from bad to worse.
___ Blue Wave/QWK v2.12 OS/2
--- RG 5-31 Exp/GE 1.02+
* Origin: The Licking Factory, OS/2 in NJ! (908)636-7245 (1:107/634)SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430 SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1 @PATH: 107/634 677 33 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.