Weird Errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RobbyH
    Forum Member
    • Jan 2003
    • 74

    Weird Errors

    When previewing my project, I get a weird error. It syas nothing except "error", with a exclamation mark picture in a triangle.
    I have had this problem twice now, although one seems to have disappeared. Both times seem to be in action lists using if, else, and end if statements. I have gone over this stuff in the help, and see nothing I have done wrong. I have at least 5-10 of these statements, that look like this.

    if something= something
    do this
    else
    do this
    if something2=something2
    else
    do this

    And it continues like this. At the end I have an end if.
    Have I done something wrong?
  • eric_darling
    Indigo Rose Customer
    • Jun 2002
    • 1805

    #2
    Re: Weird Errors

    Each if statement needs its own endif, I think.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

    Comment

    • RobbyH
      Forum Member
      • Jan 2003
      • 74

      #3
      Re: Weird Errors

      The actions are completed, despite the errors. I am not sure if that would be the reason.

      Comment

      • TJ_Tigger
        Indigo Rose Customer
        • Sep 2002
        • 3159

        #4
        Re: Weird Errors

        Can you do a Ctrl+Shft+C and copy and paste the actions here?
        TJ-Tigger
        "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
        "Draco dormiens nunquam titillandus."
        Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

        Comment

        • RobbyH
          Forum Member
          • Jan 2003
          • 74

          #5
          Re: Weird Errors

          Yes. I noticed that when if it gets all the way to the part where it pops up a message box saying you can only have "10 questions", it doesn't do it. I'm trying to work with that to figure it out, but I could use the help, I've tried everything.

          The actions are

          <IR_ACTIONS_LIST>
          <Action name="Get Information">
          <Type>136</Type>
          <Function>0</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <DialogTitle>Holley Easy Diary</DialogTitle>
          <FieldTitle>Please enter your question</FieldTitle>
          <DefaultText>Example: What was a good thing that happened to you today?</DefaultText>
          <BrowseType>0</BrowseType>
          <Mask>0</Mask>
          <Variable>%newquestion%</Variable>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%newquestion% = ""</Condition>
          </Action>
          <Action name="Message Box">
          <Type>5</Type>
          <Function>0</Function>
          <DTIndentLevel>1</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <DialogTitle>Holley Easy Diary</DialogTitle>
          <DialogMessage>You did not type anything.</DialogMessage>
          <Icon>2</Icon>
          <Variable>%Result%</Variable>
          <DialogType>0</DialogType>
          <DefaultButton>0</DefaultButton>
          </Action>
          <Action name="END IF">
          <Type>201</Type>
          <Function>1</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%newquestion% = CANCEL</Condition>
          </Action>
          <Action name="RETURN">
          <Type>207</Type>
          <Function>1</Function>
          <DTIndentLevel>1</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="END IF">
          <Type>201</Type>
          <Function>1</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question1</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>1</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>1</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question1</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>1</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question2</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>1</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question2</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>1</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question3</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question3</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question4</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question4</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question5</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question5</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question6</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question6</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question7</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question7</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question8</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question8</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question9</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question9</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Get Value">
          <Type>100</Type>
          <Function>0</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Variable>%makequestion%</Variable>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question10</ValueName>
          </Action>
          <Action name="IF">
          <Type>200</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <Condition>%makequestion% = ""</Condition>
          </Action>
          <Action name="Remove">
          <Type>120</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <TargetListBox>ListBox1</TargetListBox>
          <RemoveType>1</RemoveType>
          <Index/>
          <IndexDelimiter>;;</IndexDelimiter>
          </Action>
          <Action name="Set Value">
          <Type>20</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <FileName>%SrcDir%\files\%username%\%username%opti ons.ini</FileName>
          <Section>questions</Section>
          <ValueName>question10</ValueName>
          <ValueData>%newquestion%</ValueData>
          </Action>
          <Action name="ELSE">
          <Type>206</Type>
          <Function>1</Function>
          <DTIndentLevel>2</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="Message Box">
          <Type>5</Type>
          <Function>0</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          <DialogTitle>Holley Easy Diary</DialogTitle>
          <DialogMessage>You can only have ten questions.</DialogMessage>
          <Icon>3</Icon>
          <Variable>%Result%</Variable>
          <DialogType>0</DialogType>
          <DefaultButton>0</DefaultButton>
          </Action>
          <Action name="RETURN">
          <Type>207</Type>
          <Function>1</Function>
          <DTIndentLevel>3</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          <Action name="END IF">
          <Type>201</Type>
          <Function>1</Function>
          <DTIndentLevel>0</DTIndentLevel>
          <Enabled>1</Enabled>
          <ErrorHandling>
          <UserNotificationMode>2</UserNotificationMode>
          <CustomErrorMessage/>
          <OnErrorAction>0</OnErrorAction>
          <JumpToLabel/>
          </ErrorHandling>
          </Action>
          </IR_ACTIONS_LIST>

          Thanks, Rob

          Comment

          • TJ_Tigger
            Indigo Rose Customer
            • Sep 2002
            • 3159

            #6
            Re: Weird Errors

            First, I would put an ENDIF after each IF statement. Here are the actions listed in short hand. You only have three END IF statements. Two for the first two statements and one at the very end. I would change this first. Also, can you provide a description of what it is you are trying to do? It looks like you are asking for the user to input questions, is this correct?

            thanks
            Tigger

            %newquestion% = Dialog.GetInformation ("Holley Easy Diary", "Please enter your question")
            IF (%newquestion% = "")
            %Result% = Dialog.MessageBox ("Holley Easy Diary", "You did not type anything.", Ok, Information)
            END IF
            IF (%newquestion% = CANCEL)
            RETURN
            END IF
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question1")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question1", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question2")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question2", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question3")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question3", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question4")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question4", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question5")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question5", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question6")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question6", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question7")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question7", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question8")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question8", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question9")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question9", "%newquestion%")
            ELSE
            %makequestion% = INIFile.GetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question10")
            IF (%makequestion% = "")
            ListBoxObject[ListBox1].Remove (All)
            INIFile.SetValue ("%SrcDir%\files\%username%\%username%options.ini" , "questions", "question10", "%newquestion%")
            ELSE
            %Result% = Dialog.MessageBox ("Holley Easy Diary", "You can only have ten question...", Ok, Question)
            RETURN
            END IF
            TJ-Tigger
            "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
            "Draco dormiens nunquam titillandus."
            Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

            Comment

            • Derek
              Indigo Rose Customer
              • May 2001
              • 1254

              #7
              Re: Weird Errors

              May be easier to export the page and attach it
              -
              = Derek
              ["All glory comes from daring to begin" - fortune cookie]

              Comment

              • RobbyH
                Forum Member
                • Jan 2003
                • 74

                #8
                Re: Weird Errors

                How do you attach things anyway? I wanted to do so another time, but couldn't find how to do it.

                Comment

                • Derek
                  Indigo Rose Customer
                  • May 2001
                  • 1254

                  #9
                  Re: Weird Errors

                  Um ... seems to have gone! Corey, what you done with it??
                  -
                  = Derek
                  ["All glory comes from daring to begin" - fortune cookie]

                  Comment

                  • _acecombat_
                    Forum Member
                    • Dec 2002
                    • 20

                    #10
                    Re: Weird Errors

                    Corey ate it! Well anywayz u could always upload to a free site server such as tripod while the upload thingy isnt here coz thats the only thing i can think of

                    Comment

                    Working...
                    X