Page 1 of 1

Posted: Sun Feb 23, 2003 1:28 pm
by BackupUser
Restored from previous forum. Originally posted by BalrogSoft.

Hi...

Its would be a great feature that procedurereturn command supports another type of variables such as floats and strings. In the 3d engine that im programming i must multiply the position of objects and cams for 100000 and after divide by 100000 to get a float value.

Bye, Balrog Soft.

Balrog Soft
Amiga and PC Coder
http://www.balrogsoftware.com
[url]mailto:balrog@balrogsoftware.com[/url]

Posted: Sun Feb 23, 2003 2:04 pm
by BackupUser
Restored from previous forum. Originally posted by plouf.

it is and it does :)

Christos

Posted: Sun Feb 23, 2003 4:41 pm
by BackupUser
Restored from previous forum. Originally posted by GPI.

@balrogSoft

I think you declare the procedure wrong.

try this:

Code: Select all

procedure.s returnstring()
  procedurereturn "hallo"
endprocedure

debug returnstring()

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB

Posted: Sun Feb 23, 2003 4:49 pm
by BackupUser
Restored from previous forum. Originally posted by GPI.
Originally posted by GPI

@balrogSoft

I think you declare the procedure wrong.

try this:

Code: Select all

procedure.s returnstring()
  procedurereturn "hallo"
endprocedure

debug returnstring()
PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB

Posted: Sun Feb 23, 2003 5:09 pm
by BackupUser
Restored from previous forum. Originally posted by BalrogSoft.

Thanks GPI, i will try later...
Originally posted by GPI

@balrogSoft

I think you declare the procedure wrong.

try this:

Code: Select all

procedure.s returnstring()
  procedurereturn "hallo"
endprocedure

debug returnstring()

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
[/quote]

Balrog Soft
Amiga and PC Coder
[url]http://www.balrogsoftware.com[/url]
[url]mailto:balrog@balrogsoftware.com[/url]