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 - Mike King

Pages: [1] 2 3 ... 50
Yes -- referencing the next element to be create in a dynamic array will cause it to be created.

Programming / Re: Determining numbers used in an ASCII sequence.
« on: June 23, 2022, 03:59:59 PM »
My question is what exactly are you looking for?

You asked how to find "the number of slots used" -- that is different than the number of potential values between the two values you provided.  How is one to know if a slot is "Used" -- is this a file and you want to know how many records exists between the two keys?

If so then just get the difference in the RNO values for these two records as in:

OPEN (1) "TheFile"
READ (1,KEY="A000ZZ")
READ (1,KEY="A0010F")

The number of USED slots between these two value would be the difference between the two RNO's less one.

Registration and Setup / Re: Linux Licensing
« on: June 21, 2022, 05:17:03 PM »
You can run a single user WindX on Linux -- just make sure when you start *plus/cs/host that you indicate the output and input are >/dev/null and </dev/null.  Plus you might include a -bkg option on the command line. 

Something like:

.../pxplus -bkg "*plus/cs/host" >/dev/null </dev/null

Webster Plus / Re: Problem with filling grid
« on: June 20, 2022, 05:10:33 PM »
The program=xxx specified on the grid is called and not performed thus your logic should probably be:

Code: [Select]
 enter MyGrid
 LET paarden=UNT; OPEN (paarden,IOL=*)"paarden.dat"
 LET MyGrid=UNT; OPEN (MyGrid,IOL=IOL(paarden))"*memory*"
 SELECT * FROM paarden
 WRITE (MyGrid)

It appears the help file documentation is incorrect for this option.  It is only PERFORMed when used on a [ form ] short code.

Documentation page has been updated on the web site: https://manual.pvxplus.com/?/Webster/Short%20Code%20Options.htm#program

Web Services / Re: *web/email not working for smtp.office365.com
« on: June 17, 2022, 10:39:22 AM »
You might need to enable SMTP access to your Office365 account.  By default many Internet mail servers will not allow you to connect and send email without you first authorizing access.

Programming / Re: Escape
« on: June 13, 2022, 03:34:09 PM »

The BREAK key on laptops varies from one keyboard to another.  Generally you will find a Pause or Break key on the keyboard that will work, however it may require an additional to be pressed such as a Fn key which is found on some laptops.  You would need to consult with the laptop manual to see which keystroke emulates the Break button. 

iNomads / Re: Calendar Object: 1) display alignment 2) null value
« on: June 08, 2022, 11:11:05 AM »
We resolved the Undefined issue in V19 by making the following changes (Red) the inomads.js file at the end of the iDte_Load() function (around line 7760 depending on version)

   if (nMo == -1) nMo = oDt.getMonth() + 1;
   if (nDy == -1) nDy = oDt.getDate();
   if ((nYr >= 1600) && (nYr <=3000) && (nMo >= 1) && (nMo <=12) && (nDy >= 1) && (nDy <= 31)) return;
   nYr = oDt.getFullYear();
   nMo = oDt.getMonth() + 1;
   nDy = oDt.getDate();


The change should be able to be applied on any version of iNomads.

Web Services / Re: Setup EZWeb server and API calls
« on: June 02, 2022, 01:47:19 PM »
If you are only sending from your application to a web based application then the *plus/web/request routine can be used to provide this and is included with all current versions of PxPlus.

If however you are wanting a web based application to submit requests to your application then you will need something like EZWeb or you can use something like the Apache CGI interface. 

As a side note I reviewed your initial request to us regarding your requirements to which our support department suggested EZweb or Apache.  In your request you indicated you wanted Tulip to submit API calls to your application which would in turn receive them and respond.  That is the opposite of what you are inquiring about here. Which type of functionality are you looking for? (i.e. Is your application going to send requests to Tulip or vice-versa?)

Language / Re: *pdf* Utility in Pxplus 18.20
« on: May 25, 2022, 10:30:31 AM »
I tried the following here using the following program:

0020 OPEN (1)"*pdf*;view"
0030 PRINT (1)'FONT'("Arial",-10),'DF',
0040 PRINT (1)"Version=",TCB(29),'LF'
0050 FOR n=1 TO 5
0060 FOR i=0 TO 100 STEP 10
0070 PRINT (1)@(i),STR(i),
0080 NEXT i
0090 PRINT (1)'LF',
0100 NEXT n

And didn't see any difference on what was on the PDF file (See attachment)

Language / Re: *pdf* Utility in Pxplus 18.20
« on: May 24, 2022, 08:43:40 PM »
Here are a couple of things that could be causing the issue:

- Size of font (What font size did you set)
- Setting of 'HP' system parameter (Is it enabled / disabled)

Your old install may have set these different from the default.

iNomads / Re: Fav Icon On Inomads
« on: May 19, 2022, 10:25:31 AM »
In the Options screen for the template there is an HTML tab which provides a field where you can add you own header META tags.

While it the description says META, you can also include <link> tags, thus you can define a custom favorite ICON based on the chosen template.

The entry would look something like this:

<link rel="icon" type="image/png" href="http://example.com/myicon.png">

Programming / Re: UCS-2
« on: May 06, 2022, 02:17:10 PM »
To the best of my knowledge there is no such thing as 16 bit UTF-8.  UTF-8 data is always a string of 8-bit values.

If you want UCS-2 you may be able to do:

   X$=CVS("This is a test","ASCII:UNICODE")

This will provide you a string of 16 bits characters

Programming / Re: Need leading zeros in excel
« on: May 06, 2022, 02:14:41 PM »
The issue is that when Excel is passed text it will analyze the input to see if it might be a number;  If so the cell value will be marked as a number otherwise it would be marked as a string. 

You can see this by simply loading Excel, click on a cell, and enter values such as 007, 0123456, 0000001 -- all will have there leading zeroes stripped. 

You may be able to override this by prefixing the value with a leading apostrophe as is described in the last option on:


Programming / Re: UCS-2
« on: May 06, 2022, 08:11:04 AM »
UCS-2 appears to be similar to 16 bit Unicode which you can generate using the PxPlus CVS function.

It is however odd that any web based system would require UCS-2 data, normally web processes will use UTF-8 thereby keeping all data 8 bits and provides supports for a wider of characters.

Webster Plus / Re: Cannot access demo site
« on: May 02, 2022, 09:30:44 AM »
Likely your entry have expired.  The sites are only good for a few weeks.

Try clearing your cookies for the demo site when you get the error message, then re-requesting a site.

Pages: [1] 2 3 ... 50