Page 1 of 1

No auto completition within terms

Posted: Fri Feb 01, 2008 5:26 pm
by AND51
Hello!

The IDE does not auto complete in this case (whereas | stands for the cursor):

Code: Select all

*addr=DrawingBuffer()
For pixel=0 To SpriteHeight(0)*drawingbuff|
Next
The command DrawingBufferPitch(), which I attempted to access, is not being listed (the list itself doesn't even open).

Pay attention that this happens within in a term. If I write the command to a new line, it will be autocompleted. Furthemore, this is not only DrawingBufferPitch(), this applies to all commands. I just tested it with OpenWindow() again to be sure.

Posted: Fri Feb 01, 2008 5:51 pm
by AND51
This issues seems to be caused by the operator '*' (multiply).
Try this, using the operator '/' (divide) and it works:

Code: Select all

StartDrawing(SpriteOutput(0))
	*addr=DrawingBuffer()
	Debug SpriteHeight(0)*SpriteHeight(0)
	Debug SpriteHeight(0)*DrawingBufferPitch()/drawingbu|
	End
StopDrawing()
| = Cursor

Posted: Fri Feb 01, 2008 11:31 pm
by #NULL
yes, i noticed that sometimes too.
seems to think it's an undefined *pointer, so no autocompletion.