Help on Help

Started by Nicola, December 12, 2021, 11:57:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pierre Bellisle

  •  

Zlatko Vid

thanks from me to !!!
  •  

Nicola

Hi Charles,
I can't find information on the following words:
PURE, OBJECTS, OOP, INHERITS.
Could you give them to me to put them in the HELP file.

Cheers

Charles Pegge

Hi Nicola,

I'll update my records in inf/o2keyw.txt and I need to rewrite classes.o2bas.

[group topics, non-keyword:
OBJECTS  same as classes
OOP      sames as classes

secondary keywords:
INHERITS no longer used
PURE     same as virtual (used in C++)
'


Nicola

Thanks Charles,
I put these notes in the HELP file.

Pierre Bellisle

Hi Nicola,

For your next help chm release.
endsel is no more supported an can be removed.
endselect and end select remain as is.
  •  

Nicola

Hi Pierre,
I edited the Help file.
Thanks for the info.
Cheers

Nicola

Hi,
Due to the fact that it is no longer possible for me to edit the post, I had to change the site where to post the chm help file. You can find it at the bottom of my posts.

Cheers

Nicola

#53
@Charles.
The SKIP command is not yet implemented. In the file "o2keyw.txt" it is present, but it seems that it has not been implemented. The demo program also does not exist.
News about it?

Cheers

key:      "scope 52"
key:      "skip 52"
key:      "o2 52"
key:      "( 52"
groupref: blocks
group:    blocks
incfile1: demos\basics\macros.o2bas
related:  procedures, macros
updated:  24/02/2017

Also, is there any information about  "NOPROTO"?

Charles Pegge

Hi Nicola,

The skip block is now obsolete, I'll remove it from the manual / o2keyw.txt

key:      "scope 52"
key:      "inner 52"
key:      "module 52"
key:      "namespace 52"
key:      "o2 52"
key:      "( 52"
groupref: blocks
group:    blocks
related:  procedures, macros
updated:  30/04/2023

Nicola

Hi Charles.
ok for SKIP, I delete it from the HELP. 
And what about NOPROTO?

Nicola

Hi.
I updated the Help file on GitHub  :)

Theo Gottwald

Quote from: Nicola_Piano on April 20, 2023, 12:03:16 PMHi,
Due to the fact that it is no longer possible for me to edit the post, I had to change the site where to post the chm help file. You can find it at the bottom of my posts.

Cheers

And now ... can you do it?

Charles Pegge

noproto was replaced by nosig.

I have removed it from this group:
key:      "function 52"
key:      "sub 52"
key:      "method 52"
key:      "gosub 52"
groupref: procedures
group:    procedural blocks
incfile1: demos\basics\procedures.o2bas
related:  macro
updated:  30/04/2023
.

This is a group of secondary keywords associated with procedures:
key:      "declare 54"
key:      "! 54"
key:      "function 53"
key:      "sub 53"
key:      "ptr 53"
key:      "alias 53"
key:      "lib 53"
key:      "stdcall 53"
key:      "cdecl 53"
key:      "pascal 53"
key:      "ms64 53"
key:      "as 53"
key:      "export 53"
key:      "extern 53"
key:      "external 53"
key:      "callback 53"
key:      "link 53"
key:      "at 53"
key:      "= 53"
key:      "label 53"
key:      "nosig 53"
groupref: declarations
group:    declaring procedures
keywords:

  <b>Left-side keywords:</b>

  ¬declare¬
  ¬!¬
  same as 'declare'
  ¬function¬
  optional
  ¬sub¬
  optional
  ¬ptr¬
  function pointer
  ¬*¬
  function pointer
  ¬alias¬
  exact name of the function in the dll (dynamic link library)
  optional if the function name is an exact match
  ¬lib¬
  name of dll
  ¬stdcall¬
  calling convention (32bit default)
  ¬cdecl¬
  C calling convention (32bit)
  ¬pascal¬
  pascal calling convention (32bit)
  ¬ms64¬
  MS calling convention (64bit default)


  <b>Right-side keywords:</b>

  ¬as¬
  type of return value
  ¬link¬
  store function location to specified variable.
  ¬at¬
  specify pointer to the function location
  ¬=¬
  same as 'at'
incfile1:
related:  procedures, types
updated:  18/01/2021
.

It needs further work


Nicola

Hi Theo, I tried. You can edit it and attach the new file.
You were good at fixing everything. ;)