Blog

newLisp challenge 2

Before we continue with Tutorial 5 on newLISP, let’s do now some exercises in newLISP programming. You’ve to solve some problems. To do so successfully, recall the contents of the first four tutorials on newLISP of mine. In addition, you can use this link for info on newLISP functions: http://www.newlisp.org/downloads/manual_frame.html Notice that for some problems […]

NewLisp for VisualNEO Win Part 4

In the previous tutorials we already met the most important newLISP data type, the list. A list is technically spoken a sequence of one or more elements, separated by one space and surrounded by balanced parentheses (notice that an empty list exists in newLISP also). Remember: The parentheses around a list identify a unit, which […]

NewLisp for VisualNEO Win Part 3

In newLISP, the data types strings, one-dimensional arrays and lists have a lot in common: they are all sequences of some elements – in a specific order. It is no surprise that many of the newLISP’s built-in functions can be applied to strings, arrays and lists. As the developer of newLISP, Lutz Mueller wrote: “Many […]

newLisp Challenge

Before we continue with Tutorial 3 on newLISP, let’s do now some exercises in newLISP programming. You’ve to solve some little problems. To do so successfully, recall the contents of the first two tutorials on newLISP of mine. In addition, you can use http://www.newlisp.org/downloads/manual_frame.html for info on newLISP functions. [Notice that for some problems one […]

This tutorial is about functions that test for simple conditions. More complicated tests can be made by combining functions and logical operators (not, and, or). NewLISP has so called predicates, that are functions that evaluate to TRUE or NIL after performing a test on its argument. As you know already, NIL is the newLISP equivalent […]

newlisp tutorial 1

newLISP has been compiled into a Windows DLL (dynamic link library): newLISP.dll. Hans Peter Wickern made a free VisualNeo Win plugin that makes it possible to use newLISP within your VisualNeo Win GUI application builder (download hpwNewLISP from https://visualneo.com/product/hpwnewlisp). Why to use newLISP? a. shorter and more efficient code, e.g. by combining functions in one […]

With version 19.4.5 and above, VisualNEO Web includes neoPhp Server as a tool. What’s neoPhp Server? neoPhp Server is a visual tool to integrate PHP built-in web server with VisualNEO Web. A web server is a program that uses HTTP (Hypertext Transfer Protocol) to serve the files that form Web pages to users, in response […]

windows command line in visualneo win

A few questions on the forum under General questions about VisualNEO Win were about Copy Folder with content and Delete All Files In Folder. They were answered in terms of the Windows Command Line using the VisualNeo command ‘Run‘. The Windows Command Line offers many commands that can be useful for you. Runing these commands […]

Clue Adventures Escape Room Games London - Control Panel Set Up - VisualNEO Win

Clue Adventures are an Escape Room Game company in London UK. They use VisualNeo Win and NeoDX to run their exciting games: From a custom built control panel they control the music, video and text that then appears on screens and is broadcast on speakers within the Escape Games themselves. They are also able to […]

do you know all about searchstr

To determine if two strings are equal, I always use the If statement in a VisualNeo app. However, there is an interesting alternative. Let’s compare the first n characters of two strings. Given: two strings SetVar “[s1]” “abcdef” SetVar “[s2]” “Abcxyz” Select the first three characters from [s1] and [s2] SubStr “[s1]” “1” “3” “[s1-extract]” […]

fileexists filelist visualneowin

Dear user, Here some thoughts about using the action command FileList as alternative to FileExists. Suppose, my music folder contains several files such as Bach-BWV545.mp3 Bach-BWV563.mp3 Bach-BWV564.mp4 Suppose further, that we make a VisualNeo Win program that checks if a specific file exists. For this task, VisualNeo has the action command FileExists: SetVar “[File]” “Bach-BWV545.mp3” […]

math expressions visualneo win

You probably know the use of math expressions in VisualNEO Win’s SetVar: SetVar “[z]” “10” SetVar “[z]” “[z]+1” However, math expressions can be used in e.g. the control commands If, IfEx, While, WhileEx and Loop also, resulting in shorter code. I did not find a post on this topic. So I made some examples for […]

how to embed a WeApp into any website

What’s embedding a WebApp? WebApps can be published independently or embedded into any other website. Take a look at this interactive content and try to click on the different text signs:  This is an embeded content from an independent WebApp, made with VisualNEO Web and published here: https://sinlios.com/apps/strongbox As you can see, the embedded […]

Check if a date is valid

Following up on the my post Check if a particular year is a LEAP year, here is a routine to check if a date is valid. By definition, a date is valid if all of these conditions are true … a) The year is an integer greater than or equal to 0 b) The month […]

leap year

By definition, a year is a LEAP year if all of these conditions are true … a) The number is a whole multiple of 4 b) If the number is a whole multiple of 100 it is also a whole multiple of 400 So, 1600 and 2000 are LEAP years … but 1700, 1800, 1900 […]

count down

If your VisualNEO Win application needs to display a count up (or down) of time elapsed (or remaining) … in hours, minutes and seconds … formated as HH:MM:SS … the idea/subroutine described below will help you to do this. First, create a Timer object called tc … configure it so … Start: is set to […]

Populate a ListBox from a text file

For ListBox (or ComboBox) objects whose contents (items) remain unchanged, you just type the items into the List Items field at Design time. However, there are times when you require a different set of items to be loaded into such Boxes every time the VisualNEO Win created application is run … or the items are […]

non-repetitive random selection of items from a list

Here, I described how you can make a random selection from a list of items … but there are times when you need to make such random selections without repeating any of the selections … this article details how you would go about implementing this with VisualNEO for Windows. In your App’s StartUp section … […]

random selection of items from a list

Often, in VisualNEO for Windows, there is a need to make a random selection from a list of items … e.g. a list of fruits or vegetables or countries etc. … this article details how you would go about implementing this with VisualNEO Win. In your pub’s StartUp section … code something like this … […]