PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Peter.Higgins

Pages: 1 ... 6 7 [8]
Language / Parameter Questions
« on: October 30, 2018, 08:45:40 PM »
Had some questions on these system parameters and was wondering if
anyone has experience to share.

'AC'         Auto convert numbers & Strings
Appears to be a command line input only parameter.  Both Editors choke in 2018. 
Since it is new in 2017 I assume there is a reason for it, perhaps SQL? 

'AD'         Auto-DIM's an array.
Does the Auto Dim just work on {all} assignments? 
Tried  for loop and got the expected error assigning an array element to an undeclared array element. 

'BT'         Binary Test: 1st Read
Not sure how this is different.  Thought isz always meant binary.

This one looks useful.  But I still get an error 43 on a 17 digit number and 15 digit plus 4 commas mask.  Does it need to be combined with something? 
'F,'         Suppress Commas on Numeric Overflow

Solved it. 
I messed up the curl download and displayed the install on the console by accident.
Terminal in SSH account was VT100 which worked until I got the file downloaded and did the new install. Changed the account terminal to Linux and it made the display readable.

On a new RedHat install, I am getting a lot of special characters
For instance when I type  the following, the replies are unintelligible.
I do not see an term=ansi /export term in the instructions.  Would that help?

Program 'STARTUP' does not exist
Error #12: File does not exist (or already exists)
Last file accessed STARTUP

Programming / Non Nomads draggable widget.
« on: October 24, 2018, 01:57:36 PM »
I created a progress bar using a pseudo widget object.  At the moment it is static where it was placed or auto-centered,  and I would like to allow the user to be able to drag it around the screen when desired on busy panels.   Removing the opt="h" flag did not make a difference either as child or as stand alone dialog. I cannot find anything else that might apply.     What makes a widget drag-able?

Programming / Re: provide many PNGs to WindX
« on: October 08, 2018, 10:29:11 AM »
The static download to the clients works well for stuff that doesn't change often like button images and avoids repetitive network load.  Not answering your question, but I don't see a large upside to creating the dll for distribution or client loading given Austen's observation other than obscurring your graphics.

Programming / Re: Sort By Header Question
« on: August 23, 2018, 05:25:13 PM »
Thanks Mike,

In order to sort by header when using nomads using your method, I assume signal All will have to be set for the grid Focus event?   I've noticed with that configuration from the last question the captured grid focus CTL was always the control.ctl plus 15000 regardless of the navigation key or mouse button.  Is this normal as well? 

Programming / Sort By Header Question
« on: August 23, 2018, 01:21:17 PM »
 Assuming the user doesn't know for sure the grid has sort enabled then in a large Grid, it is difficult to tell if the application is hanging or sorting after clicking on the header.  Is there any way to intercept the event and post to the status line or hide the grid and show a progress bar during a sort? 

Programming / Catching a tab into a grid
« on: August 16, 2018, 09:41:59 AM »
Believe this has been asked and answered before, but I cannot remember how it is done.  Have a  grid focus event, and need to ignore the initial grid focus event from the tab key and first Tab entry.  _eom$  and grd'eom$ are returning null.  ctl returned is always the control number plus 5000 regardless of using tab, click etc to move to the grid. 


Guess I am still confused if the curl exit code is also the std error?  Would the results be in left to right order if the 2>&1 is used, ie std out, std err.  I am not getting the results I would expect in the response by pestering gmail.com for http status infomation, there is no exit code.  This is what I used.
cmd$="|curl --silent --show-error --write-out ""\n%{http_code}\n"" http://www.gmail.com/  2>&1"

Hi All,
I am working with curl, and if it is possible, would like to obtain both the results of the curl operation, (return Value) and some --write-out  options such as connect time.  Will using read with stdio redirects do this?   
Have a terrific day

Pages: 1 ... 6 7 [8]