[go: up one dir, main page]

Activity for Jeremy Nicoll

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sun, 9 Nov 2025, at 14:17, Dom Wise wrote: Windows doesn't have any concept of an owner process for named objects like shared mutexes. ... when a process ends Windows will automatically close any handles that the process did not already close, though it won't release ownership of any mutexes still held If processes don't own mutexes, what does? Can one ask the OS who/what owns one? Or who/what created it & when? -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Fri, 13 Jun 2025, at 19:42, m-stgt wrote: While other application languages list [editors which support it] ooRexx just mentions in 'ooRexx Documentation 5.0.0 Open Object Rexx Programmer Guide', paragraph '2.4 Writing Your Program', p. 9 Windows Notepad or Gnome gedit (on Linux) are a couple widely available editors. No hint about smart auto-indent, no downloads for syntax highlighting, minimalist text edior and that's it... I suppose if one was new to any sort of programming on a PC & ooRexx...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Fri, 6 Jun 2025, at 18:46, m-stgt wrote: Today the failure is on the PC (x64) in clause ~~~ if RxFuncAdd('RxPipe', 'RXPIPE', 'RXPIPE') > 0, / see PIPE.HTM / So... that worked, or /seemed/ to. Does RxFuncAdd do more than find a DLL, load it into memory, & check that it has the named entry-point? If the DLL was for the wrong architecture, would RxFuncAdd fail? I know nothing about how to use (or test) RxPipe. -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Fri, 6 Jun 2025, at 03:30, m-stgt wrote: ooRexx 5.oo and younger are availabe as portable app. A program I once developed using ooRexx V4.1.3 (and IIRC still worked with 5.oo) now fails. How may I get an ooRexx version before 5.oo set up as portable app? I'm not sure that you can, possibily because of the way the rxapi process worked back then. But, you might - if you have no permanently-installed version of ooRexx now be able to (temporarily) permanently (ie fully) install v4.1.3 & then use the...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Tue, 25 Mar 2025, at 12:42, Aleksey Tarasow wrote: SemTran=SysCreateMutexSem('/SEM32/'translate(!global.!TrFile, '', ':.*','_')) do while SysRequestMutexSem(SemTran, 10)<>0; end TranFile=.stream~new(!global.!TrFile) Tran=TranFile~lineout (‘test’) TranFile~close call SysReleaseMutexSem SemTran; call SysCloseMutexSem SemTran ~~~ Question. Is this an optimal solution or not? Are there other options for solving the problem? It depends (maybe) on how much waiting the tasks wishing to write to the file...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 5 Mar 2025, at 00:46, m-stgt wrote: Wouldn't that match eg "55.1234.17.9.23" which doesn't look like an ok number to me? Yes, it would. But this is (for me) a bearable flaw in my goal to allow dots and commas as decimal separators (checked later which one actually is decimal and thousands separator) and dots, commas, blanks, and apostrophe as thousands separators. Ah, ok. In your place I think I'd have the user choose a single set of conventions - it's mainly a country-specific thing is it...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Tue, 4 Mar 2025, at 23:03, Rick McGuire wrote: Sorry, I meant to say "zero or one times". I'd be surprised. Inasmuch as there's any standard syntax for forms of RE, before PCRE etc came along, I think it was normal for to mean zero or more occurrences of what went before; to mean one or more occurrences of what went before I'm nearly certain this is what I was taught in the late 1970s /early 1980s. (But goodness knows what that was based on.) On the Regex Buddy site, there's a tool which helps...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Tue, 4 Mar 2025, at 23:01, Rick McGuire wrote: According to the documentation, * means match the previous expression 0 or more times. I suspect -* would accomplish that. But one doesn't want to match strings like "-----------------------------7" when just wanting to match "8" or "-1924". -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Fri, 28 Feb 2025, at 20:52, m-stgt wrote: My goal is to detect numbers in text, but manifold formatted numbers. Do you mean a single number, but in various formats... or a sequence of numbers? That is why my regex pattern in AHK script is "i)-?(\d[\., ']?)+(e-?\d{1,2})?" Case insensitive is no problem, but the number may be negative or not, so there may be one or no minus sign (dash) -- how may I code one or no in Regex dialect of ooRexx? {0,1} would do, but documentation shows {} with a single...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Fri, 28 Feb 2025, at 20:52, m-stgt wrote: I had to learn there exist different "Regex dialects"... Yes; it would help A LOT if the documentation said which dialect (or regex engine) has been used ... and it would be useful if ooREXX could support multiple dialects/engines and one could choose which to use. how may I code one or no in Regex dialect of ooRexx? Some dialects support (expresssion)? to mean that whatever was within the parentheses is optional - if you google "regex optional" you'll...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sun, 15 Sep 2024, at 17:17, m-stgt wrote: This subject leads to another question, what I do in ooRexx here on my PC looks exactly like I programmed it. But if somebody runs it on his Windows PC in Brazil, or U.S.A, or maybe Kazakhstan -- hello Elena! :) -- will a "§" show as paragraph sign, a "^" as circumflex accent, a multiply dot as such? What must I do to ensure the same look of display no matter of a particular locale? Sorry to reply so long after you posted... Instead of expecting the user's...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 3 Jul 2024, at 15:10, Robert Bridges wrote: Yeah, I'd have thought the same thing; it certainly would have failed in TSO-REXX, where both expressions would be evaluated before ORing them. My usual response to a situation like this is to use SELECT: ~~~ select when \datatype(value,'Whole') then fbad=1 when value<0 then fbad=1 otherwise fbad=0; end if fbad then... I use select often for this sort of thing; the only difference is that usually I put text explaining what the problem is in 'fbad'...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Tue, 2 Jul 2024, at 01:07, Robert Bridges wrote: The ref says I can make two ATTRIBUTE statements using ATTRIBUTE GET and ATTRIBUTE SET, giving this as an example: ::attribute size get ::attribute size set expose size use arg value / retrieve argument / if datatype(value, "Whole") = .false | value < 0 then raise syntax 93.906 array ("size", value) size=value In my view, the example has poor coding in it (not related to your issue) in this line: if datatype(value, "Whole") = .false | value < 0...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 12 Jun 2024, at 15:33, Robert Bridges wrote: "I don't know" is a perfectly acceptable answer, Jeremy :-). But I just noticed I forgot to answer your question. I have a handful of scripts each of which open two or three or four windows in preparation for a certain kind of work. When I want to pay my monthly bills, one of them opens three or four Excel workbooks. When I want to start playing with ooRexx, another of these scripts opens two folders and a DOS command window.... Here, I have two...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Mon, 3 Jun 2024, at 20:46, Robert Bridges wrote: Jeremy, you answered question #2. But about #1: I know you were trying to give helpful advice, but are you under the impression that you answered the question? As far as I can see you didn't. I don't /know/ if the absence of a cmd window precludes the display of a (simple) GUI message box, which is why I didn't say. I'd turn your question aound and ask why you chose to use ".rexh" and thus rexx/HIDE/.exe when .rex & thus rexx.exe are likely more...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Mon, 3 Jun 2024, at 18:40, Robert Bridges wrote: 1) I see that RxMessageBox works when the REXX exec is named something.rexp, but when I change it to something.rexh the message box fails to appear. Is this the way it's supposed to work? There's a choice of three executables to run an exec:. You probably want ".rex" rather than ".rexh" for normal ones. See Ch 2 of the Progammer's Guide ... search for "rexxhide". 2) I tried to look in the Reference and the Programmer's Guide to find the answer,...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #836

    On Sun, 26 May 2024, at 20:09, Dom Wise wrote: When ::OPTIONS TRACE ?R (or similar with the interactive flag) is specified, all ROUTINEs and METHODs in a package have interactive tracing automatically switched on. This is very useful for debugging as adding one line switches tracing on everywhere but sometimes there might be a small number of ROUTINEs or METHODs (those called frequently and /or with known correct behaviour) for which this is not required or desired. In the mid 1980s I had a 16,000+...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Fri, 17 May 2024, at 01:51, Dom Wise wrote: RxFuncAdd doesn't work with just any function . You need a "wrapper" library that is called from Rexx and which makes the API call, translating Rexx strings to /from the parameters and return result for the API call . Long ago Florian Grosse-Coosmann created (or started to) a "Generic Call Interface" but I don't know if it is complete. I'd rather hoped that some or all of this had being built-in to ooREXX.aa See: https://sourceforge.net/projects/rexx-gci/...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Tue, 14 May 2024, at 00:52, Robert Bridges wrote: Ok, I'm making progress: I've figured out how to check a default radio button. Next, I have some text boxes that I styled READONLY: I see the same as you ... but it doesn't seem to be caused by specifying "READONLY". (I realise the /O style is what you wRnt later on, but it's a red herring at this stage, I think.) Leaving 'style' empty on the "self~createeditinput" invocations doesn't cause tet to be displayed either. -- Jeremy Nicoll - my opinions...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sat, 11 May 2024, at 23:26, Robert Bridges wrote: Right, I probably should have done it right away. (I just didn't want to burden an uncaring universe with too much detail.) The uncaring universe needs enough detail to see what you did. dlo=.lorentz~new creates a dialog object, which //I think// is just the design of a window, or possibly the info required later on, to create the in- memory definition of the window. This is vaguely analagous to using ispf edit to create an ispf panel definition....

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sat, 11 May 2024, at 02:35, Robert Bridges wrote: Hm, the same problem with the newStatic method. Clearly I haven't understood something correctly. I think you need to post your code. It's impossible to see what you've done, whether you're loading some/all/none of your dialog definition from a template, and whether there's some methods/functions you need to use that you haven't used. Have you tried the example code in the manual, or the samples in the installed version? My experience is that it's...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1621

    On Tue, 19 Mar 2024, at 20:42, Graham Norris wrote: Jeremy, you appear to have difficulty with message threads. You replied to a message from "anonymous" posted within the last 24 hours, but quoted my original post from 5 years ago. Ah... I see, The message I replied to (by email, not by going to the SF website) contained the text I quoted. I suppose SF's system thinks it's useful to include the first post of a thread even when telling us what the latest post is. I'd not noticed that before. The...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1621

    On Tue, 19 Mar 2024, at 08:49, Graham Norris wrote: Is that just a mis-quote, or did you not read what you've quoted? Is that comment addressed to me? If so ... of course I read what I quoted. But you yourself said that after the supposed uninstall the 4.2.0 service was still there. I was trying to find out whether YOU CHECKED that 4.2.0 had really been uninstalled, or just hoped that the uninstall had happened as you requested. You did not make that clear, & still haven't. -- Jeremy Nicoll - my...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1621

    On Tue, 19 Mar 2024, at 00:31, noreply@sourceforge.net wrote: I've installed ooRexx-5.0.0-11849.windows.x86_32 on W8.1 32-bit. I allowed the install to stop RXAPI and uninstall 4.2.0 first. Now RXAPI fails to load. I've rebooted. The actual service in Windows still says "RXAPI Service for Open Object Rexx version 4.2.0". I don't know how the installer works ... but that strongly implies to me that ... "allowed the install to stop RXAPI and uninstall 4.2.0 first" did not work. After supposedly uninstalling...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Mon, 18 Mar 2024, at 18:18, Garry Smithwick wrote: The rexxhide programs I am seeing with no command line data, I think are started via the Windows task scheduler. I am trying to find out if there is a way to determine what programs are running hidden when there is no command line data. Are the scheduled tasks running under a different userid from the code you're using to examine WMI objects? Maybe related to this is that on my sole-user Win 8.1 machine I have "audit-logging" of process creation...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    When you run a command like 7z some parms it's not just .exe programs that might get run. There's 7z.bat & 7z.cmd & - perhaps - lots of others. Which others depends on the file extensions you (or installers) have defined in PATHEXT. On my system PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.REX;.REXH;.REXP (the last three are for ooREXX). The list of extensions means that (amongst other things) xyz.vbs and pqr.rexh (etc) can be run from a terminal window just by issuing xyz some...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    I've never written any powershell scripts, but have done lots in other languages. It's weird that you say you get an error when you use $env:homepath, but it seems to me (from your later replies) that you're putting the symbols into the command & executing it in one operation - so it's not clear whether the problem is in building the command or in executing it. I'd be inclined to separate the two processes: build the command you want to execute, into one string - which you can log somewhere to be...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sat, 30 Sep 2023, at 15:26, Mark Williams wrote: BTW I tried to use ..... "other_prog:PROCEDURE EXPOSE (res)" and got an error message Unexpected PROCEDURE. Error 17.1: PROCEDURE is valid only when it is the first instruction executed after an internal CALL or function invocation. what is going on? other_prog.rex (as described earlier by you) is not an internal function; it's an external one, living in a separate file. It would be internal if it was immeditely after a label in the calling exec,...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 27 Sep 2023, at 17:46, Enrico Sorichetti wrote: EXECIO has a limitation of 99,999 chars per returned record. Does it? I wonder why? Is that documented somewhere? not documented, hardcoded at line 66/67 of hostemu.cpp char szInline[100000]; easy to change e Not by the average Windows user though! It's not like there's the same sort of standard build environment (as a typical Linux user can easily install and expect to behave in a predictable fashion) we can use. More to the point, why is there...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 27 Sep 2023, at 02:12, Mark Williams wrote: EXECIO has a limitation of 99,999 chars per returned record. Does it? I wonder why? Is that documented somewhere? Data should be cut at '<p begin=' and or '<span style=' If you created the html file & can guarantee those strings will always be in that form, fine. But if you're reading code generated elsewhere you need to remember that you can't rely on it always being in lower case or that there won't sometimes be multiple spaces between keywords/attributes....

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Thu, 21 Sep 2023, at 23:46, m-stgt wrote: BTW, I found the cause of the slowdown, to log what was sent by UDP I collected all data in a variable, byte by byte in hex. But in case the log was not reqested this variable was never reset after an CRLF. No problem if it's only a short session with few kBytes sent out. But for "heavy duty" with more than 100 kBytes this variable was a growing problem. If one appends 100k single bytes to a variable one at a time presumably ooREXX allocates a new place...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Mon, 18 Sep 2023, at 23:02, Mark Williams wrote: Hi Jeremy, Thanks for the info. Reading your reply it sparked a memory from my PL/1 days, where I did the same type of thing. It IS a lot clearer to read. Glad it helped. ... and try and eliminate the need for intermediate files between myprogram, FFmpeg and Mediainfo, both of which are command prompt driven. I would not be in too much of a hurry to do that. It's far easier to debug use of external programs if you can actually see in (temporary)...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Mon, 18 Sep 2023, at 07:57, Mark Williams wrote: My Bad, res = sysfileDelete(forced_srt) res = sysfileDelete(normal_srt) res = sysfileDelete(sdh_srt) res = sysfileDelete(mi_out) does the trick :) I was making it more complicated with single quotes, double quotes and concats. When you call a rexx function that is designed to take a filename (or path) you don't need the quotes etc, because the whole value you provide gets used. (The same thing is true in some parts of the Windows GUI, eg you can...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sun, 10 Sep 2023, at 00:14, Mark Williams wrote: All the concats are from my PL/1 days and they work in REXX as for the "i = 0" statements they are to avoid errors when I do "i = i + 1", so I declare and assign a value (no more conversion errors) Fine, but they were completely unneeded in the code you posted. The EXECIO "usually" has spaces in the file name and it doesn't like spaces hence the concats and quotes. (see below) OK; my normal practice when building full file paths (usually by concatenating...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sat, 9 Sep 2023, at 03:45, Mark Williams wrote: Hi all, I am having a bit of trouble with array_name.0 If I load an array, "array_name." for instance manually EG do i = 1 to 10; array_name.i = i; end; array_name.0 = 0 BUT if I use execio to read from a file and load it into an array array_name.0 has a value I think you're assuming that a stem with numeric indices automatically has its .0 element automatically maintained. It doesn't. Using .0 to keep a counter in is just a convention. But the execio...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1915

    On Fri, 11 Aug 2023, at 19:52, Erich wrote: Hi Jim, -1073741819 is C0000005 which means Access Violation, so this is not related to some out-of-resources condition. Is that to a location in memory (so maybe a wild pointer issue) or to a file system object? How can you be sure that the access violation isn't caused by some out-of-resources issue? -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1915

    On Mon, 7 Aug 2023, at 13:24, noreply@sourceforge.net wrote: To answer taf, this error occurs every time I run the program. It fails at a different place if I add some innocuous line to the code, such as a = a. That suggests to me that ooREXX is running out of something, maybe memory. What version of Windows are you using? Does your machine have lots of spare memory? Does your machine show any symptoms of any sort of resource issues while the ooREXX program is running? How long after you start it...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Thu, 20 Jul 2023, at 20:41, Peter wrote: On PC #1 where everything works, the CreateObject call works and the Inputnd() window has a legend that says "Enter characters (they will not be displayed)", while on PC #2 the CreateObject call does not fail but there is no legend at all in the Inputnd() window, just blanks (but the window does pop up and characters can be entered). Do the two instances of PCOMM have configuration files / user settings that might influence how they respond to method calls,...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 5 Jul 2023, at 18:21, Peter wrote: Correcting all my CALL statements NOT to use parentheses made the problem disappear. There were no parentheses in the source you showed in your original posting. Are you saying that what you posted was not in fact what you ran? -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 5 Jul 2023, at 10:27, Rony G. Flatscher wrote: Not sure what you consider an error here.... Peter's results from his work laptop seem to have produced nine lines of output from the first three tests, whereas all the other tests produced three lines. -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 28 Jun 2023, at 19:47, Rick McGuire wrote: The class method returns the class object, but isA() is a better method, since it will apply to subclasses as well as the base class. I'm sure it is, if you want to check whether some object is what you think it might/should be, but if you have no idea what something is surely isA() would only be useful in a select when mysteryobject~isA( someknownthing) then say "it is a known thing" when mysteryobject~isA( someotherthing) then say "it is another...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    Is there a way to ask ooREXX what something is and get back eg ".array" (if that's the most precise one can be) or a list of the classes (if that's the right terminology) so eg that might include ".array" and also ".collection" and maybe something even more general?

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Tue, 23 May 2023, at 20:40, Jim Hannigan wrote: Hi- New member here needing some advice on rxqueue. Some background - We've been using rexx since mid 1990's os/2. Then went to linux and most recently Centos 7.9 . We use oorexx (now 4.2 & 5.0) though no object oriented code. We have been using rxqueue from rexx & from C using the api. We have found really odd behavior. First set faults on creating named queues, What do you mean by "first set"? And fault? Do you get bad return codes, no return codes...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 26 Apr 2023, at 22:33, m-stgt wrote: I used the 'Steps Recorder' of Win10 to capture the process. Well, it is not a screen cast, but it would be sufficient to show the problem. But, in contrast to the description ("It can be viewed in any web browser.") I can't view the result, neither with Firefox nor with Edge. In addition, the tool gives no chance to edit comments, so typos are eternalized. Fortunately I still have (an ancient copy of) IE, and it could display the successive screenshots....

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Tue, 25 Apr 2023, at 22:51, m-stgt wrote: ... Sadly I may not check any more why it worked using ooRexx 4.2.0, also under Win10. I've got oorexx 4.2.0 on a Win 8.1 system and a day or two ago when you produced your mini test program I tried it. It didn't behave the way your comments implied (to me - but maybe I misunderstood them) it should do - ie i saw no instance of window focus changes or particular windows coming (to the top of the Z-order or into vision if they'd been hidden behind others)....

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #24179

    OK, thank-you.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #24179

    Ah! Thank-you for such a prompt reply. Is it your intention to bring Gravatar support back, or to leave it disabled permanently?

  • Jeremy Nicoll Jeremy Nicoll created ticket #24179

    Bad information on one of your help pages

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Mon, 12 Dec 2022, at 00:15, m-stgt wrote: But I have not yet found an advice on how to get a list of all OLEObject which are (besides "Shell.Application" and "WScript.Shell") available on my PC. Next, where is described what is all possible with "Shell.Application"? In your example you use objFontFolder =shell~namespace(x2d(14)) -- where is documented what exactly namespace 14x is/does/means? I've not tried to do any of this sort of thing in ooREXX, but I have written some simple stuff in VBS...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1823

    On Wed, 15 Jun 2022, at 22:30, Jeremy C B Nicoll wrote: It's only a problem on systems with case-sensitive file systems, surely? How about on those shipping a symlink (if that's the right term) - or (in mvs terms, an alias) that points both names at one file? Or, on those systems ship a file named eg "csvStream.cls" which contains only ::requires 'csvstream.cls' (if that works in a .cls file?) -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1823

    On Wed, 15 Jun 2022, at 21:03, Rick McGuire wrote: This is a tricky problem. If we rename the file, it will break the programs of everybody who figured out what the name should be. Unfortunately, our documentation in rexxextension.pdf shows the ::requires using "cvsstream.cls". There's a similar problem with json.cls. In that case, the name is shown unquoted. I suspect the best we can do here is fix the documentation. It's only a problem on systems with case-sensitive file systems, surely? How about...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion VirtuaWin questions

    On Sun, 16 Jan 2022, at 21:47, Sue Renti wrote: I need to run a special program 24h on an older PC (W7). the PC is in a very remote location and is sometimes used by other people (it's the only PC there). They sometimes close that program or worse, mess with it. For the problem of them closing the program, maybe a scheduled task that runs every n minutes and restarts it if it has been stopped would help? -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #796

    On Mon, 6 Dec 2021, at 21:31, Rick McGuire wrote: Which already exists via rexx -v. There's no point in adding this to the language itself for a running program to detect how the interpreter has been built. How about when/if a debug build doesn't behave like a standard build? Isn't it a classic problem that debug builds (of any software) in certain circumstances don't (or do) show problems that the non-debug version does (or doesn't) have? If I were trying to solve a problem like that I'd want my...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #796

    On Mon, 6 Dec 2021, at 19:24, Rick McGuire wrote: I agree with Erich. Debug builds are not something we would make generally available, so this method would serve no purpose for the general oorexx user. What about people who download the source & do their own builds? Would it not be better for there to be a maintained/documented way of identifying if a build is a debug one or not, for those people too? Otherwise, people may invent their own way, perhaps with unintended side-effects. -- Jeremy Nicoll...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1783

    On Sat, 18 Sep 2021, at 22:11, noreply@sourceforge.net wrote: The DLL you mention usually exists as part of Windows in "C:\Windows\System32\" On my W8.1 system, there doesn't seem to be one: C:>where vcruntime140_1.dll INFO: Could not find files for the given pattern(s). whereas if I issue a "where" for a dll that is in C:\Windows\System32\" I get: C:>where vccorlib120.dll C:\Windows\System32\vccorlib120.dll ooREXX v4.2.0 seems to work fine here. Is there a similar Visual C dll that must be somewhere...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion VirtuaWin questions

    Some applications control themselves whether new files will be opened in another tab, or whether a new instance of the application is required. My text editor is like that, so if (not in virtuawin but in general) a script issues a command like texteditor.exe "C:\this\that\other\somefile.txt" then a new instance of texteditor.exe (though it's not actually named that) always starts. However if the user has configured it to use existing instances of itself, I think it checks if one is already running...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    It looks as if it's meant to change the byte-endianness of multibyte arguments, eg replacing a string "pqrs" (which represents x'pqrs') to "rspq". Whether that makes sense depends on how the OP extracts multibyte flags.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    I guess that people who don't care about choosing which (of 6 alternative files, here, for different target architectures and different types of installer) they wish to download are also those unlikely to care about checksums. If you /do/ care, choose the Files tab and choose the file(s) you want. I also notice that on the main project page the immediate-download button is for an older version of 7zip than the most-recent one. Again, I'd suggest that for anyone who cares about what they download...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    That's not a /file/ download page, but instead a folder-choice page. If you click on the folder representing a particular release of 7zip, you'll then see a list of downloadable files, and for those the i-icon is shown.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    I agree about the 7zip website itself, but why are you criticising Sourceforge? They do list hashes for every downloadable file - click on the I-in-a-circle ("info") icon at the righthand side of a file's listing - tooltip "View details" - and you will see SHA1 and MD5 hash values. If one wanted to download many such files, all those clicks and having to c&p the values would be a nuisance, but for a few files it's not difficult.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Thu, 17 Jun 2021, at 18:05, Erich wrote: Still wondering how to determine what Rexx program is causing the problem. The Windows event viewer lists program crashes with event ID 1000. Checking it, you see which program crashed when, but it doesn't seem to show the command line args. Windows defaults to not logging command lines because they can contain thinsg like passwords, and on a multi-user system anyone with admin auth to see the relevant event logs could see private info. From my notes (for...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    I asked above: It doesn't completely explain it. Why would reading files to index them alter their date of last change? Maybe the "last change date" changes not because the file has changed (hopefully it hasn't) but because metadata has changed saying it's been indexed? If that's the case and then someone actually changes the file I wonder if such an indexed flag gets turned off so the file can be indexed again?

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    It doesn't completely explain it. Why would reading files to index them alter their date of last change? You might expect the date of last access to be changed during indexing ... but under NTFS that often doesn't happen either. There's a FS (file system) setting that disables logic that would keep date of last access accurate. Apparently years ago this was introduced to make file operations speedier on slow disks. More info about that at: https://www.tenforums.com/tutorials/139015-enable-disable-ntfs-last-access-time-stamp-updates-windows-10-a.html...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sat, 13 Mar 2021, at 18:13, Thomas Kahr wrote: HI Per-Olov, many thanks for your quick reply. Meanwhile i figured out the problem. It simply was the fact that I named my textfile with the file name extension ".txt" for some reason ooRexx didnt like that under Linux. I removed the file name extension and voila: Works like a charm. That doesn't make sense, to me. Surely if the file name ended ".txt" then it's (a) valid in linux (though maybe that depends on the file system concerned?) and (b) it...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1749

    On Wed, 10 Mar 2021, at 17:57, Erich wrote: Hi Graham, can you give an example as to when GetFileTime() may actually update the last accessed time? I cannot find any indication for this to happen. I don't know if this is helpful, but ages ago I noted that ... "Last access time is not updated on NTFS vols by default" (at least on recent Windows versions). Run "fsutil behavior query DisableLastAccess" on your system to check." which implies presumably that some people's systems might be set-up differently....

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    Have a careful read of this, and think about it. Ignore the marketing hype. https://www.mojo-audio.com/blog/the-24bit-delusion/ And, as I said before, find a pro-audio group to discuss stuff with... eg (usenet) rec.audio.pro - which you can also find at: https://groups.google.com/g/rec.audio.pro

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    @ipavlov - the filters stuff is interesting! Stephen: for your friend, yes, 16 bit. For you... well if your scarlett 4i4 is 3rd generation, whose specs I read here: https://focusrite.com/en/usb-audio-interface/scarlett/scarlett-4i4 note what it says about the unit microphone inputs: their dynamic range is 111dB, which is more than can be expressed in 16 bits. If your material had a colossal dynamic range (or eg you were recording live and had no idea what unexpected sounds could suddenly occur -...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    24-bit isn't just "overkill". Overkill would be storing a 24-bit value at eg 96 khz or 192 khz... ie using the hardware to store a very detailed sample. In your case if the source is 16-bit, storing that as 24-bit does not add any quality or detail at all. A 16-bit sample (produced by the USB mic) does not become more detailed if you store it as a 24-bit number. It is stored as 16 useful bits and 8 zeros. It doesn't matter what's in the 16 useful bits (they could be ones or zeros) but the extra eight...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    Ah, ok. But note that spoken voice (unless you're actors/singers) is likely to have a smaller dynamic range than voice performers, or screaming. When you connect the mic to an audio interface, it means that analogue audio signals, probably very weak, are being sent to the interface. Whether the connection is by XLR or something else doesn't necessarily mean much, though one would assume that XLR means balanced audio rather than unbalanced. The "audio interface" would possibly be providing phantom...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    Looking at the audio level stats quoted above... It would have been useful if you'd stated that these came from Audition, and provided a link to a manual that explains what Audition is actually showing. I found a manual for a 2014 version of Audition, online. First, if I understand correctly, the RMS amplitudes, while relevant from a human perception of sound point of view, will be irrelevant as far as the raw binary bytes in the files are concerned. These two lines: Friend 'My' Dynamic Range 62.34...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    If your voice is "very consistent" with hardly any difference in dynamic range, then /you/ certainly don't need lots of bits. Even if your friend has a truly amazing vocal ability (opera singer?) he will not be able to vary the sound level by anything like even 16 bits - ie 96 db. Get real! I do understand the point about DAWs using 32-bit internally for their conversions, but that's got nothing to do with the resolution you need to store in your files. Provided you've recorded each voice so it peaks...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    The screenshot of the hex content of the audio will tell you nothing useful, as it must represent only a tiny period of time - maybe a microsecond or less? And anything (untypical) could have happened in the instant that you're looking at. You need to find far more out about about things like average and peak levels in each audio file, and possibly do that for every few seconds. You also do need to be comparing similar things. Eg do you and your friend set reference sound levels (eg 'slate tones')...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1721

    On Sat, 10 Oct 2020, at 13:30, Walter wrote: Could you please "translate" my program to what it should look like? BUT I use that linein everywhere- so dozens of programs to be changed for the sake of R5? The "execio" support, based on that in VM/CMS and MVS (TSO etc) is described in the "rexx extensions" manual. It does I/O to/from rexx stems, amongst other things. I haven't got v5 of ooREXX installed yet (afraid it'll break my v4.2.0 install and I don't have time & energy to resolve that right now...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1721

    On Sat, 10 Oct 2020, at 13:00, Rick McGuire wrote: If you are using the stream objects directly, there is no need to resolve the file name information on each write. Does that mean that streamobject~makeArray or streamobject~arrayIn and streamobject~arrayOut are all already efficient? If you are using the builtin functions, then it needs to resolve it to retrieve the correct stream object from the table of open objects that the context is managing. Are you stressing: if YOU (ie a user) ... as opposed...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1721

    On Sat, 3 Oct 2020, at 15:41, Erich wrote: We've unfortunately had quite a performance hit from fixes like that for [bugs:#1656] due to the overhead of additional API calls each time we try to get the proper path from what we're given. If one uses the hostemu "Execio" thing to write the contents of a stem out to a file, does that check the destination file just once at the start, or does it use linout() under the covers in a loop, and thus do so every time? ISTR that when reading a file one can use...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    On Thu, 3 Sep 2020, at 20:50, Paul Higgins wrote: Jeremy, the "It" was trying your suggestion: ~~~ tiles = .array~of('1','2','3','4') xp = 1 say 'tiles[xp]='tiles[xp] if (xp = 1) | ( (xp > 1) & (.Nil = tiles[xp-1]) ) then say 'Value to left is .Nil' else say 'Value to left is NOT .Nil' ~~~ and this is the result: tiles[xp]=1 - Compiled method "[]" with scope "Array". 5 - if (xp = 1) | ( (xp > 1) & (.Nil = tiles[xp-1]) ) Error 93 running C:\SAT2CHART\SAT2CHART.Testing\Test.comma.rex line 5: Incorrect...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    On Thu, 3 Sep 2020, at 02:51, Paul Higgins wrote: Just tried it Which "it"? with xp=1 and actually it fails for the same reason as Rick mentioned. I thought we were talking about my ands-and-or suggestion (where, yes I'm sorry, I overlooked the [xp-1] array index problem) ... which was if (xp = 1) | ( (xp > 1) & (.Nil = tiles[xp-1]) ) then ... which contains no comma and therefore cannot fail for the "same reason" as Rick mentioned, surely? -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    On Thu, 3 Sep 2020, at 02:00, Paul Higgins wrote: OK thanks Rick. Guess I'll just have to use two statements. Why not just use AND and OR and bracketed expresssions? Statements like: if (xp = 1) | ( (xp > 1) & (.Nil = tiles[xp-1]) ) then ... work fine. -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    On Wed, 2 Sep 2020, at 20:24, Paul Higgins wrote: Then why does it not work in this statement following the OR while it does if there is no preceeding condition: when (xp = 1) | (xp > 1, .Nil = comm._Tiles_All[xp-1,yp]) then do probably because what's separated by the comma is a list of expressions, so (xp = 1) | (xp > 1 would need to be one expresssio, and .Nil = comm._Tiles_All[xp-1,yp]) another. Both have mismatched brackets. -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    On Wed, 2 Sep 2020, at 06:02, Paul Higgins wrote: Notice I use the comma in my first statement as an AND It is NOT equivalent to AND. The whole point of the comma is that it allows you to specify a list of conditions which rexx evaluates from left to right, stopping as soon as one is false. It's documented in the Rexx Reference, under "IF". -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Mon, 8 Jun 2020, at 14:56, Marconi Fonseca wrote: I am trying to pass the following parameter from the Batch file to a Rex. File. The problem is that GetYN.REX is not getting the parameter. I have tested it on another computer with the same Object Rexx version and it works, but on my work's computer, it doesn't. I saw this forum, that I guy supposed had the same problem but it was in 2006. https://sourceforge.net/p/regina-rexx/discussion/88575/thread/3cc8fa54/?limit=25 Any idea how to fix it?...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #774

    On Mon, 9 Mar 2020, at 07:32, Per Olov Jonsson wrote: It would be beneficial if rexxc could warn the user at tokenising time that he or she is using features from the latest language level that would render the tokenised program unusable on a computer with a lower level. It's not just tokenised programs that could fall foul of an absence of later-developed language features. Is there, or will there, be a way for a non-tokenised program to find out dynamically what interpreter language level it needs...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Thu, 30 Jan 2020, at 00:39, Rudy H. wrote: I downloaded the previous release of ooRexx 5 for windows 32 bit from here and used this site to upload and scan the file and it found 2 problems. How come this is happening ...? If two anti-virus/malware products reported a problem that doesn't necessarily mean there is a problem. If many more than two did, that increases the chance. Quite a lot of detection is done by "heuristics" ie code that looks for characteristics that have been seen in malicious...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sun, 26 Jan 2020, at 18:07, Sam Boker wrote: It is the source to oorexx 5 that I downloaded a while ago. I just looked and did not see the source in the oorexx 5 tree. This source is stored on a centos 7 server. The flles flagged are windows files in the samples directory. It is not in any installed version of oorexx, but it is the windows sample files above from the source. It is also possible that clamav flagged the above files as false positive. I posted this out of an abundance of caution....

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #269

    On Sat, 5 Oct 2019, at 21:24, Per Olov Jonsson wrote: Apparently "/" as an option delimiter (for REXXC at least) should only be accepted on Windows systems because unix-based platforms use "/" as directory delimiters, which would create an ambiguous command syntax. You can use "/" as a directory separator on Windows too, although it's unusual. For example, both these commands do the same thing dir "c:\" dir "c:/" -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1655

    On Sat, 5 Oct 2019, at 13:45, Rick McGuire wrote: This is not a problem with command, "/" as an option delimiter should only be accepted on Windows systems because unix-based platforms use "/" as directory delimiters, which would create an ambiguous command syntax. If the docs imply that both are acceptable, then the docs need correcting. You can use "/" as a directory separator on Windows too, although it's unusual. For example, both these commands do the same thing dir "c:\" dir "c:/" -- Jeremy...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1653

    On Thu, 3 Oct 2019, at 22:03, Per Olov Jonsson wrote: Dear Jeremy, The change in the sample file makestring.rex was only made/proposed as a reaction to the changed functionality of SysTempFileName() function (which happened already earlier this year https://sourceforge.net/p/oorexx/bugs/1607/ . Now that you mention it, I do think I remember reading that that function had been changed. I agree that it seems like a sensible change - because of the issue of how on earth a non-pathed filename could be...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1653

    On Thu, 3 Oct 2019, at 17:28, Per Olov Jonsson wrote: I see now that this was a patch I proposed some time ago 15.3.2019, as a result of bug report 1607, it was never accepted I guess. I can see that Erich silently made the same change some minutes ago, please close this bug report. No, don't. I think you're fixing the wrong part. In that exec, there's two calls of getTempFileName() - file_name_in = getTempFileName('tst_input.???') file_name_out = getTempFileName('tst_output.???') and getTempFileName()...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1653

    On Thu, 3 Oct 2019, at 14:02, Rick McGuire wrote: I AM looking at the files themselves. Here is the most current version in the SVN repository, which contains no changes to the temp file logic at all. There is nothing in the SVN histories to indicate any such update has been made. https://sourceforge.net/p/oorexx/code-0/11511/tree/main/trunk/samples/makestring.rex Well the routine at the foot of that prepends the value of %TEMP% to the result of SysTempFilename(template). Has the latter function...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion General Discussion

    On Fri, 31 May 2019, at 11:41, AvdP wrote: Erich and Jeremy, thanks for responding. Now I assume this is a local problem on my machines, but since you asked: I have this on 2 separate machines (Win7 64bit and WIN Server 2019 64bit). I don't think so, it's because you have 64-bit versions of Windows. See: https://docs.microsoft.com/en-us/windows/desktop/winprog64/file-system-redirector and all the other pages in that part of MSDN. Take note that the \system32 folder is only there because you have...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion General Discussion

    On Thu, 30 May 2019, at 20:18, AvdP wrote: My folder c:\windows\system32\drivers contains 300+ files (not hidden). Which version of Windows? On my Win8.1 system I see that File Explorer shows a good many filenames there in blue, not black. Retreating to c:\windows\system32\ I see there's also a \DriverStore and a c:\windows\system32\DRVSTORE and the latter folder is also shown in blue. Google tells me that this means these things have been compressed (and are presumably uncompressed on the fly if...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #743

    On Sat, 23 Feb 2019, at 15:54, Rick McGuire wrote: Iterate doesn't work that way. All loop conditions get evaluated with an iterate, it does not skip "the end of the loop". The point I was trying to make is that if one is going to have an automatic counter being incremented in the loop, it's useful to be able to have the features of both i and j in code like: i = 0 j = 0 do k = 1 to 7 i = i + 1 if i > 4 then iterate j = j + 1 end say "i j k" i j k So why not support both "first thing" and "final...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #743

    On Sat, 23 Feb 2019, at 15:29, Rick McGuire wrote: I've giving this a bit of thought, and it looks like the cleanest way to implement this is to allow the counter to be set on all loop types and have the COUNTER keyword handled at the same was the LABEL keyword is parsed (i.e., before the loop type is specified). So Loop counter x item over someArray ... end A counter can be specified for any DO/LOOP except for the simple DO block. The big question I ran into is when the counter variable should be...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sat, 29 Dec 2018, at 19:54, Jim Siler wrote: The exported file looked like this: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT.rex] @="RexxScript" and it imported without any error. And did the hand-created .reg file look similar? I do not have a registry cleaner but will get one a try it. I wasn't suggesting that you should. People often shoot themselves in the foot by deleting required registry entries that such a cleaner thinks are not needed. I was wondering why your registry would...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Sat, 29 Dec 2018, at 17:20, Jim Siler wrote: Thanks for the quick responce. When I ran the fix I received the following error message: "Cannnot import (myfile name): The specified file is not a registry script. You can only import binary registry files from within the registry editor." If you go into RegEdit, then find any existing key, right-click it and choose to export its contents as a .reg file, does the file that's created have the same format as the one you created earlier? If you double-click...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Help

    On Wed, 14 Nov 2018, at 11:10, kailash kanade wrote: Hi Team, can someone help me to get some logic for REXX. I have requirement that I need to search in my cobol program if REDEFINE keyword is used, and if yes i need to pull its whole structure with its parent item. Like in below case i need to pull all below four lines as there is REDEFINES used. As of now i have coded the logic to find the REDEFINES keyword but don't know how to fetch above and below set of lines. Please help. 01 A PIC X(10) 01...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    On Mon, 22 Oct 2018, at 23:09, Paul Higgins wrote: I have two programs that use the same large method. Everytime I update it in one program I have to copy it into the other. Is there a way I can have the code in one place and share it? The method is too large and complicated to rewrite in native code. I think you just put the method definition in a file by itself and use ::requires statements at the ends of your program files to have the interpreter include them. I was looking at the RexxStart and...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1559

    On Tue, 25 Sep 2018, at 22:38, Rick McGuire wrote: status: open --> invalid Comment: A naked 0d is not a linend, so it is treated as data, which is the same rule that linein() uses. Valid line ends are x0a and x0d0a. I just issued that command from a terminal window on a Windows 8.1 system and the output looked ok, spread over several lines. I then tried redirecting it to a file and looked at that... and it's not plain text but instead some sort of unicode or UTF or something, with multiple bytes...

  • Jeremy Nicoll Jeremy Nicoll posted a comment on discussion Open Discussion

    On Wed, 6 Dec 2017, at 19:04, Alfredo Perez wrote: Jon this iw what I have coded and it does not work. I have the TaraceLogoff at the end retc = myftp~FtpTraceLog(oxAvrsDist.log) retc = myftp~FtpSetUser(server, userid, passwd) retc = myftp~FtpChDir(..) retc = myftp~FtpChDir(hlqds) ... and so on. Do you check the return codes from each of these functions? -- Jeremy Nicoll - my opinions are my own.

  • Jeremy Nicoll Jeremy Nicoll posted a comment on ticket #1501

    On Sat, 28 Oct 2017, at 23:49, Nic Clouston wrote: [snip code] This is not a bug. You have fallen into the trap of not using strict equality in your conditions, ie the operator "==". When non-strict equality "=" of two strings is tested whitespace is stripped off the values. Both spaces and tabs are whitespace, so in essence you've been testing whether empty strings are equal. Replace your "=" tests with "==" and it will do what you want. -- Jeremy Nicoll - my opinions are my own.

1 >