May 04, 2024, 01:33:37 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


rnd or RAND undeclared

Started by Todd Riggins, August 10, 2006, 01:33:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Todd Riggins

Hi, I have the latest alpha 3 rev 8 build

I'm getting warning: undeclared function 'rnd'

even for 'RAND'

This happened when I just tried "oop1.src" and the 3d example paul gave for pointlist to draw a starfield.

I tried to search this forum for related issue. But I haven't found anything close yet.

Any help/info be much apprieciated.
thanks
Brought to you buy: http://www.exodev.com

sapero

I had same problem after last update, but solved it: probably you have installed C headers :)
Try to rename file /aurora/include/math.inc
or change /aurora/bin/acommon.inc -> include "math.inc" to #include "..\\bin\\math.inc"
I hope Paul apply this small change for all includes in /bin for the next update ;D

John Syl.

No problem here, standard install compiles ok with rnd and rand.

John
Intel 3.6 p4 ht, XP home,2 gb mem, 400 gb hd 20gb raid 0, Nvidia 6600le.
AMD k6-2 500, 40gb.

Started on PDP11 Assembler, BASIC, GWBASIC, 6502, Z80, 80x86, Java, Pascal, C, C++, 
IBasic (std & pro), Aurora, EBasic.  (Master of none, but it's been fun!)

Ionic Wind Support Team

I'll probably just rename the math.inc file for the beta's.  If you've installed Sapero's include files then you need to watch out for naming conflicts.
Ionic Wind Support Team

Todd Riggins

This time I just deleted the the whole directory and did a fresh new clean install of Aurora and it the rnd, Rand works again. Thanks.

Yup, I'd had just download sapero's download that had the opengl stuff I wanted to check out last week. But unfortunitely, I had problems compiling the examples. Most likely was the naming conflicts mentioned.
Brought to you buy: http://www.exodev.com