Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
it's been so long I've forgotten some basics
I installed os3d on my computer from https://www.openspace3d.com/downloads/O … d%20Editor
I set the setup>:maintenance window in scol voyager to enable logs files>all, and I checked all the boxes except for "list scol extensions and allow the cache the choice between the full mode or minimal mode", which was greyed out
I set my antivirus program, webroot secure anywhere, to "allow" Scol.exe in C:\Program Files\Scol Voyager
I created a folder named "hello" in the Partition_LockedApp and in the Partition_LocalUsr and put the same two files, hello.scol and hello.pkg, in both of these folders in the "hello" folder.
hello.scol reads:
_load "hello/hello.pkg"
main ""
hello.pkg reads:
fun main()=
_showconsole;;
Windows is set to automatically open .scol files with Scol.exe in C:\Program Files\Scol Voyager
When I click on hello.scol, nothing happens. Any pointers?
the files are here
Thanks!
-Dan
Last edited by hebdemnobad (6-Oct-2024 15:28:47)
Offline
Hello, by default the console is disable.
Also the user partition is in my documents/Openspace3d
No need to duplicate the files in other partitions.
Offline
the console wouldn't start up until I used the voyager to open advanced>control panel, then I ran the hello.scol script, which opened a control panel window. I pressed "Console" , which showed the output on the console. I shut that instance of the voyager down, and now when run hello.scol, the console is displayed. good enough for me!
Offline
hi i have everything working now (.scol files get the .pkg files to run code, including showing the console)...however when I have an error in my code, the console won't display at all, and I can't seem to find the relevant log file for each individual .pkg run. any pointers are welcome.
-Dan
Offline
Hi hebdemnobad
Being a beginner on Scol I can't really help you but I am an intermediate in programming with plugins on OpenSpace3D and I would now like to learn programming in Scol in order to create my own plugins.
Offline
Hi hebdemnobad
Being a beginner on Scol I can't really help you but I am an intermediate in programming with plugins on OpenSpace3D and I would now like to learn programming in Scol in order to create my own plugins.
Study Huet's scol tutorial pdf and build the files he describes for the basic data types and structures and logic flow.
Also open up the .pkg files from the tutorials on redmine to see how scol creates ui objects, various built in classes, then learn how to make your own classes with the struct command and you will be on your way.
,
Offline
Can you give me the link to Huet's pdf on Scol?
I code in Scol on Notepad ++ but how do I run my Scol code unless OpenSpace3D offers an option for that.
Otherwise thanks for the advice. I will take the time to make them.
Offline
Can you give me the link to Huet's pdf on Scol?
I code in Scol on Notepad ++ but how do I run my Scol code unless OpenSpace3D offers an option for that.
Otherwise thanks for the advice. I will take the time to make them.
i think there was work on a plugit that could run arbitrary code at some point.
Link:
https://www.sylvain-huet.com/rsc/scol/T … 11_eng.pdf
I code scol with bluefish.
I think arkeon has scol syntax highlighting plugin for it... send me your email and I'll email it to you if you want it sooner.. The install instructions are on redmine.
Offline
I have never used BlueFish for coding but I should try it
It would be nice to have the Scol extension for BlueFish
Offline
send me a pm with your email in it, or send me an email from your profile page i'll send you the file
I have never used BlueFish for coding but I should try it
It would be nice to have the Scol extension for BlueFish
Offline
hi i have everything working now (.scol files get the .pkg files to run code, including showing the console)...however when I have an error in my code, the console won't display at all, and I can't seem to find the relevant log file for each individual .pkg run. any pointers are welcome.
-Dan
hi respectfully bumping
Offline
hi i have everything working now (.scol files get the .pkg files to run code, including showing the console)...however when I have an error in my code, the console won't display at all, and I can't seem to find the relevant log file for each individual .pkg run. any pointers are welcome.
-Dan
hi respectfully bumping
Offline
nevermind i found the log files in:
C:\Users\usernamewhatever\AppData\Local\Scol Voyager\Logs
Offline