BASIC

Author Topic: V8 beta  (Read 56613 times)

Offline Kuron

  • Mr. Polyvector
  • ***
  • Posts: 238
    • View Profile
Re: V8 beta
« Reply #30 on: 2010-Jun-10 »
Thank you for the update!

MrTAToad

  • Guest
Re: V8 beta
« Reply #31 on: 2010-Jun-11 »
One slight problem :

This loop is okay :
Code: GLBasic [Select]
self.row[newSize%].TColumn_Initialise()

However, when you try to add a value to newSize% (an offset, if you will), eg :

Code: GLBasic [Select]
self.row[newSize%+1].TColumn_Initialise()

The compiler generates an "error : call to undefined function : TColumn" error

MrTAToad

  • Guest
Re: V8 beta
« Reply #32 on: 2010-Jun-14 »
Occasionally I have noticed that the editor cursor isn't displayed after a program exits - you have to select a different window before returning for it to be displayed.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10708
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: V8 beta
« Reply #33 on: 2010-Jun-14 »
GAH! I've been trying to fix that about a dozent times now. So a stupid error. In Debug mode or release?

MrTAToad

  • Guest
Re: V8 beta
« Reply #34 on: 2010-Jun-14 »
Both!

Offline hardyx

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 491
    • View Profile
Re: V8 beta
« Reply #35 on: 2010-Jun-18 »
Currently, NOT wont invert the sign of a number :

Code: GLBasic [Select]
DEBUG NOT(-1)+"\n"
DEBUG NOT(1)+"\n"

Both return 0
Operator NOT inverts a boolean expression, not inverts the sign. Any number not zero is evaluated to true and the zero is false. Then, I think your test is ok.

NOT(-1)   -->  NOT(true)  --> false  --> 0
NOT(1)    -->  NOT(true)  --> false  --> 0

« Last Edit: 2010-Jun-18 by hardyx »

MrTAToad

  • Guest
Re: V8 beta
« Reply #36 on: 2010-Jun-18 »
Yes - I would like NOT to work on both boolean operators and arithmetic ones

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10708
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: V8 beta
« Reply #37 on: 2010-Jun-18 »
that exists. bNOT().

MrTAToad

  • Guest
Re: V8 beta
« Reply #38 on: 2010-Jun-18 »
Ooh - yes!  Forgot about that...

MrTAToad

  • Guest
Re: V8 beta
« Reply #39 on: 2010-Jun-19 »
One other thing - I have noticed that the editor lists functions in types twice - once with % and once without

[EDIT]
Fixed.

[attachment deleted by admin]
« Last Edit: 2010-Jun-23 by Kitty Hello »

MrTAToad

  • Guest
Re: V8 beta
« Reply #40 on: 2010-Jun-22 »
Dont forget JPEG's :)

NETWEBGET doesn't seem to be working in V8 on a Windows 7 or XP machines - Scramble is just returning an empty scores.ini file, for example.

Could someone else test as its quite possible my router playing around :)
« Last Edit: 2010-Jun-22 by MrTAToad »

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10708
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: V8 beta
« Reply #41 on: 2010-Jun-23 »
Also, can you try the NETWEBGET$ instead? It sounds like one of those "try to read before you write" bugs on Windows 7.

MrTAToad

  • Guest
Re: V8 beta
« Reply #42 on: 2010-Jun-23 »
Both seem to be a problem - NETWEBGET returns 0, whilst NETWEBGET$ doesn't create the output file.
[edit]fixed.

I'm not sure SHELLCMD works on Linux on Ubuntu 10 - the clipboard routine doesn't seem to work.
« Last Edit: 2010-Jun-25 by Kitty Hello »

MrTAToad

  • Guest
Re: V8 beta
« Reply #43 on: 2010-Jun-24 »
When used to print some text, some font sizes dont produce readable characters.  I've included one font as an example.

[attachment deleted by admin]

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10708
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: V8 beta
« Reply #44 on: 2010-Jun-24 »
the font is square and thus considered as 128 characters. Sorry. A bug in the font creator?