The Dink Network

Reply to Re: Updated File: GNU FreeDink

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 13th 2014, 05:12 PM
farmer.gif
Beuc
Peasant He/Him France
 
Can you copy/paste the exact code that works for you?
void main ( void )
{
  choice_start()
  //Here we see what options we have:
  "Option 1"
  "Option 2"
  choice_end()  
}

doesn't work anywhere and you should see "Dink:Error with choice() statement in script key-65, offset 73. (//Here we see what options we have:?)" in the debug log.

With the comment above choice_start():
void main ( void )
{
  //Here we see what options we have:
  choice_start()
  "Option 1"
  "Option 2"
  choice_end()  
}

it works everywhere, so we've got textbook compatibility.

I must be missing something obvious.