Page 1 of 1

Posted: Fri Sep 14, 2001 6:03 pm
by BackupUser
Restored from previous forum. Originally posted by preacher.

I know that all functions are supposed to be directly available in Pure Basic but it seems like some functions are not even I locate them manually in the lib file directory. Like glVertex##(params..) where ## can be anything including 2f
2i and so on witch are commands I know exists and work from C/C++..
Does anyone know why?



[Preacher]

Posted: Fri Sep 14, 2001 10:19 pm
by BackupUser
Restored from previous forum. Originally posted by Mr.Skunk.

Sorry, i don't understand your question (some problems with my english). Can you explain more clearly please?


Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st

Posted: Fri Sep 14, 2001 10:25 pm
by BackupUser
Restored from previous forum. Originally posted by preacher.

My question is this: why doesn't glVertex2f(100,100) work?
The Pure Basic output is:

Starting compilation
Line 53: glVertex2f_() is not a function, an array, or a linked list

Thx in advance.
Preacher




[Preacher]

Posted: Fri Sep 14, 2001 10:29 pm
by BackupUser
Restored from previous forum. Originally posted by Mr.Skunk.

The reason for this message is that the function is simply not included in the PBCompiler.


Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st

Posted: Fri Sep 14, 2001 10:39 pm
by BackupUser
Restored from previous forum. Originally posted by preacher.

But why are they (there are several others) not when all windows libs are and opengl is infact a part of that. I guess Fred has to answer that.

Anyway Thanks Mr. Skunk.

Preacher



[Preacher]