Re: [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-12 13:44:29
|
On Sun, 12 Jun 2022 11:01:01 +0200 Thomas Mertes <tho...@gm...> wrote: > On Sat, 11 Jun 2022 07:04:00 +0200 Duke Normadin > <dukeof...@gm...> wrote: > > 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; > > -----------^ > > Unfortunately this error message refers to the wrong line (34) > instead of the correct one (7). I will look into this issue. > The error message actually refers to the line > > var char: choice is ""; > > where you try to initialize a char variable with a string literal. > Char and string are different types so initializing a char with > a string is not possible. [snip] Thank you for your reply! and advise! and corrections! and suggestions! All good learning materials. Duke ** Bottom-posting, text-only is the netiquette way! ** |