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 - James Zukowski

Pages: 1 ... 14 15 [16] 17 18 ... 21
226
Language / REPEAT DATA clarifications
« on: July 19, 2019, 11:01:50 AM »
I'm getting ready to use REPEAT DATA for the first time and would like some clarification on a few points.

After a REPEAT DATA to Primary on Alternate and the processing is done:
  • Is a REPEAT DATA to Primary END required, or does closing the Alternate implicitly END the connection (as is suggested by the example in the documentation)?
  • If the Primary is CLOSEd, I presume the connection is severed. Is the Alternate also automatically closed, or is that explicitly required?
  • Should files be closed in "reverse sequence"?
Thanks for the help!

227
Programming / Re: Error 33's
« on: July 15, 2019, 11:06:11 AM »
Is this loop loading a memory file, list_box, or something else like that?

228
Language / Re: Graphic Characters
« on: July 01, 2019, 10:04:52 AM »
I presume by "true graphics" you mean line drawing. I had a similar problem running PuTTY. I finally got it straightened out in my PuTTY configuration with a combination of factors:
  • Keyboard emulation: VT100+
  • Window translation:
    • Character set: UTF-8
    • Use font in both ANSI and OEM modes
    • Enable VT100 line drawing even un UTF-8 mode
Window translation options turned off:
  • Treat CJK ambiguous characters as wide
  • Copy and paste line drawing characters as lqqqk
I'm not sure how these would present themselves in other emulators. PuTTY is free (https://www.chiark.greenend.org.uk/~sgtatham/putty/), so you can check it out and develop the appropriate correlations from there.

229
Thin Client/WindX / Re: Windx Security on Terminal Server
« on: June 17, 2019, 04:39:54 PM »
Oops. I let myself get confused with "terminal server running windows 2016"...

230
Thin Client/WindX / Re: Windx Security on Terminal Server
« on: June 17, 2019, 03:21:15 PM »
Will that work for their 2016 system? Documentation says it was added for 2017.

231
Wish List / Re: Case insensitive DIM(FIND str$...)
« on: June 14, 2019, 04:16:46 PM »
While that is certainly an alternative, and I have done that in the past as well, there are times when the sequence needs to be maintained (correspondence to a list box, for example).

232
Wish List / Re: Case insensitive DIM(FIND str$...)
« on: June 14, 2019, 03:29:51 PM »
We're already doing the loop through to find what we want. I was just looking for a shorter method.

For the "potential issue": There could be several options:
  • 0 - Exact match required (default; optional; current operation)
  • 1 - Exact match preferred, else first occurrence any case
  • 2 - First occurrence any case

Consider this:
Code: [Select]
dim x$[1:6]
x$[1]="Dog",x$[2]="Cat",x$[3]="Pig",x$[4]="Ant",x$[5]="Pig",x$[6]="Zebra"
print dim(find x$="Pig")
currently returns 3, not 5, even though that is a valid response as well.

For this discussion, I've been referring to straightforward arrays, not an Associated or JSON array. How this would apply to those situations, I'm not sure.

233
Wish List / Case insensitive DIM(FIND str$...)
« on: June 14, 2019, 11:05:49 AM »
Is there a way to modify DIM(FIND str$...) [Format 6] to allow case insensitivity? Many times, we'll know the word we're looking for, but not necessarily whether it will be UPPER, lower, or Mixed case. Perhaps adding an optional argument to the function call would permit this.
It might also be useful for DIM(FIND min/max...).
Thanks!

234
Nomads / Re: Accommodate different monitor sizes
« on: May 24, 2019, 10:24:31 AM »
That would be in fin(0,"XYMonitors").


235
Nomads / Re: Accommodate different monitor sizes
« on: May 23, 2019, 05:16:22 PM »
There's an easier way, as we are doing something that requires the same sort of recalculation of the font size world.

Use the 'option'() mnemonic to change the "StdFont" for the current PC. You may also need to change the 'font'() and set new values for your 'GF' and/or 'DF'.

Some Nomads variables to check are:
  • 'Pnl_Def_Font$
  • 'Override_Font$
  • 'XChar and %Nomad_XChar
To prevent too much flickering, you may want to position the current window WAY off the screen with 'option'("XYPos",...), do the changes, and then reposition it back to where you want it.

236
Programming / Re: TCB(21) - Current activation flags.
« on: May 23, 2019, 05:04:11 PM »
Perhaps it's because "window" is a reserved word in PxPlus, and may not have been in earlier incarnations.

237
Language / Re: Better documentation of rem/renumber?
« on: May 15, 2019, 02:01:03 PM »
If you want to start at a specific line, specify that line#:

0100 ! 200

after renumber would be:

0200 ! 200

If you include the "^" before the renumber value, then the multiplier effect kicks in.

238
Language / Re: Better documentation of rem/renumber?
« on: May 15, 2019, 12:16:45 PM »
Specifying a "^##" value restarts the numbering at the next multiple of "##". Therefore:

1100 = 11 * 100
1221 = 11 * 111
1265 = 11 * 115
1477 = 7 * 211
1500 = 15 * 100

239
Off Topic / Re: Website down?
« on: April 12, 2019, 12:31:30 PM »
It seems the world has recovered and the website access has returned.

 :)

240
Off Topic / Re: Website down?
« on: April 12, 2019, 10:12:19 AM »
Are we experiencing déjà vu all over again?

Pages: 1 ... 14 15 [16] 17 18 ... 21