+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    kezze is offline Uncommon
    Join Date
    Nov 2008
    Posts
    54

    Default Problem with interactive program

    I am doing Academy BASIC 104 module and am stuck in the first part of the interactive program. It asks for my name and it keeps telling me to redo from start. I typed in the program exactly as it appeared in the course

  2. #2
    chronodev's Avatar
    chronodev is offline Founder
    Join Date
    Oct 2008
    Location
    California
    Posts
    2,264

    Default

    Type the following into your console:

    LIST 20

    post what you get
    chronodev
    Founder, RarityGuide.com
    "We're so busy watching out for what's just ahead of us that we don't take time to enjoy where we are." -Calvin & Hobbes

  3. #3
    kezze is offline Uncommon
    Join Date
    Nov 2008
    Posts
    54

    Default

    20 INPUT AS
    Last edited by kezze; 11-03-2008 at 02:29 AM.

  4. #4
    chronodev's Avatar
    chronodev is offline Founder
    Join Date
    Oct 2008
    Location
    California
    Posts
    2,264

    Default

    You have AS instead of A$. The second character should be a dollar sign, not the letter 'S'.

    The Dollar sign is used to tell the computer that the variable will store string data (such as a word or a sentece). Omit the Dollar sign if you are planning on storing a number in that variable (if you are not certain what you will store, use the dollar sign)

    Since S and $ might look similar to some, I will add a clarification in the module that line 20 has a dollar sign and not the letter 'S'
    chronodev
    Founder, RarityGuide.com
    "We're so busy watching out for what's just ahead of us that we don't take time to enjoy where we are." -Calvin & Hobbes

 

 

Similar Threads

  1. interactive program that will
    By Guest 1030 in forum Guests
    Replies: 0
    Last Post: 07-14-2010, 04:28 PM
  2. interactive basic program
    By Guest 1353 in forum Guests
    Replies: 0
    Last Post: 06-19-2010, 04:17 PM
  3. Replies: 0
    Last Post: 04-06-2010, 01:04 PM
  4. well there's your problem right there
    By Guest 2452 in forum Guests
    Replies: 0
    Last Post: 03-22-2010, 11:01 PM
  5. Academy BASIC: 104 - An Interactive BASIC Program Posted
    By chronodev in forum Commodore Basic Classroom
    Replies: 0
    Last Post: 11-03-2008, 12:16 AM




All times are GMT -7. The time now is 05:41 AM. Copyright (c) 2008 - 2011 RarityGuide, Inc. All rights reserved. All trademarks and copyrights are the property of their respective owners.