Archive
Gotcha: no prefix increment/decrement VB.net operators, but get parsed
In C/C++ and C# one has useful prefix (++index) and postfix (index++) increment operators and corresponding decrement ones.
Although they have a single operant, they’re not working like functions as single + or – prefix would do, but instead they cause side-effects – they edit the variable passed to them. The prefix increment operator first increases a variable’s value, then returns it as result, while the postfix one first returns a variable’s value, then increases it.
Visual Basic.net doesn’t have such operators (and they don’t seem to plan to add such from their response on related feedback at Microsoft Connect.
However, if you type-in
Dim x = ++y
the compiler won’t complain. In fact, it won’t complain even if you type
Dim x = +++++y
The reason is because it thinks this last crazy-looking expression is:
Dim x = +(+(+(+(+y))))
Similarly, it accepts expressions like
Dim x = –y
and
Dim x = —–y
So a programmer coming from C# or converting C# code to VB.net has to be extra careful when converting ++index expressions to use their own implementation as a function that takes a ByRef parameter
LvS (Learning via Subtitling) opensource VB.NET application for FLL learning
Learning via Subtitling: Software & Processes for Developing Language Learning Material based on Film Subtitling (http://levis.cti.gr)
Learning via Subtitling (LvS) is a subtitling simulator designed for educational activities’ purposes. This software tool can be used by language teachers to create activities based on subtitling film-scenes, news, documentaries etc., and by FL learners to carry out these activities.

It allows the learner to view, rewind and forward the film, both with and without subtitles.
It allows the learner to view the instructions and other files necessary for the activity (information about the clip, the script, exercises, etc.)
It allows the learner to edit and manage the subtitles. Each subtitle line is divided in four columns where the subtitle’s data is viewed: Start time and End time (the temporal points in the clip when the subtitle text appears and disappears from the screen), Duration, and Subtitle text. The next two columns are for teacher and learner comments. The teacher can mark the subtitle line with an icon (“well done”, “warning” etc.) which when clicked takes the learners to the Notes area where they can read the teacher’s comment.
It allows the learner and the teacher to exchange feedback. It is divided in the general notes and the comments per subtitle. When a comment per subtitle is clicked, the “current time” of the clip is moved to the moment when the respective subtitle appears.
- Authoring mode (see Glossary in this tutorial)
- Importing (Packed activity, Video, Subtitles, Documents)
- Exporting (Packed activity with or without video, Subtitles, Documents)
- Student and Teacher general Notes and per subtitle Comments
- Multiple Documents in different tabs available
- Auto-resizing parts of the interface
- Option to write subtitle text directly under the player with simultaneous update of the subtitle grid
- Most recently used files list
- Buttons “Set subtitle start” and “Set subtitle end” modifying the Start time and End time of an existing subtitle
b) one or more documents: e.g. a powepoint presentation with the instructions, an MS Word document with an exercise.
c) a subtitle file – unless the activity requires the students to create their own subtitles.