real const's

Posted on 2004-11-09
Last Modified: 2010-04-05
ok I am missing something very simple here and am too tired to notice - help!

I want simply to delcare newtons gravitational constant (6.67x10^-11 if you didnt know)  as a constant ! help! it doesnt seem to like

        GavConst:  6.67E-11;

Question by:DavidBirch2dotCom
    LVL 17

    Accepted Solution

    Should be
      GavConst =  6.67E-11;
    LVL 7

    Author Comment

    LVL 7

    Author Comment

    the perils of sleep deprevation!
    LVL 17

    Expert Comment

    Everybody faced this sometimes :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now