Oxygen Basic Help file

Started by Nicola, February 02, 2022, 10:33:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nicola

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

Nicola

#1
Hi Theo,
I would like to edit this post but I'm not allowed, why?

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

Nicola

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

Theo Gottwald

Anybody else has problems editing past posts?
Please tell me  I need to know.

Johan Klassen

I also can't edit my previous post, but I can edit this post

Theo Gottwald

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.

Nicola

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?

Johan Klassen

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

Nicola

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.

Nicola

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

Charles Pegge

#10
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>"},