Computer Science Canada Functions inside records |
Author: | Danjen [ Mon Mar 12, 2007 12:03 am ] | ||
Post subject: | Functions inside records | ||
Here's what I have so far:
It displays a variable has no value error ... where and how would I correct this? |
Author: | Clayton [ Mon Mar 12, 2007 6:50 am ] | ||
Post subject: | Re: Functions inside records | ||
that's because you have not given Firebolt any value. All it knows is that Firebolt should hold a function with two integer parameters. You have to create the function outside of the record, and assign that function to Firebolt like so:
![]() |