Interactive PowerBasic Forum

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: Nicola on February 02, 2022, 10:33:37 PM

Title: Oxygen Basic Help file
Post by: Nicola on February 02, 2022, 10:33:37 PM
Hi,
if you like, you can use this help file which could replace the original file in the "inf" folder.
Also, if you have any suggestions that can help improve it, they are welcome.
Friendliness. :)


25/01/2022: CONSOLE section inserted.

02/02/2022: added Charles' clarifications on "&" elaboration.

18/02/2022 Insert new tables:
Assignment Operators, Arithmetic Expressions, Bitwise Assign Operators, Bitwise Operators, Bitwise.Shift.Operators (<<,>>,>>>,<<<),
Logical Operators, Relational Operators

26/06/2022 Enter notes in DIM and REDIM. Inserted VAR in the variable declaration.
27/03/2023 inserted Ballisle's suggestion on ASC() as a statement.
29/03/2023 Inserted notes on implementations related to the management of Arrays written by Charles Pegge from version P14.
30/04/2023 Added further changes related to version P15.  Enter the functions related to MODULE.
15/05/2023 added NOSIG
28/10/2023 added functions related to SysUtil.inc
01/12/2023 Added more .inc files and fixed some small things
Title: Re: Oxygen Basic Help file
Post by: Nicola on April 10, 2023, 09:29:07 PM
Hi Theo,
I would like to edit this post but I'm not allowed, why?

QuoteHmm ... i do not know, i can ....
Title: Re: Oxygen Basic Help file
Post by: Nicola on April 11, 2023, 08:54:00 PM
Quote from: Nicola_Piano on April 10, 2023, 09:29:07 PMHi Theo,
I would like to edit this post but I'm not allowed, why?

QuoteHmm ... i do not know, i can ....

not me
Title: Re: Oxygen Basic Help file
Post by: Theo Gottwald on April 11, 2023, 09:16:22 PM
Anybody else has problems editing past posts?
Please tell me  I need to know.
Title: Re: Oxygen Basic Help file
Post by: Johan Klassen on April 13, 2023, 04:27:40 AM
I also can't edit my previous post, but I can edit this post
Title: Re: Oxygen Basic Help file
Post by: Theo Gottwald on April 13, 2023, 11:02:07 AM
Possibly then Posts can only be edited for some time?
Lets watch it for a while before i try to find out where the problem is.
Title: Re: Oxygen Basic Help file
Post by: Nicola on April 13, 2023, 11:32:37 AM
Hi Theo,
as I told you until 29/3 I was able to edit it, now it won't let me anymore.
Could it be because it started a long time ago?
Title: Re: Oxygen Basic Help file
Post by: Johan Klassen on April 13, 2023, 11:59:07 AM
Quote from: Theo Gottwald on April 13, 2023, 11:02:07 AMPossibly then Posts can only be edited for some time?
I think that you can edit your post as long as there are no subsequent post following the post
for example, I no longer can edit my post above
Title: Re: Oxygen Basic Help file
Post by: Nicola on April 14, 2023, 11:08:34 PM
Hi Johan,
No, it's not like that because in this post there was only my beginning, and despite this it was not possible for me to edit it.
Title: Re: Oxygen Basic Help file
Post by: Nicola on January 22, 2026, 03:54:05 PM
Try this HTML help file; 
it should open in any browser. The file data.js contains oxyKeyw. 
They must be in the same folder. It should also work on smartphones.

Cheers
Title: Re: Oxygen Basic Help file
Post by: Charles Pegge on January 22, 2026, 11:28:03 PM
Thanks Nicola. Very interesting.
I found that the JSON data does not tolerate line breaks in the field data but it will support <br >

For instance in the redim entry in OxyDatabase.txt
key:      "redim 18"
action:  create or resize a dynamic array, preserving contents within range
use:      extend or reduce an array size at run-time
example: 
  redim string s(n)
  redim string s(1000)
  redim string s(100) clear
  int y=100, x=100
  redim int a2d (y,x)

  'use [redim] when passing to a procedure:

  sub f(int *fa2d[redim], int y, x)
    redim fa2d(y,x)
  end sub
  ...
  del a2d
remarks: 
  The remaining element values are preserved unless
  the 'clear' directive is given.

  redim cannot be directly used inside a Type or Class.
related:  remap, dim, dyn, lbound, ubound, del, new, indexbase
group:    system macro
updated:  02/03/2025

in data.js redim with multi-line example:
  {"id":"redim","group":"system macro","action":"create or resize a dynamic array, preserving contents within range","use":"extend or reduce an array size at run-time","related":"dim, new, indexbase","example":"  redim string s(n)<br> redim string s(1000)<br>  redim string s(100) clear<br>  int y=100, x=100<br>  redim int a2d (y,x)<br>"},

Title: Re: Oxygen Basic Help file
Post by: Nicola on January 24, 2026, 03:44:20 PM
Thanks, Charles
The problem is that I only put the content of oxykeyw in data.js  :-[
Title: Re: Oxygen Basic Help file
Post by: Charles Pegge on January 24, 2026, 04:58:03 PM
Now I can generate the JSON data.js directly from a new tools\ManualGenerator\ with some new fields: result incstring1 incstring2 members. These include JSON escape encodings for lines, quotes,tabs etc. I hope this helps :)

updated later.
Title: Re: Oxygen Basic Help file
Post by: Nicola on February 02, 2026, 03:32:05 PM
Hi Charles, 
great stuff. One problem I've noticed is that some groups come out, like blocks, which maybe aren't even needed...
Title: Re: Oxygen Basic Help file
Post by: Zlatko Vid on February 02, 2026, 04:51:52 PM
vedi anche   :o
Title: Re: Oxygen Basic Help file
Post by: Charles Pegge on February 08, 2026, 02:55:02 PM
Further progress: The group folding makes more sense, and "members:" links are provided in the database as well as "related:" links
Title: Re: Oxygen Basic Help file
Post by: Nicola on February 08, 2026, 09:28:56 PM
Excellent Charles,
it is certainly very comfortable and fast. And the fact that this also allows it to be used on smartphones makes it intriguing.