BBC BASIC for Windows
« D3DX8 - Teapot »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 11:10pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: D3DX8 - Teapot  (Read 631 times)
Kirkkaf13
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 28
xx D3DX8 - Teapot
« Thread started on: Oct 25th, 2013, 3:50pm »

Hello,

I have been examining the D3DLIB and Teapot example, reading the documentation on the functions used to help me understand what is happening.

Using 'TO' within 'SYS' allows integers to be returned as shown in D3DLIB:
Code:
SYS"GetProcAddress",X%,"Direct3DCreate8" TO X%
 

I am trying to understand what this syntax is:
Code:
SYS "GetProcAddress", d3dx%, "D3DXCreateTeapot" TO `D3DXCreateTeapot` 


What is `D3DXCreateTeapot`? Is this a variable? What are the '`' characters for?
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: D3DX8 - Teapot
« Reply #1 on: Oct 25th, 2013, 5:29pm »

on Oct 25th, 2013, 3:50pm, Kirkkaf13 wrote:
What is `D3DXCreateTeapot`? Is this a variable? What are the '`' characters for?

Yes, it's an ordinary numeric variable. The ` characters are just a whim: they are legal in a variable name but are rarely used so I like to give them an occasional outing!

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls