Welcome to %s forums

BrainModular Users Forum

Login Register

Hollyhock & scpripting engine updates

I need help on a Patch
23fx23
Member
Posts: 2548

Unread post by 23fx23 » 11 Dec 2014, 15:33

Hi, sorry if it's has been mentioned already,

i have severals scripts doen with 5.8 no more working with hollyock i probably just need to tweak a bit.

I was wondering if there is some place with the updates/ references notes about what has changed, what should be done..

thx

sephult
Member
Posts: 1144

Unread post by sephult » 11 Dec 2014, 19:32

On the reference wiki there are some notes regarding differences in TStringLists and some V5 compatibility

http://www.sensomusic.org/wiki2/doku.ph ... de:scripts

I just dove into HH and never really did much with previous.
Dabbling was all I did back then with Usine, then HH came along and I cant let go :)
"Every act of creation is first an act of destruction." -Picasso

23fx23
Member
Posts: 2548

Unread post by 23fx23 » 11 Dec 2014, 19:42

heh^^ thanks sephult, will check. TBH me the reverse. was a lot with 5.8 and took me time to jump to HH, but now i feel it's the time.
so I have load of anterior scripts that give me errors when i made custom procedure calls like ie if after init i put "reset_my_matrix" it return error unless i put the "reset_my-matrix" procedure before init, wich i found strange ...but maybe needed now.. seems like all called proc should be BEFORE they are actually called?
anyway will investigate,.. thx!

sephult
Member
Posts: 1144

Unread post by sephult » 12 Dec 2014, 02:06

As far as the procedures yes I found that odd too. I am used to various programming and I tend to logically put my procedures in order at the bottom. However in those languages I believe they are defined in the beginning. Probably why the procedures must be put before, the Procedure or function probably is defined within the same context....so if called before the engine doesn't recognize.

If you need a second look or have a question let me know and I will do anything I can to help.
Always a learning process, I am constantly asking questions :)
-S
"Every act of creation is first an act of destruction." -Picasso

23fx23
Member
Posts: 2548

Unread post by 23fx23 » 12 Dec 2014, 12:41

yes i was like mm i really don't understand what's wrong and my girlfriend (that works in computer programming) said exactly that to me: put it all above, that code is strangly done. i was doubtfull but then it worked^^
thanks and yes cool if i can ask your advice in case :) see ya'

Post Reply