Function to find text between two tags

The question is purely procedural. Also, OP explicitly demands "default uses" clauses. Furthermore, even the compiler directives (see 1 and 2) related to the $IOCHECK are portable, as a result, one should be able to compile this code with the major pascal compilers.

| |

one should be able to compile this code with the major pascal compilers.

Being able to compile this code with major pascal compilers is one thing, writing the code as being meant to be compiled in the major pascal compilers is another thing.

Let's say that you wrote some C code, and it just happened to be C++ compilable as well, would the question then have both tags? In my opinion, no.

By specifying only one language tag, other reviewers know better what things may or may not be possible in that language.

In my opinion, the question does not need a tag.

Related: Some sites have an entire tag for code that runs in multiple languages, Code Review questions should specify the language the code was written in, not all the languages it just happens to compile in.

| |
  • \$\begingroup\$ But what about the first thing I mentioned? Code is purely procedural. \$\endgroup\$ – cpicanco Nov 26 '15 at 19:24
  • \$\begingroup\$ In another way, pascal code should be tagged as delphi just because the compiler used? \$\endgroup\$ – cpicanco Nov 26 '15 at 19:27
  • \$\begingroup\$ @cpicanco Doesn't matter that the code is purely procedural. It is possible to write procedural code in Delphi. It is Delphi code, as it was written in Delphi. \$\endgroup\$ – Simon Forsberg Nov 26 '15 at 19:42
  • \$\begingroup\$ I am following the description of the Pascal tag. So, it is matter. \$\endgroup\$ – cpicanco Nov 26 '15 at 19:47
  • \$\begingroup\$ @cpicanco Then it sounds to me like you should consider following the Delphi tag as well. \$\endgroup\$ – Simon Forsberg Nov 26 '15 at 20:29
  • \$\begingroup\$ I am doing so, Delphi as a dialect, is only evidently recognize when 1) you use specific VCL or non visual components or 2) you use "third party" specific components or 3) you inherit and use the object oriented goodies or 4) you use specific compiler directives or 5) something I am missing (sorry about it). This statement is returning false to me :) \$\endgroup\$ – cpicanco Nov 26 '15 at 20:41
  • 1
    \$\begingroup\$ @cpicanco By using the delphi tag on the question though you are essentially saying that you can use all those things. If the question would be tagged with pascal then it would signal that the possible improvements are limited to the things that are possible in Pascal. Again, I think tagging this question with pascal is a bad idea. \$\endgroup\$ – Simon Forsberg Nov 26 '15 at 20:43
  • \$\begingroup\$ Sorry, but I am not sure why this specific question should be Delphi instead Pascal. \$\endgroup\$ – cpicanco Nov 26 '15 at 20:48
  • \$\begingroup\$ @cpicanco The delphi compiler was used to compile it, therefore it should be tagged with delphi. \$\endgroup\$ – Simon Forsberg Nov 26 '15 at 20:49
  • \$\begingroup\$ Please, could you add this info in the answer? \$\endgroup\$ – cpicanco Nov 26 '15 at 20:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .