Quote from seanie on October 6, 2022, 1:12 amHi guys,
I hope this is allowed. I have not updated yet to VisualNeo (but planning on doing so in the near future).
My question is regarding an app which has a simple system for awarding points in a competition between two teams of students.
I have a PushButton with the caption 'A' that awards points to Team A with the following action:
SetVar "[Right]" "[Right] +1"
And on the page, I created a 'scoreboard' using an ellipse and [Right] (grouped) to display the team's points. (I have a similar PushButton for Team B with [Correct].)
That worked perfectly :)
The problem is that I copied the page, thinking that the points from Page 1 would carry over to Page 2, but they didn't. On Page 2, the 'scoreboard' was back to zero. I used the app in class anyway, because I just went low tech and wrote each page's total on the board (it sort of added to the 'drama' I suppose); but this defeats the purpose of computing.
So my question is how do I make each subsequent page (there are four in total) pick up the points from the previous page?
This probably a very basic and silly question, but the closest I've come to 'programming' is using your software and Excel :)
Thanks for your attention, and apologies to exclusive VisualNEO users. I promise I'll become one of you soon.
s
Hi guys,
I hope this is allowed. I have not updated yet to VisualNeo (but planning on doing so in the near future).
My question is regarding an app which has a simple system for awarding points in a competition between two teams of students.
I have a PushButton with the caption 'A' that awards points to Team A with the following action:
SetVar "[Right]" "[Right] +1"
And on the page, I created a 'scoreboard' using an ellipse and [Right] (grouped) to display the team's points. (I have a similar PushButton for Team B with [Correct].)
That worked perfectly :)
The problem is that I copied the page, thinking that the points from Page 1 would carry over to Page 2, but they didn't. On Page 2, the 'scoreboard' was back to zero. I used the app in class anyway, because I just went low tech and wrote each page's total on the board (it sort of added to the 'drama' I suppose); but this defeats the purpose of computing.
So my question is how do I make each subsequent page (there are four in total) pick up the points from the previous page?
This probably a very basic and silly question, but the closest I've come to 'programming' is using your software and Excel :)
Thanks for your attention, and apologies to exclusive VisualNEO users. I promise I'll become one of you soon.
s

Quote from Vadim on October 6, 2022, 7:57 am@seanie
Hi! For points to be added to the same variable, its name must be the same.
The idea of the project is still eluding me. Can you attach a pub file so we can better understand what is required?
Hi! For points to be added to the same variable, its name must be the same.
The idea of the project is still eluding me. Can you attach a pub file so we can better understand what is required?
Quote from seanie on October 6, 2022, 4:44 pmThank you, Vadim!
Your answer helped me figure out what I was doing wrong. What I needed to do was Duplicate the variable, instead of Copying the entire page.
I've attached an example (sans didactic content) of what I was doing before.
But I've now got it working the way I wanted.
Gratitude!
I do have a question regarding VisualNEO: As a long-time NeoBook user, will I find the actions/commands pretty similar?
Thanks again for your help. Much appreciated!
s
Thank you, Vadim!
Your answer helped me figure out what I was doing wrong. What I needed to do was Duplicate the variable, instead of Copying the entire page.
I've attached an example (sans didactic content) of what I was doing before.
But I've now got it working the way I wanted.
Gratitude!
I do have a question regarding VisualNEO: As a long-time NeoBook user, will I find the actions/commands pretty similar?
Thanks again for your help. Much appreciated!
s
Uploaded files:

