[Seed7-users] Compile-time errors
Interpreter and compiler for the Seed7 programming language.
Brought to you by:
thomas_mertes
From: Duke N. <duk...@gm...> - 2022-06-11 05:04:38
|
s7 sandbox.sd7 SEED7 INTERPRETER Version 5.1.632 Copyright (c) 1990-2022 Thomas Mertes *** sandbox.sd7(34):52: Match for {choice ::= "" } failed end func; -----------^ *** sandbox.sd7(34):32: Declaration of "choice" failed end func; -----------^ *** sandbox.sd7(19):52: Match for {choice getc } failed getc(choice); *** sandbox.sd7(34):32: Declaration of "main" failed end func; -----------^ The code is here: https://controlc.com/662efc7b The error msgs are not very informative IMHO. Would you clarify please. I must say that once again I find myself struggling to learn your programming language. You have very detailed language specs, but very few simple examples of everything possible. Newcomers to Seed7 have to hut and search and dig for examples at the rosettacode site. That is /not/ good advocacy! It's too bad that this is the situation, because you might have a popular and productive language if there was a comprehensive tutorial to learn it from. Anyway, if you could set me straight for my current issue, then I might be able to keep on going. TIA .. -- Duke ** Bottom-posting, text-only is the netiquette way! ** |