Author Topic: undefined types  (Read 903 times)

0 Members and 1 Guest are viewing this topic.

Offline James C. Fuller

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 594
undefined types
« on: June 15, 2019, 06:48:48 PM »
Charles,
   I found a couple of undefined types while testing some of the samples.
    examples\oop\features\Classic.02bas
    examples\oop\features\Isolate_globals.o2bas
James


Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 670
    • Charles Pegge
Re: undefined types
« Reply #1 on: June 16, 2019, 12:17:53 PM »
Thanks James.

I'll check the OOP files again, and I think the Pool example can be dispensed with.


Offline Chris Chancellor

  • Sr. Member
  • ****
  • Posts: 317
Re: undefined types
« Reply #2 on: June 23, 2019, 06:09:55 PM »
Hello Charles

Are there any more changes such as 

 
        zstring * 64

       be converted to

       as String


  i haven't started compiling my old programs under the new O2 beta version yet
 but need to know more before jumping into it



Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 670
    • Charles Pegge
Re: undefined types
« Reply #3 on: June 23, 2019, 06:43:55 PM »
Yes.

If you are using low-level Unicode types:

bstring2 is changed to wbstring
zstring2 is changed to wzstring (wzstring is the same as wchar)

Also, $ & % endings are no longer ignored, but this is easy to detect.

Offline Chris Chancellor

  • Sr. Member
  • ****
  • Posts: 317
Re: undefined types
« Reply #4 on: June 23, 2019, 11:35:56 PM »
Thanxx a lot  Charles