Quote from Vadim on October 6, 2022, 6:59 pm@seanie
If everything works, there is no need for a demo file. I'm happy for your success!
As for VisualNEO Win, all your projects will open in VisualNEO Win without any problems. You will be able to update them. Thanks to the dedicated help of Hans-Peter (@hpw), VisualNEO Win now has commands, global variables and settings that were not previously available in NeoBook.
Note:
New VisualNEO Win commands have been added!
(Hooray for new features of our favorite programming environment!!!):
[+] GUID=Get GUID (global unique 128-bit identifier).
[+] FileRename=Rename external file.
[+] HashString=Get several different Hash strings from specified string.
[+] HashFile=Get several different Hash strings from a file or stream.
[+] IniWrite=Write a key and its value to an ini-file section.
[+] IniRead=Read the value from its key and section in the ini file.
[+] IniReadKeyList=Read (get) the full list of partition keys in the ini file.
[+] IniKeyDel=Remove key from section ini file.
[+] IniReadSectionList=Read (get) the list of all partitions in the ini file.
[+] PlayAction=Execute script (command or sequence of commands) from string variable or external text file.
[+] RegistryKeyDel=Remove key from Windows registry partition.
[+] RegistryReadKeyList=Read the list of keys of the Windows registry branch.
[+] RegistryReadSectionList=Read a list of all Windows registry hives.
[+] StrRegexIsMatch=Perform a regular expression and return True/False.
[+] StrRegexPos=Fill regular expression and return list with position and ?? length of found position (pairs "position - length").
[+] StrRegexList=Perform a regular expression and return the list.
[+] StrRegexSplit=Split a string with a regular expression.
[+] StrRegexReplace=Replace with a regular expression.
[+] StrRegexSubstitute=Substitute into a regular expression pattern string.
[+] UnZipToFiles=Unzip file or files from zip archive or zip stream.
[+] UnZipToMimeStream=Unzip a binary file from a zip file or zip stream into a MimeStream.
[+] UnZipToString=Decompress a string stored in a zip file or zip stream as a text file to a variable.
[+] ZipDeleteFiles=Delete file or files in a zip file or zip stream.
[+] ZipGetComment=Get the saved comment from the zip archive itself or file in the zip archive (from a file or stream).
[+] ZipFiles=Load a file or files into a zip archive. Password, compression level and encryption mode are available. If you specify [MimeStream] instead of file path, operations will be performed directly in RAM.
[+] ZipFileList=Get a list of files from a zip archive or zip stream. Allow wildcards (see help for details: https://winhelp.visualneo.com/Files1.html).
[+] ZipMimeStream=List the MimeStream to a binary file in a zip archive or zip stream.
[+] ZipRenameFile=Rename a file in a zip archive or zip stream.
[+] ZipSetHow=Set a comment for the zip archive itself or the file in the zip archive (in the file or stream).
[+] ZipString=Set a string to a text file in a zip archive.New global variables added:
[VisualNeoWinVersion]=VisualNEO Win current version (for example, 21.7.4)
[WindowsVerBuild]=Windows build number (for example: 19042)
[MimeStream]=Stores the path to the file currently in RAM, not on disk (this can be used as an alternative to temporary files stored on disk).
[*/*PluginFileList]=Hidden variable (not visible in debugger), containing paths to .nbp files of installed plug-ins (for example: D:\NeoBook 5\PlugIns\asUSBDevice\asUSBDevice.nbp).
[*/*PluginInfoList]=Hidden variable (not visible in debugger), which contains list of names and (through vertical slash) authors of installed plug-ins (for example: asUSBDevice|Andrei Solodyankin).
If everything works, there is no need for a demo file. I'm happy for your success!
As for VisualNEO Win, all your projects will open in VisualNEO Win without any problems. You will be able to update them. Thanks to the dedicated help of Hans-Peter (@hpw), VisualNEO Win now has commands, global variables and settings that were not previously available in NeoBook.
Note:
New VisualNEO Win commands have been added!
(Hooray for new features of our favorite programming environment!!!):
[+] GUID=Get GUID (global unique 128-bit identifier).
[+] FileRename=Rename external file.
[+] HashString=Get several different Hash strings from specified string.
[+] HashFile=Get several different Hash strings from a file or stream.
[+] IniWrite=Write a key and its value to an ini-file section.
[+] IniRead=Read the value from its key and section in the ini file.
[+] IniReadKeyList=Read (get) the full list of partition keys in the ini file.
[+] IniKeyDel=Remove key from section ini file.
[+] IniReadSectionList=Read (get) the list of all partitions in the ini file.
[+] PlayAction=Execute script (command or sequence of commands) from string variable or external text file.
[+] RegistryKeyDel=Remove key from Windows registry partition.
[+] RegistryReadKeyList=Read the list of keys of the Windows registry branch.
[+] RegistryReadSectionList=Read a list of all Windows registry hives.
[+] StrRegexIsMatch=Perform a regular expression and return True/False.
[+] StrRegexPos=Fill regular expression and return list with position and ?? length of found position (pairs "position - length").
[+] StrRegexList=Perform a regular expression and return the list.
[+] StrRegexSplit=Split a string with a regular expression.
[+] StrRegexReplace=Replace with a regular expression.
[+] StrRegexSubstitute=Substitute into a regular expression pattern string.
[+] UnZipToFiles=Unzip file or files from zip archive or zip stream.
[+] UnZipToMimeStream=Unzip a binary file from a zip file or zip stream into a MimeStream.
[+] UnZipToString=Decompress a string stored in a zip file or zip stream as a text file to a variable.
[+] ZipDeleteFiles=Delete file or files in a zip file or zip stream.
[+] ZipGetComment=Get the saved comment from the zip archive itself or file in the zip archive (from a file or stream).
[+] ZipFiles=Load a file or files into a zip archive. Password, compression level and encryption mode are available. If you specify [MimeStream] instead of file path, operations will be performed directly in RAM.
[+] ZipFileList=Get a list of files from a zip archive or zip stream. Allow wildcards (see help for details: https://winhelp.visualneo.com/Files1.html).
[+] ZipMimeStream=List the MimeStream to a binary file in a zip archive or zip stream.
[+] ZipRenameFile=Rename a file in a zip archive or zip stream.
[+] ZipSetHow=Set a comment for the zip archive itself or the file in the zip archive (in the file or stream).
[+] ZipString=Set a string to a text file in a zip archive.
New global variables added:
[VisualNeoWinVersion]=VisualNEO Win current version (for example, 21.7.4)
[WindowsVerBuild]=Windows build number (for example: 19042)
[MimeStream]=Stores the path to the file currently in RAM, not on disk (this can be used as an alternative to temporary files stored on disk).
[*/*PluginFileList]=Hidden variable (not visible in debugger), containing paths to .nbp files of installed plug-ins (for example: D:\NeoBook 5\PlugIns\asUSBDevice\asUSBDevice.nbp).
[*/*PluginInfoList]=Hidden variable (not visible in debugger), which contains list of names and (through vertical slash) authors of installed plug-ins (for example: asUSBDevice|Andrei Solodyankin).
Quote from seanie on October 6, 2022, 7:59 pmThanks for the reply, Vadim.
When you install VisualNEO, does it replace NeoBook on your computer, or does it run as a separate programme? In other words, can one keep and use both NeoBook and VisualNeo on the same computer?
s
Thanks for the reply, Vadim.
When you install VisualNEO, does it replace NeoBook on your computer, or does it run as a separate programme? In other words, can one keep and use both NeoBook and VisualNeo on the same computer?
s

Quote from Vadim on October 6, 2022, 8:11 pm@seanie
VisualNEO Win does not touch NeoBook during installation. You can leave NeoBook uninstalled yourself and install VisualNEO Win separately. They will not conflict. You can even use different sets of plugins or the same plugins in them. I have both programs installed.
VisualNEO Win does not touch NeoBook during installation. You can leave NeoBook uninstalled yourself and install VisualNEO Win separately. They will not conflict. You can even use different sets of plugins or the same plugins in them. I have both programs installed.
Quote from seanie on October 6, 2022, 8:17 pmThanks again for the quick reply.
That makes me more confident to go ahead and install VisualNEO :)
Take care!
s
Thanks again for the quick reply.
That makes me more confident to go ahead and install VisualNEO :)
Take care!
s