Author Topic: PluriBASIC - Progress of the implementation for Oxygen  (Read 834 times)

0 Members and 1 Guest are viewing this topic.

Offline Brian Alvarez

  • Moderator
  • Full Member
  • *****
  • Posts: 133
    • PluriBASIC
Re: PluriBASIC - Progress of the implementation for Oxygen
« Reply #30 on: December 08, 2018, 10:34:19 PM »
ARRAYATTR()

Semi complete. I need to make sure everything is absolutely correct.

Example:

Code: [Select]
DIM ids(10, 2, 2) as long

? STR$(ARRAYATTR(ids(), 3))

' returns 3

Offline Brian Alvarez

  • Moderator
  • Full Member
  • *****
  • Posts: 133
    • PluriBASIC
Re: PluriBASIC - Progress of the implementation for Oxygen
« Reply #31 on: December 11, 2018, 09:04:19 PM »
Behold... complex udt structures!  :)

An element of an dimensional udt member of an array of UDT's being assigned a value.
« Last Edit: December 11, 2018, 09:20:37 PM by Brian Alvarez »

Offline Brian Alvarez

  • Moderator
  • Full Member
  • *****
  • Posts: 133
    • PluriBASIC
Re: PluriBASIC - Progress of the implementation for Oxygen
« Reply #32 on: December 14, 2018, 11:15:56 PM »
THREAD CREATE ThreadFunction(Value&) TO hThread#
THREAD STATUS hThread# TO nResult&

Complete. Also, the engine now supports all the THREAD statements, but there is no code generated for them yet.

Also, the following features are complete:
  • BYREF
  • BYVAL
  • BYCOPY (Thanks charles!)
Tested for:
  • Array elements.
  • Regular variables.
  • UDT members for Arrays of UDT's.
  • UDT members for regular UDT's.
Still not tested for class variables.

Also:
  • Arrays now fully support most data types, including UDT's.
  • UDT's now support elements of all data types.
  • UDT's now support dimensional members with multiple dimensions and variable bounds.

 There are also hundreds of internal improvements and new features.
I am getting closer to be able to port most available examples.